Update css/js + few configs

This commit is contained in:
2021-01-01 20:12:34 +01:00
parent 2cfa706a42
commit 85e9caebe4
95 changed files with 15754 additions and 16561 deletions

View File

@@ -1,4 +1,5 @@
#+TITLE: Installation
#+SETUPFILE: ./setup/org-setup-file.org
* Package Manager: yay
https://github.com/Jguer/yay
@@ -43,7 +44,7 @@ https://github.com/so-fancy/diff-so-fancy
*** Configuration
#+begin_src bash
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
#+end_src
** Credential Helper setup with Pass
@@ -513,7 +514,11 @@ https://github.com/mopidy/mopidy
https://medium.com/@theos.space/using-mopidy-with-spotify-and-ncmpcpp-44352f4a2ce8
#+begin_src bash
yay -S mopidy mopidy-spotify mopidy-mpd
yay -S mopidy
#+end_src
#+begin_src bash
python3 -m pip install --user mopidy-mpd mopidy-jellyfin mopidy-spotify
#+end_src
To update local files:
@@ -1056,10 +1061,11 @@ Stats about the printer
** Kernel Management
https://wiki.manjaro.org/index.php/Manjaro_Kernels
| Command | Usage |
|-------------------+--------------------------------|
| =mhwd-kernel -li= | Determine which kernel is used |
| | Change current kernel |
| Command | Usage |
|------------------------------------+---------------------------------------|
| =mhwd-kernel -li= | Determine which kernel is used |
| =sudo mhwd-kernel -i linux419= | Install new kernel |
| =sudo mhwd-kernel -i linux419 rmc= | Install new kernel and remove old one |
** Power Management Tool: Powertop
https://wiki.archlinux.org/index.php/Powertop
@@ -1257,7 +1263,7 @@ https://github.com/pimutils/vdirsyncer
*** Installation
#+begin_src bash
yay -S vdirsyncer
yay -S vdirsyncer python-requests-oauthlib
#+end_src
#+begin_src bash
@@ -1298,7 +1304,7 @@ https://github.com/pimutils/khal
khal import even.ics
#+end_src
* RSS Reader
* RSS Reader - newsboat
GUI Alternatives:
- http://www.rssowl.org/
- https://github.com/jangernert/FeedReader
@@ -1325,32 +1331,8 @@ https://newsboat.org/releases/2.12/docs/newsboat.html
*** CheatSheet
https://newsboat.org/releases/2.12/docs/newsboat.html#available-operations
* Task Manager
** OrgMode and Emacs
** Wunderline
https://itsfoss.com/linux-client-wunderlist/
http://wayneashleyberry.github.io/wunderline/
*** Installation
#+begin_src bash
yay -S wunderline
#+end_src
*** Cheatsheet
Add a task with:
- =wunderline add <task>=
| Options | Usage |
|-----------------+-------|
| =--today= | |
| =--tomorrow= | |
| =--note <note>= | |
Other commands:
- =wunderline inbox=
- =wunderline today=
* PDF Reader: Zathura
* Task Manager - Org Mode
* PDF Reader - Zathura
https://pwmt.org/projects/zathura/
** Installation
#+begin_src bash
@@ -1408,6 +1390,18 @@ pdfpc is a great tool for showing pdf presentations. It support:
pdfpc filename.pdf
#+end_src
* DisplayManager - None
Before, I was using lightDM, but a single tty is enough.
However, to make tools like Anydesk or Teamviewer to work:
Add "type=x11" in =/etc/pam.d/system-login=:
#+begin_src conf
-session optional pam_systemd.so type=x11
#+end_src
- When executing =loginctl session-status | grep Service= X11 should appear as initialized.
- =echo $XDG_SESSION_TYPE= should show =x11= instead of =tty= now
* Theme manager
The idea would be to have a command that changes the theme of all the system.
@@ -1469,7 +1463,6 @@ https://github.com/AuditeMarlow/base16-manager
This help changes many applications colors at once.
* Streaming - OBS
#+begin_src bash
yay -Ss obs-studio
#+end_src
@@ -1482,10 +1475,38 @@ http://dlaw.me/webcam-spoofing-with-obs/
sudo modprobe v4l2loopback exclusive_caps=1 video_nr=9
#+end_src
* Graphical Editor
* Use Android phone as webcam - Droidcam
#+begin_src bash
yay -S droidcam
#+end_src
Install and run droidcam on the Android phone.
Once both are connected to the same network, run the following command:
#+begin_src bash
droidcam-cli -v -size=1280x720 192.168.1.51 4747
#+end_src
It will create a new video device accessible for all kinds of applications.
To view the flux using mpv:
#+begin_src bash
mpv av://v4l2:/dev/video0
#+end_src
* Graphical Editor - Inskape
- https://inkscape.org/
- Tikz
* Remote Desktop - Anydesk
#+begin_src bash
yay -S anydesk-bin
#+end_src
* Wireguard
#+begin_src bash
yay -S wireguard-tools
#+end_src
* VPN Setup with NordVPN
https://aur.archlinux.org/packages/nordvpn-bin/
https://wiki.archlinux.org/index.php/NordVPN
@@ -1529,6 +1550,11 @@ https://nordvpn.com/fr/tutorials/linux/openvpn/
yay -S maim flameshot
#+end_src
** Show pressed keys
#+begin_src bash
yay -S screenkey
#+end_src
** File transfer
https://github.com/schollz/croc
@@ -1676,13 +1702,6 @@ Use =apack= and =aunpack=:
| =ethtooo eth0= | Tool to show ethernet status |
| =netstat -tulp= | List all active listening ports |
* Bash Snippets
** For loop
#+begin_src bash
for file in ./*; do
command ${file};
done
#+end_src
* Enable TRIM (SSD only)
#+begin_src bash
sudo systemctl enable --now fstrim.timer