From 50fcefa58ba8bb1fa36506c998660ff43ccefe83 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Mon, 1 Apr 2019 18:13:54 +0200 Subject: [PATCH] Update readme --- readme.html | 3998 +++++++++++++++++++++++++++++---------------------- readme.org | 77 +- 2 files changed, 2354 insertions(+), 1721 deletions(-) diff --git a/readme.html b/readme.html index e9064d7..857eccc 100644 --- a/readme.html +++ b/readme.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Dotfiles - Manjaro Linux on Macbook Pro @@ -204,7 +204,7 @@ @licstart The following is the entire license notice for the JavaScript code in this tag. -Copyright (C) 2012-2018 Free Software Foundation, Inc. +Copyright (C) 2012-2019 Free Software Foundation, Inc. The JavaScript code in this tag is free software: you can redistribute it and/or modify it under the terms of the GNU @@ -253,728 +253,763 @@ for the JavaScript code in this tag.

Table of Contents

- -
-

1 Ressources

+
+

1 Ressources

-
-

1.1 Dotfiles

+
+

1.1 Dotfiles

-
-

1.2 Linux Softwares

+ -
-

1.3 Macbook Pro

+
+

1.3 Macbook Pro

-
-

1.4 Ricing

+
+

1.4 Ricing

-
-

1.5 Others

+ -
-

1.6 TODO to read

+
+

1.6 TODO to read

http://www.howardism.org/Technical/Emacs/literate-devops.html @@ -1041,51 +1078,17 @@ for the JavaScript code in this tag.

-
-

2 TODO Make one org file for each configuration and reference from this file

+
+

2 Package Manager: yay

-
    -
  • [X] git
  • -
  • [X] termite
  • -
  • [X] bash
  • -
  • [X] tmux
  • -
  • [ ] emacs
  • -
  • [X] vim
  • -
  • [X] buku
  • -
  • [X] qutebrowser
  • -
  • [X] music
  • -
  • [X] mails
  • -
  • [X] ranger
  • -
  • [X] i3
  • -
  • [X] polybar
  • -
  • [X] compton
  • -
  • [X] dunst
  • -
  • [X] rofi
  • -
  • [X] zathura
  • -
  • [X] newsboat
  • -
-
-
- -
-

3 TODO Create a makefile or script to automatically tangle all the config files

- -
-
-

4 Package Manager: yay

- -
-

4.1 Installation

-
+
+

2.1 Installation

+
sudo pacman -S yay
 
@@ -1093,9 +1096,9 @@ for the JavaScript code in this tag.
-
-

4.2 CheatSheet

-
+
+

2.2 CheatSheet

+
@@ -1111,6 +1114,11 @@ for the JavaScript code in this tag. + + + + + @@ -1135,28 +1143,23 @@ for the JavaScript code in this tag. - - - - -
yayPerform system upgrade
yay -Ss <package> Searchyay -Yc <package> Clean unneeded dependencies
yay -Syu --devel --timeupdatePerform system upgrade
-
-

5 Git Setup

-
+
+

3 Git Setup

+ -
-

5.1 Installation

-
+
+

3.1 Installation

+
yay -S git
 
@@ -1164,9 +1167,9 @@ for the JavaScript code in this tag.
-
-

5.2 Configuration

-
+
+

3.2 Configuration

+
  • ~/.gitconfig
  • ~/.gitignore_global
  • @@ -1174,16 +1177,16 @@ for the JavaScript code in this tag.
-
-

5.3 Diff-So-Fancy

-
+
+

3.3 Diff-So-Fancy

+ -
-

5.3.1 Installation

-
+
+

3.3.1 Installation

+
yay -S diff-so-fancy
 
@@ -1191,24 +1194,24 @@ for the JavaScript code in this tag.
-
-

5.3.2 Configuration

-
+
+

3.3.2 Configuration

+
-
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
+
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
 
-
-

5.4 TODO Github interface - Hub

-
+
+

3.4 TODO Github interface - Hub

+
-
-

5.4.1 Installation

-
+
+

3.4.1 Installation

+
yay -S hub
 
@@ -1217,63 +1220,30 @@ for the JavaScript code in this tag.
-
-

5.5 Credential Helper setup with Pass

-
+
+

3.5 Credential Helper setup with Pass

+

-This is explained in a further part: Integration of Pass with Git. +This is explained in a further part: Integration of Pass with Git.

-
-

6 TODO Dotfile Manager: yadm

- - -
-

6.1 Installation

-
-
-
yay -S yadm-git
-
-
-
-
- - - -
-

6.3 TODO Switch from YADM to litterate dotfiles

-
-
-
-
-
-

7 Terminal

-
+
+

4 Terminal

+ -
-

7.1 Termite

-
+
+

4.1 Termite

+
-
-

7.1.1 Installation

-
+
+

4.1.1 Installation

+
yay -S termite
 
@@ -1281,18 +1251,18 @@ This is explained in a further part: Integration of Pass w
-
-

7.1.2 Configuration

-
+
+

4.1.2 Configuration

+
  • ~/.config/termite/config
-
-

7.1.3 Cheatsheet

-
+
+

4.1.3 Cheatsheet

+
@@ -1358,13 +1328,13 @@ This is explained in a further part: Integration of Pass w -
-

7.2 TODO Unicode Rxvt

-
+
+

4.2 TODO Unicode Rxvt

+
-
-

7.2.1 Installation

-
+
+

4.2.1 Installation

+
-
-

7.2.2 Configuration

-
+
+

4.2.2 Configuration

+

Most of Urxvt configuration is done in ~/.Xresources

@@ -1383,17 +1353,17 @@ Most of Urxvt configuration is done in ~/.Xresources
-
-

8 TODO Shell: Bash

-
+
+

5 TODO Shell: Bash

+
-
-

8.1 Bash Completion

-
+
+

5.1 Bash Completion

+
yay -S bash-completion
 
@@ -1401,9 +1371,9 @@ Most of Urxvt configuration is done in ~/.Xresources
-
@@ -1533,13 +1503,13 @@ This is used with rofi. -
-

10 TODO Fonts

-
+
+

7 TODO Fonts

+
-
-

10.1 Installation

-
+
+

7.1 Installation

+
yay -S ttf-inconsolata nerd-font-complete ttf-linux-libertine
 
@@ -1547,9 +1517,9 @@ This is used with rofi.
-
-

10.2 TODO Default fonts

-
+
+

7.2 TODO Default fonts

+

SauceCodePro Nerd Font Mono

@@ -1565,9 +1535,17 @@ Maybe use:
-
-

10.3 Emojis

-
+
+

7.3 Nice fonts

+ +
+
+

7.4 Emojis

+
yay -S ttf-emojione
 
@@ -1575,9 +1553,9 @@ Maybe use:
-
-

10.4 Cheatsheet

-
+
+

7.5 Cheatsheet

+
@@ -1603,21 +1581,21 @@ Maybe use: -
-

11 Text Editors

-
+
+

8 Text Editors

+
-
-

11.1 Neovim

-
+
+

8.1 Neovim

+ -
-

11.1.1 Installation

-
+
+

8.1.1 Installation

+
yay -S neovim
 
@@ -1625,18 +1603,18 @@ Maybe use:
-
-

11.1.2 Configuration

-
+
+

8.1.2 Configuration

+
-
-

11.1.3 Vim Anywhere with i3

-
+
+

8.1.3 Vim Anywhere with i3

+

https://github.com/cknadler/vim-anywhere

@@ -1652,18 +1630,18 @@ Then, add the following to the i3 config: bindsym $mod+t exec vim-anywhere
-
-

11.1.4 Matlab Setup

-
+ -
-

11.1.5 Ressources

-
+
+

8.1.5 Ressources

+
-
-

11.2 Emacs

-
+
+

8.2 Emacs

+ -
-

11.2.1 Installation

-
+
+

8.2.1 Installation

+
yay -S emacs
 
@@ -1691,9 +1669,9 @@ Then, add the following to the i3 config: bindsym $mod+t exec vim-anywhere
-
-

11.2.2 Emacs Client/Server

-
+
+

8.2.2 TODO Emacs Client/Server - I removed the systemd service to just run it with i3 startup

+

Add a systemd service to automatically run Emacs deamon in the background on startup: ~/.config/systemd/user/emacs.service @@ -1718,18 +1696,18 @@ Then, add a shortcut to i3 config to open an emacsclient.

-
-

11.2.3 Configuration

-
+
+

8.2.3 Configuration

+
-
-

11.2.4 SpellCheck with Aspell

-
+
+

8.2.4 SpellCheck with Aspell

+
yay -S aspell aspell-en aspell-fr
 
@@ -1739,33 +1717,33 @@ Then, add a shortcut to i3 config to open an emacsclient.
-
-

12 SSH setup

-
+
+

9 SSH setup

+
-
-

12.1 Generating a new SSH key

-
+
+

9.1 Generating a new SSH key

+
-
ssh-keygen -t rsa -b 4096 -C "dehaeze.thomas@gmail.com"
+
ssh-keygen -t rsa -b 4096 -C "dehaeze.thomas@gmail.com"
 
-
-

12.2 Start the ssh-agent in the background

-
+
+

9.2 Start the ssh-agent in the background

+
-
eval "$(ssh-agent -s)"
+
eval "$(ssh-agent -s)"
 
-
-

12.3 Add the SSH key to the ssh-agent

-
+
+

9.3 Add the SSH key to the ssh-agent

+
ssh-add ~/.ssh/id_rsa
 
@@ -1774,17 +1752,17 @@ Then, add a shortcut to i3 config to open an emacsclient.
-
-

13 GnuPG

-
+
+

10 GnuPG

+ -
-

13.1 Install the gnupg package:

-
+
+

10.1 Install the gnupg package:

+
yay -S gnupg
 
@@ -1792,9 +1770,9 @@ Then, add a shortcut to i3 config to open an emacsclient.
-
-

13.2 Create a key pair

-
+
+

10.2 Create a key pair

+
gpg --full-gen-key
 
@@ -1802,9 +1780,9 @@ Then, add a shortcut to i3 config to open an emacsclient.
-
-

13.3 Configure the gpg-agent to cache the passphrase

-
+
+

10.3 Configure the gpg-agent to cache the passphrase

+

Edit the following file ~/.gnupg/gpg-agent.conf

@@ -1817,17 +1795,17 @@ default-cache-ttl 60480000
-
-

14 Password Manager: Pass

-
+
+

11 Password Manager: Pass

+ -
-

14.1 Install the pass package

-
+
+

11.1 Install the pass package

+
yay -S pass
 
@@ -1835,13 +1813,13 @@ default-cache-ttl 60480000
-
-

14.2 TODO Connect the GPG key

+
+

11.2 TODO Connect the GPG key

-
-

14.3 Initialize the password store as a git repository

-
+
+

11.3 Initialize the password store as a git repository

+
pass git init
 pass git remote add origin https://github.com/tdehaeze/pass.git
@@ -1850,9 +1828,9 @@ pass git remote add origin https://github.com/tdehaeze/pass.git
 
-
-

14.4 Gui Manager

-
+
+

11.4 Gui Manager

+

https://github.com/IJHack/qtpass

@@ -1864,26 +1842,17 @@ pass git remote add origin https://github.com/tdehaeze/pass.git
-
-

14.5 IOs app

- -
- -
-

14.6 Integration with Rofi

-
+
+

11.5 Integration with Rofi

+ -
-

14.6.1 Installation

-
+
+

11.5.1 Installation

+
yay -S rofi-pass
 
@@ -1894,27 +1863,41 @@ Then we can add a shortcut to rofi-pass on i3 config.

+ +
+

11.5.2 Alternative

+
+

+https://github.com/ibizaman/pass-clip +

+ +
+
yay -S pass-clip
+
+
+
+
-
-

14.7 Integration with Browsers

-
+
+

11.6 Integration with Browsers

+

-This is explained here. +This is explained here.

-
-

14.8 Integration with Git

-
+
+

11.7 Integration with Git

+ -
-

14.8.1 Installation

-
+
+

11.7.1 Installation

+
yay -S pass-git-helper
 
@@ -1922,9 +1905,9 @@ This is explained here.
-
-

14.8.2 Configuration

-
+
+

11.7.2 Configuration

+

First, add the relation between repository addresses and entries in pass. This is done in the following config file .config/pass-git-helper/git-pass-mapping.ini:

@@ -1947,9 +1930,9 @@ Then, add the credential helper on the git configuration file ~/.gitconfig
-
-

14.9 Integration with other programs

-
+
+

11.8 Integration with other programs

+

Integrate pass in other programs is usually very easy, here are few examples:

@@ -1967,17 +1950,17 @@ Integrate pass in other programs is usually very easy, here are few examples:
-
-

15 Bookmark Manager: Buku

-
+
+

12 Bookmark Manager: Buku

+ -
-

15.1 Installation

-
+
+

12.1 Installation

+
yaourt -S buku
 
@@ -1985,17 +1968,17 @@ Integrate pass in other programs is usually very easy, here are few examples:
-
-

15.2 Integration with Rofi

-
+
+

12.2 Integration with Rofi

+ -
-

15.2.1 Installation

-
+
+

12.2.1 Installation

+
wget https://raw.githubusercontent.com/carnager/buku_run/master/buku_run -o ~/bin/buku_run
 chmod +x ~/bin/buku_run
@@ -2004,18 +1987,18 @@ chmod +x ~/bin/buku_run
 
-
-

15.2.2 Configuration

-
+
+

12.2.2 Configuration

+

The configuration file is here: ~/.config/buku_run/config

-
-

15.2.3 Key binding with i3

-
+
+

12.2.3 Key binding with i3

+

Custom key binding in i3 config file ~/.i3/config:

@@ -2027,18 +2010,18 @@ bindsym $mod+Shift+f exec --no-startup-id buku_run
-
-

15.3 Integration with qutebrowser

-
+
+

12.3 Integration with qutebrowser

+
-
-

15.4 Synchronization with a git repository

-
+
+

12.4 Synchronization with a git repository

+

The database is stored in ~/.local/share/buku/bookmarks.db.

@@ -2047,7 +2030,7 @@ The database is stored in ~/.local/share/buku/bookmarks.db. We initialize a git repository in this folder:

-
cd ~/.local/share/buku/bookmarks.db
+
cd ~/.local/share/buku/bookmarks.db
 git init
 
@@ -2068,9 +2051,9 @@ systemctl enable --user bukugit.timer
-
-

15.5 Import Bookmarks from Firefox and Chrome

-
+
+

12.5 Import Bookmarks from Firefox and Chrome

+

From Firefox, export the bookmarks as html file. Then import the bookmark file using buku -i bookmarks.html. @@ -2080,9 +2063,26 @@ To remove them, use: buku --replace '2018dec20' ''

-
-

15.6 Cheatsheet

-
+
+

12.6 Web Interface

+
+

+Run: +

+
+
bukuserver run --host 127.0.0.1 --port 5001
+
+
+ +

+And then browse to 127.0.0.1:5001. +

+
+
+ +
+

12.7 Cheatsheet

+
@@ -2126,19 +2126,29 @@ To remove them, use: buku --replace '2018dec20' ''
+ +
-
-

16 TODO Browser: qutebrowser

-
+
+

13 TODO Browser: qutebrowser

+ -
-

16.1 Installation

-
+
+

13.1 Installation

+
yay -S qutebrowser
 
@@ -2146,13 +2156,13 @@ To remove them, use: buku --replace '2018dec20' ''
-
-

16.2 View Pdf inside qutebrowser with pdfjs

-
+
+

13.2 View Pdf inside qutebrowser with pdfjs

+
-
-

16.2.1 Installation

-
+
+

13.2.1 Installation

+
yay -S pdfjs
 
@@ -2160,9 +2170,9 @@ To remove them, use: buku --replace '2018dec20' ''
-
-

16.2.2 Usage

-
+
+

13.2.2 Usage

+

When opening a pdf file on qutebrowser, you'll be ask for options:

@@ -2206,12 +2216,12 @@ When opening a pdf file on qutebrowser, you'll be ask for options:
-
-

16.3 TODO Make it default browser

+
+

13.3 TODO Make it default browser

-
-

16.4 Integration with Pass: the password manager

-
+
+

13.4 Integration with Pass: the password manager

+

Add the key-binding on ~/.config/qutebrowser/config.py

@@ -2227,9 +2237,9 @@ It is configured using the ~/.config/qutebrowser/password_fill_rc f
-
-

16.5 TODO Integration with Buku

-
+
+

13.5 TODO Integration with Buku

+

Custom key binding in ~/.config/qutebrowser/config.py

@@ -2240,40 +2250,45 @@ config.bind('B', 'spawn buku -a {url}')
-
-

16.5.1 TODO Add an option to specify title, modify url? add tags?

+
+

13.5.1 TODO Add an option to specify title, modify url? add tags?

-
-

16.6 TODO Sage Bookmarks to Emacs Org Mode

-
+ -
-

16.7 TODO Chromecast integration

-
-

-https://github.com/qutebrowser/qutebrowser/blob/master/misc/userscripts/cast -

+
+

13.7 TODO Cast youtube to chromecast

+
+
+

13.8 Spell Checking

+
+
+
/usr/share/qutebrowser/scripts/dictcli.py install fr-FR
+/usr/share/qutebrowser/scripts/dictcli.py install en-US
+
+
-
-

16.8 TODO Adblocker

-
+ -
-

16.9 TODO Ressources

-
+
+

13.10 TODO Ressources

+
@@ -2281,9 +2296,9 @@ config.bind('B', 'spawn buku -a {url}')
-
-

17 Monitors

-
+
+

14 Monitors

+ -
-

17.1 TODO cscreen script

+
+

14.1 TODO cscreen script

-
-

18 Music Setup

-
+
+

15 Music Setup

+
-
-

18.1 Sound Server - Pulse Audio

-
+ -
-

18.2 Audio Server - MPD

-
+
+

15.2 Audio Server - MPD

+
-
-

18.2.1 Installation

-
+
+

15.2.1 Installation

+
yay -S mpd
 
@@ -2335,9 +2350,9 @@ If sound is not working, should run pulseaudio --kill to kill the d
-
-

18.2.2 Automatic Startup

-
+
+

15.2.2 Automatic Startup

+
systemctl start --user mpd.service
 systemctl enable --user mpd.service
@@ -2346,9 +2361,9 @@ systemctl enable --user mpd.service
 
-
-

18.2.3 Command line interface to MPD - MPC

-
+
+

15.2.3 Command line interface to MPD - MPC

+

https://github.com/MusicPlayerDaemon/mpc

@@ -2387,17 +2402,27 @@ To install mpc: yay -S mpc.
-
-

18.3 MPD Client - ncmpcpp

-
+ + +
+

15.4 MPD Client - ncmpcpp

+ -
-

18.3.1 Installation

-
+
+

15.4.1 Installation

+
yay -S ncmpcpp
 
@@ -2405,9 +2430,9 @@ To install mpc: yay -S mpc.
-
-

18.3.2 Config

-
+
+

15.4.2 Config

+

The main config is located here: ~/.ncmpcpp/config. The key bindings can be configured here: ~/.ncmpcpp/bindings. @@ -2415,9 +2440,9 @@ The key bindings can be configured here: ~/.ncmpcpp/bindings.

-
-

18.3.3 Cheatsheet

-
+
+

15.4.3 Cheatsheet

+

https://pkgbuild.com/~jelle/ncmpcpp/

@@ -2440,17 +2465,17 @@ The key bindings can be configured here: ~/.ncmpcpp/bindings.
-
-

18.4 Library Manager - beets

-
+
+

15.5 Library Manager - beets

+ -
-

18.4.1 Installation

-
+
+

15.5.1 Installation

+
yay -S beets
 
@@ -2458,18 +2483,18 @@ The key bindings can be configured here: ~/.ncmpcpp/bindings.
-
-

18.4.2 Configuration

-
+
+

15.5.2 Configuration

+

Configuration folder: ~/.config/beets/

-
-

18.4.3 Cheatsheet

-
+
+

15.5.3 Cheatsheet

+
@@ -2496,17 +2521,17 @@ Configuration folder: ~/.config/beets/ -
-

19 TODO Movies

-
+
+

16 TODO Movies

+
-
-

19.1 Media Player - MPV

-
+
+

16.1 Media Player - MPV

+
-
-

19.1.1 Installation

-
+
+

16.1.1 Installation

+
yay -S mpv
 
@@ -2514,17 +2539,18 @@ Configuration folder: ~/.config/beets/
-
-

19.1.2 Key Bindings

-
+
+

16.1.2 Key Bindings

+

The configuration is set in /.config/mpv/input.conf.

-
-

19.1.3 TODO CheatSheet

-
+ +
+

16.1.3 TODO CheatSheet

+
@@ -2544,120 +2570,178 @@ The configuration is set in /.config/mpv/input.conf. -
-

19.2 Chromecast

-
+
+

16.2 TODO Chromecast with CATT

+ -
-

19.2.1 Installation

-
+
+

16.2.1 Installation

+
-
yay -S install castnow-git
+
yay -S catt
 
-
-

19.2.2 Cast from youtube

-
-
-
youtube-dl -o - https://youtu.be/BaW_jenozKc | castnow --quiet -
-
+
+

16.2.2 Usage to cast videos to chromecast

+
+
+ + +++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CommandUsage
catt cast "https://www.youtube.com/watch?v=dQw4w9WgXcQ"Cast youtube video
catt cast ./myvideo.mp4Cast local video
catt add ./myvideo.mp4Add a video to the queue
catt cast -s ./mysubtitle.srt /myvideo.mp4Add sub title
catt castsite https://en.wikipedia.org/wiki/RickrollingCast website
+
+
+ +
+

16.2.3 Usage for controlling the device

+
+ + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CommandUsage
ffwdFastforward a video by TIME duration
rewindRewind a video by TIME duration
seekSeek the video to TIME position
scanScan the local network and show all Chromecasts and their IPs
statusShow some information about the currently-playing video
pausePause a video
playResume a video after it has been paused
stopStop playing
skipSkip to end of content
saveSave the current state of the Chromecast for later use
restoreReturn Chromecast to saved state
volumeSet the volume to LVL [0-100]
volumedownTurn down volume by a DELTA increment
volumeupTurn up volume by a DELTA increment
-
-

19.2.3 Cast using local file

-
-
-
// start playback of a local video file
-castnow ./myvideo.mp4
-
-// start playback of video and mp3 files in the local directory
-castnow ./mydirectory/
-
-// playback 3 videos after each other
-castnow video1.mp4 video2.mp4 video3.mp4
-
+
+

16.3 TODO Popcorn Time or similar

-
-
- -
-

19.2.4 Cast from torrent

-
-
-
// start playback of an mp4 file over the web
-castnow http://commondatastorage.googleapis.com/gtv-videos-bucket/ED_1280.mp4
-
-// start playback of a video over torrent
-castnow <url-to-torrent-file OR magnet>
-
-// start playback of a video over torrent with local subtitles
-castnow <url-to-torrent-file OR magnet> --subtitles </local/path/to/subtitles.srt>
-
-
-
-
- -
-

19.2.5 TODO Cast from qutebrowser on youtube

-
-

-This is explained here: Chromecast integration. -

-
-
- -
-

19.2.6 Alternative - mkchromecast

- - -
-
19.2.6.1 Installation
-
-
-
yay -S mkchromecast
-
-
-
-
- -
-
19.2.6.2 TODO Usage
-
-
-
mkchromecast –video -i video.mkv
-
-
-
-
-
-
-
-

19.3 TODO Popcorn Time or similar

-
-
-

19.4 TODO Movie Collection Manager - Filebot

-
+
+

16.4 TODO Movie Collection Manager - Filebot

+

https://github.com/filebot/filebot This is paid software, I should uninstall it and find alternative

-
-

19.4.1 Installation

-
+
+

16.4.1 Installation

+
yay -S bilebot
 
@@ -2675,30 +2759,30 @@ You can simlink the java binary:
-
-

19.4.2 Usage

+
+

16.4.2 Usage

-
-

19.4.3 Configuration

-
+
+

16.4.3 Configuration

+

Configuration folder: ~/.config/filebot/

-
-

19.4.4 Documentation

-
+
+

16.4.4 Documentation

+
-
-

19.4.5 TODO Alternative

-
+
+

16.4.5 TODO Alternative

+

https://github.com/Sonarr/Sonarr https://github.com/Radarr/Radarr @@ -2708,26 +2792,26 @@ Configuration folder: ~/.config/filebot/

-
-

19.5 Subtitle Manager

-
+
+

16.5 Subtitle Manager

+
-
-

19.5.1 subdl

+
+

16.5.1 subdl

-
-

19.6 TODO Youtube

- -
-

20 TODO Contact Manager

-
+
+

17 TODO Contact Manager

+

https://wiki.archlinux.org/index.php/mutt#Contact_management https://gitlab.com/goobook/goobook @@ -2737,13 +2821,13 @@ Configuration folder: ~/.config/filebot/

-
-

20.1 GooBook - Contacts from Google

-
+
+

17.1 GooBook - Contacts from Google

+
-
-

20.1.1 Installation

-
+
+

17.1.1 Installation

+
yay -S goobook-git
 
@@ -2758,9 +2842,9 @@ And Then
-
-

20.1.2 Usage

-
+
+

17.1.2 Usage

+
goobook query name
 
@@ -2769,13 +2853,13 @@ And Then
-
-

20.2 TODO lbdb

-
+
+

17.2 TODO lbdb

+
-
-

20.2.1 Installation

-
+
+

17.2.1 Installation

+
yay -S lbdb
 
@@ -2784,12 +2868,12 @@ And Then
-
-

20.3 TODO Use Vdirsyncer for contact synchronization

+
+

17.3 TODO Use Vdirsyncer for contact synchronization

-
-

20.4 TODO Mu

-
+
+

17.4 TODO Mu

+

This looks for contacts in your emails. mu cfind <name> @@ -2797,25 +2881,25 @@ This looks for contacts in your emails.

-
-

20.5 TODO Integration with Mutt

+
+

17.5 TODO Integration with Mutt

-
-

21 TODO Chat Application

-
+
+

18 TODO Chat Application

+
-
-

21.1 Gui Chat Application - Franz

-
+
+

18.1 Gui Chat Application - Franz

+ -
-

21.1.1 Installation

-
+
+

18.1.1 Installation

+

Download the AppImage and run it.

@@ -2823,34 +2907,218 @@ Download the AppImage and run it.
-
-

21.2 TODO Terminal Based - Slack-Term

-
+
+

18.2 Weechat

+
+

+https://weechat.org/files/doc/stable/weechat_user.en.html +

+ +

+Installation +

+
+
yay -S weechat
+
+
+ +

+Then we install some dependencies +

+
+
yay -S tcl lua ruby
+
+
+ +

+Enable mouse support: +

+
+
/mouse enable
+
+
+
+ +
+

18.2.1 TODO Theme

+
+

+https://www.bfoliver.com/technology/2017/07/15/weechat/ +

+ +

+https://alexjj.com/blog/2016/9/setting-up-weechat/ +

+
+
/set weechat.look.prefix_same_nick "⤷"
+/set weechat.look.prefix_error "⚠"
+/set weechat.look.prefix_action "⚡"
+/set weechat.look.bar_more_down "▼▼"
+/set weechat.look.bar_more_left "◀◀"
+/set weechat.look.bar_more_right "▶▶"
+/set weechat.look.bar_more_up "▲▲"
+/set weechat.look.prefix_suffix "╡"
+/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
+/set weechat.color.separator 31
+/set buffers.color.current_fg 31
+/set buffers.color.current_bg white
+/set buffers.color.hotlist_message_fg 229
+/set buffers.color.hotlist_private_fg 121
+/set buffers.color.hotlist_highlight_fg 163
+/set buffers.color.number 239
+/set buffers.color.number_char 245
+/set weechat.bar.title.conditions "${inactive}"
+/set weechat.bar.title.color_fg black
+/set weechat.bar.title.color_bg 31         #Or white if 31 does nothing
+
+
+
+
+ + + +
+

18.2.3 Multi-line messages

+
+

+Solution is provided here: https://github.com/wee-slack/wee-slack/issues/118 +It uses multiline.pl script. +Then alt-enter is bound to insert a new line: +

+
+
/set plugins.var.perl.multiline.magic_paste_only on
+/key bind meta-ctrl-M /input insert \x0a
+
+
+

+And enter is bound to magic_enter that directly sends the message if its one line, and if its multiple line, waits a little bit and then sends the message: +

+
+
/key bind ctrl-M /input magic_enter
+
+
+
+
+ +
+

18.2.4 Send message using $EDITOR

+
+

+https://github.com/keith/edit-weechat +

+
+
mkdir -p ~/.weechat/python/autoload
+cd ~/.weechat/python/autoload
+wget https://raw.githubusercontent.com/keith/edit-weechat/master/edit.py
+
+
+ +

+Then, on weechat, type /edit. +

+
+
+ +
+

18.2.5 CheatSheet

+
+ + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CommandUsage
Ctlr-NNext channel
Ctlr-PPrevious channel
Esc-nToggle nicklist
alt-entNew line
+
+
+ +
+

18.2.6 Slack Integration

+
+

+https://github.com/wee-slack/wee-slack +

+ +

+Dependency: +

+
+
yay -S python2-websocket-client
+
+
+
+
+
+ +
+

18.3 TODO Terminal Based - Slack-Term

+ -
-

21.2.1 Installation

+
+

18.3.1 Installation

-
-

21.3 TODO Using Emacs

+
+

18.4 TODO Using Emacs

-
-

22 Redshift

-
+
+

19 Redshift

+ -
-

22.1 Installation

-
+
+

19.1 Installation

+
yay -S redshift
 
@@ -2859,22 +3127,22 @@ Download the AppImage and run it.
-
-

23 TODO Mail Setup

-
+
+

20 TODO Mail Setup

+
-
-

23.1 Synchronize Mailboxes - Mbsync

-
+
+

20.1 Synchronize Mailboxes - Mbsync

+ -
-

23.1.1 Installation

-
+
+

20.1.1 Installation

+
yay -S isync
 
@@ -2882,22 +3150,22 @@ Download the AppImage and run it.
-
-

23.1.2 TODO Configuration

-
+
+

20.1.2 TODO Configuration

+

~/.mbsyncrc

-
-

23.1.3 Automation using systemd

-
+
+

20.1.3 Automation using systemd

+
-
-
23.1.3.1 Retreive New mails
-
+
+
20.1.3.1 Retreive New mails
+
  • ~/scripts/checkmail.sh
  • ~/.config/systemd/user/checkmail.service
  • @@ -2912,9 +3180,9 @@ systemctl --user start checkmail.timer
-
-
23.1.3.2 Synchronize all the mailboxes
-
+
+
20.1.3.2 Synchronize all the mailboxes
+
  • ~/.config/systemd/user/syncmail.service
  • ~/.config/systemd/user/syncmail.timer
  • @@ -2928,9 +3196,9 @@ systemctl --user start syncmail.timer
-
-
23.1.3.3 Alternative
-
+
+
20.1.3.3 Alternative
+

https://github.com/rlue/little_red_flag

@@ -2938,9 +3206,9 @@ systemctl --user start syncmail.timer
-
-

23.1.4 Documentation

- -
-

23.2 Send Mails - Msmtp

-
+
+

20.2 Send Mails - Msmtp

+ -
-

23.2.1 Installation

-
+
+

20.2.1 Installation

+
yay -S msmtp
 
@@ -2967,18 +3235,18 @@ systemctl --user start syncmail.timer
-
-

23.3 Mail Indexer - Notmuch

-
+
+

20.3 Mail Indexer - Notmuch

+ -
-

23.3.1 Installation

-
+
+

20.3.1 Installation

+
yay -S notmuch
 
@@ -2986,18 +3254,18 @@ systemctl --user start syncmail.timer
-
-

23.3.2 Configuration

-
+
+

20.3.2 Configuration

+

Configuration file: ~/.notmuch-config

-
-

23.3.3 Cheatsheet

-
+
+

20.3.3 Cheatsheet

+
@@ -3028,26 +3296,26 @@ Configuration file: ~/.notmuch-config -
-

23.4 TODO Mail Index, Search and Tagging - Mu

-
+
+

20.4 TODO Mail Index, Search and Tagging - Mu

+
-
-

23.5 TODO Mail Client - NeoMutt

-
+
+

20.5 TODO Mail Client - NeoMutt

+ -
-

23.5.1 Installation

-
+
+

20.5.1 Installation

+
yay -S neomutt
 
@@ -3055,9 +3323,9 @@ Configuration file: ~/.notmuch-config
-
-

23.5.2 TODO Vim Bindings

-
+
+

20.5.2 TODO Vim Bindings

+

Unding toutes les touches (https://github.com/iagox86/mutt/blob/master/keybindings.conf) et rebind tout pour faire un truc coherent et documenté Rajouter les keybindings de vim https://github.com/neomutt/neomutt/issues/56#issuecomment-250780838 @@ -3065,12 +3333,12 @@ Rajouter les keybindings de vim -

23.5.3 TODO Mailcap configuration

+
+

20.5.3 TODO Mailcap configuration

-
@@ -3152,9 +3420,9 @@ First, tag the files you want to send using t, then ; -
@@ -3207,9 +3475,9 @@ First, tag the files you want to send using t, then ; -
-

23.5.14 TODO Integration with calendar application

-
+
+

20.5.14 TODO Integration with calendar application

+

http://jasonwryan.com/blog/2014/04/05/calendar/ https://gist.github.com/guiniol/5109c5bd953af950e0530b720507d704 @@ -3221,9 +3489,9 @@ First, tag the files you want to send using t, then ;

-
-

23.5.15 Ressources

-
+
+

20.5.15 Ressources

+
-
-

23.6 TODO Mu4e

+
+

20.6 TODO Mu4e

-
-

23.7 TODO Notification system

-
+
+

20.7 TODO Notification system

+

A script (~/scripts/checkmail.sh) is used to retreive new mails and use notify=send is there are new received mails.

@@ -3246,20 +3514,20 @@ A script (~/scripts/checkmail.sh) is used to retreive new mails and
-
-

24 TODO File Manager

-
+
+

21 TODO File Manager

+
-
-

24.1 TODO Ranger

-
+
+

21.1 TODO Ranger

+ -
-

24.1.1 Installation

-
+
+

21.1.1 Installation

+
yay -S ranger
 
@@ -3267,18 +3535,18 @@ A script (~/scripts/checkmail.sh) is used to retreive new mails and
-
-

24.1.2 Configuration

-
+
+

21.1.2 Configuration

+

The configuration file is ~/.config/ranger/rc.conf.

-
-

24.1.3 Display pdf

-
+
+

21.1.3 Display pdf

+

All the display of the files are defined in ~/.config/ranger/scope.sh.

@@ -3293,9 +3561,9 @@ It works better with Urxvt.
-
-

24.1.4 TODO Cheatsheet

-
+
+

21.1.4 TODO Cheatsheet

+
@@ -3326,18 +3594,18 @@ It works better with Urxvt. -
-

24.2 TODO nnn

-
+
+

21.2 TODO nnn

+ -
-

24.2.1 Installation

-
+
+

21.2.1 Installation

+
yay -S nnn
 
@@ -3346,9 +3614,9 @@ It works better with Urxvt.
-
-

24.3 TODO GUI File Manager: pcmanfm

-
+
+

21.3 TODO GUI File Manager: pcmanfm

+

https://wiki.archlinux.org/index.php/PCManFM

@@ -3356,20 +3624,55 @@ It works better with Urxvt.
-
-

25 TODO Image viewer

-
+
+

22 TODO Image viewer

+
-
-

25.1 Feh - Minimal Image Viewer

-
+
+

22.1 TODO Write a script to open any type of image using the corresponding program

+
+
+ + +++ ++ ++ ++ + + + + + + + + + + + + + + + + +
Filetypepngpdfsvg
Programfehzathurainkview
+
+
+ +
+

22.2 Feh - Minimal Image Viewer

+ -
-

25.1.1 Installation

-
+
+

22.2.1 Installation

+
yay -S feh
 
@@ -3377,9 +3680,9 @@ It works better with Urxvt.
-
-

25.1.2 Cheatsheet

-
+
+

22.2.2 Cheatsheet

+
@@ -3425,16 +3728,16 @@ It works better with Urxvt. -
-

25.2 TODO Vimiv

-
+
+

22.3 TODO Vimiv

+ -
-

25.2.1 Installation

-
+
+

22.3.1 Installation

+
yay -S vimiv
 
@@ -3442,9 +3745,9 @@ It works better with Urxvt.
-
-

25.2.2 TODO Cheatsheet

-
+
+

22.3.2 TODO Cheatsheet

+

http://karlch.github.io/vimiv/docs/keybindings_commands#keybinding-cheatsheet

@@ -3467,17 +3770,17 @@ It works better with Urxvt.
-
-

25.3 TODO sxiv

-
+
+

22.4 TODO sxiv

+ -
-

25.3.1 Installation

-
+
+

22.4.1 Installation

+
yay -S sxiv
 
@@ -3487,13 +3790,13 @@ It works better with Urxvt.
-
-

26 TODO Windows Manager - i3

-
+
+

23 TODO Windows Manager - i3

+
-
-

26.1 TODO Installation

-
+
+

23.1 TODO Installation

+
yay -S i3-gaps
 
@@ -3501,9 +3804,9 @@ It works better with Urxvt.
-
-

26.2 TODO Packages to install/understand

-
+
+

23.2 TODO Packages to install/understand

+

artwork-i3 i3-wallpapers @@ -3511,31 +3814,31 @@ i3-wallpapers

-
-

26.3 TODO Configuration

-
+
+

23.3 TODO Configuration

+

~/.i3/config

-
-

26.4 TODO Specific config per workspace

-
+
+

23.4 TODO Specific config per workspace

+

https://github.com/i3/i3/blob/next/contrib/per-workspace-layout.pl For instance, default to tabbed windows for workspace dealing with matlab figures.

-
-

26.4.1 Figures / Matlab

+
+

23.4.1 Figures / Matlab

-
-

26.5 TODO Scratchpad

-
+
+

23.5 TODO Scratchpad

+

This mode is activated using cmd-s.

@@ -3578,9 +3881,9 @@ To close the current Scratchpad, use cmd-bsp
-
-

26.6 TODO CheatSheet

-
+
+

23.6 TODO CheatSheet

+
@@ -3600,17 +3903,17 @@ To close the current Scratchpad, use cmd-bsp -
-

27 TODO Custom bar - Polybar

-
+
+

24 TODO Custom bar - Polybar

+ -
-

27.1 Installation

-
+
+

24.1 Installation

+
yay -S polybar
 
@@ -3618,9 +3921,9 @@ To close the current Scratchpad, use cmd-bsp
-
-

27.2 TODO Configuration

-
+
+

24.2 TODO Configuration

+

~/.config/polybar/config

@@ -3631,9 +3934,9 @@ Polybar is launched automatically from i3 config.
-
-

27.3 TODO Add custom modules

-
+
+

24.3 TODO Add custom modules

+
  • [ ] show passwords
  • [ ] show bibliography
  • @@ -3644,9 +3947,9 @@ Polybar is launched automatically from i3 config.
-
-

27.4 Display unread emails

-
+
+

24.4 Display unread emails

+

Let's say we want to display unread emails, and when clicking on that we open our mail client.

@@ -3669,66 +3972,90 @@ A custom script ~/.config/polybar/scripts/unread_mails.sh is just r
-
-

27.5 TODO Create multiple bars

-
+ -
-

27.6 TODO Add Conky to polybar

+
+

24.6 TODO Add Conky to polybar

-
-

28 TODO Compositor - Compton

-
+
+

25 TODO Compositor - Compton

+ -
-

28.1 Installation

+
+

25.1 Installation

+
+
+
yay -S compton
+
-
-

28.2 TODO Configuration

-
+
+
+ +
+

25.2 TODO Configuration

+

~/.config/compton.conf

-
-

28.3 Automatic run as daemon

-
+
+

25.3 GUI Configuration

+
+

+To install: +

+
+
yay -S compton-conf
+
+
+ +

+Then run compton-conf +

+
+
+ +
+

25.4 Automatic run as daemon

+

Compton is run from i3 config in the background (-b option)

-
exec --no-startup-id compton -b
+
exec --no-startup-id compton -b
 
-
-

29 TODO Notification Manager - Dunst

-
+
+

26 TODO Notification Manager - Dunst

+ -
-

29.1 Installation

-
+
+

26.1 Installation

+
yay -S dunst
 
@@ -3736,18 +4063,18 @@ Compton is run from i3 config in the background (-b option)
-
-

29.2 Configuration

-
+
+

26.2 Configuration

+

~/.config/dunst/dunstrc

-
-

29.3 TODO Special notifications

-
+
+

26.3 TODO Special notifications

+
  • [ ] Mails
  • [ ] New messages on slack
  • @@ -3755,25 +4082,54 @@ Compton is run from i3 config in the background (-b option)
-
-

29.4 TODO How to merge similar notifications like new mails?

+
+

26.4 TODO How to merge similar notifications like new mails?

-
-

30 Managing Theme

-
+
+

27 Office Suite - LibreOffice

+
+
+
yay -S libreoffice-fresh
+
-
-

30.1 GTK Themes

-
+
+
+ +
+

28 SpreadSheet - SC-IM

+
+

+https://github.com/andmarti1424/sc-im +https://www.youtube.com/watch?v=K_8_gazN7h0 +

+ +

+It permits to open Excel files on the terminal very quickly. +

+ +
+
yay -S sc-im
+
+
+
+
+ +
+

29 Managing Theme

+
+
+
+

29.1 GTK Themes

+

Gtk2 themes are managed using the file ~/.gtkrc-2.0 while Gtk3 themes are managed using ~/.config/gtk-3.0/settings.ini.

-
-

30.1.1 Gui Manager

-
+
+

29.1.1 Gui Manager

+

To customize the look of the system using GUI application, run lxappearance.

@@ -3788,9 +4144,9 @@ Installation:
-
-

30.1.2 Icons and themes

-
+
+

29.1.2 Icons and themes

+
yay -S zukitwo-themes faenza-icon-theme
 
@@ -3799,18 +4155,18 @@ Installation:
-
-

30.2 QT Themes

-
+
+

29.2 QT Themes

+

Run qt5ct to manage QT Themes.

-
-

30.3 XFT Themes

-
+
+

29.3 XFT Themes

+

Some configuration are located in ~/.Xresources.

@@ -3818,17 +4174,17 @@ Some configuration are located in ~/.Xresources.
-
-

31 Launcher - Rofi

-
+
+

30 Launcher - Rofi

+ -
-

31.1 Installation

-
+
+

30.1 Installation

+
yay -S rofi
 
@@ -3836,9 +4192,9 @@ Some configuration are located in ~/.Xresources.
-
-

31.2 Setup rofi as a dmenu replacement

-
+
+

30.2 Setup rofi as a dmenu replacement

+

Setup rofi as a dmenu replacement in ~/.i3/config:

@@ -3848,9 +4204,9 @@ bindsym $mod+d exec --no-startup-id rofi -show run
-
-

31.3 Run sudo commands with rofi

-
+
+

30.3 Run sudo commands with rofi

+

https://github.com/DaveDavenport/rofi/issues/584#issuecomment-384555551

@@ -3863,7 +4219,7 @@ Use sudo -A, that will open a rofi prompt to ask for the password. For that to work, we need to add the following code to ~/.profile:

-
export SUDO_ASKPASS=~/bin/askpass-rofi
+
export SUDO_ASKPASS=~/bin/askpass-rofi
 
@@ -3871,38 +4227,38 @@ For that to work, we need to add the following code to ~/.profile: The askpass script is:

-
#!/bin/sh
+
#!/bin/sh
 
-# Take password prompt from STDIN, print password to STDOUT
-# the sed piece just removes the colon from the provided
-# prompt: rofi -p already gives us a colon
-rofi -dmenu \
-  -password \
-  -no-fixed-num-lines \
-  -p "$(printf "$1" | sed s/://)"
+# Take password prompt from STDIN, print password to STDOUT
+# the sed piece just removes the colon from the provided
+# prompt: rofi -p already gives us a colon
+rofi -dmenu \
+  -password \
+  -no-fixed-num-lines \
+  -p "$(printf "$1" | sed s/://)"
 
-
-

32 TODO Advanced config

-
+
+

31 TODO Advanced config

+
-
-

32.1 TODO Deactivate startup mac sound

-
+
+

31.1 TODO Deactivate startup mac sound

+
-
sudo nvram SystemAudioVolume=%80
+
sudo nvram SystemAudioVolume=%80
 
-
-

32.2 TODO Webcam

-
+
+

31.2 TODO Webcam

+

https://github.com/patjak/bcwc_pcie/wiki/Get-Started

@@ -3913,44 +4269,62 @@ Explain how this is working now
-
-

32.3 TODO Trackpad

-
+
+

31.3 TODO Trackpad

+

The configuration is here: /etc/X11/xorg.conf.d/30-touchpad.conf

-
-

32.4 TODO Startup programs

-
+
+

31.4 TODO Startup programs

+
-
-

32.5 TODO Printer

-
+
+

31.5 TODO Printer

+ - -
-

32.5.1 TODO How to store pin number for the printer?

+
+

31.5.1 Check and Clear the Queue

+
+

+Check the queue +

+
+
lpq
+lpq -a # on all queues
+
-
-

32.5.2 TODO CheatSheet

-
+

+Clear the queue +

+
+
lprm   # remove last entry only
+lprm - # remove all entries
+
+
+
+
+ +
+

31.5.2 TODO CheatSheet

+
@@ -3970,17 +4344,17 @@ Should I use i3 or systemd for that? -
-

32.6 TODO Kernel Management

-
+
+

31.6 TODO Kernel Management

+ -
-

32.6.1 TODO Cheatsheet

-
+
+

31.6.1 TODO Cheatsheet

+
@@ -4002,7 +4376,7 @@ Should I use i3 or systemd for that? - + @@ -4011,18 +4385,18 @@ Should I use i3 or systemd for that? -
-

32.7 TODO Power Consumption

-
+ -
-

32.8 TODO Power Management Tool: TLP and Powertop

-
+
+

31.8 TODO Power Management Tool: TLP and Powertop

+
-
-

32.9 TODO Suspend / Hibernate

-
+
+

31.9 TODO Suspend / Hibernate

+ -
-

32.9.1 Current behavior

-
+
+

31.9.1 Current behavior

+

Actually, it seems that the first suspend is working. After that the macbook go out of the suspend after few seconds

@@ -4063,9 +4437,9 @@ Actually, it seems that the first suspend is working. After that the macbook go
-
-

32.10 TODO Lid open/close

-
+
+

31.10 TODO Lid open/close

+

Should automatic show lock screen

@@ -4076,9 +4450,9 @@ Should automatic show lock screen
-
-

32.11 TODO Mount devices

-
+
+

31.11 TODO Mount devices

+
@@ -4091,13 +4465,13 @@ AUR package: bash mount
-
-

32.12 TODO NAS Synology

-
+
+

31.12 TODO NAS Synology

+
-
-

32.12.1 Script to mount and umount

-
+
+

31.12.1 Script to mount and umount

+

https://blog.whabash.com/posts/mounting_synology_nas_shared_folder_nfs_ubuntu_16_10 ~/bin/nas @@ -4105,17 +4479,17 @@ AUR package: bash mount

-
-

32.12.2 TODO Automatic Backup of folders?

-
+
+

31.12.2 TODO Automatic Backup of folders?

+

AUR package: synology backup

-
-

32.12.3 TODO Automatic Mount of NAS folder

-
+
+

31.12.3 TODO Automatic Mount of NAS folder

+

https://wiki.archlinux.org/index.php/NFS https://hoarding.me/rclone-scripts/ @@ -4123,13 +4497,13 @@ AUR package: synology backup

-
-

32.12.4 TODO Install beets on the nas?

+
+

31.12.4 TODO Install beets on the nas?

-
-

32.13 TODO Format disks

-
+
+

31.13 TODO Format disks

+

https://gparted.org/

@@ -4140,38 +4514,38 @@ AUR package: synology backup
-
-

32.14 TODO Bluetooth

-
+
+

31.14 TODO Bluetooth

+ -
-

32.14.1 TODO Bluetooth mouse MX Anywhere

-
+ -
-

32.14.2 TODO Bluetooth headset

+
+

31.14.2 TODO Bluetooth headset

-
-

32.15 TODO Wifi

-
+ -
-

32.16 TODO Temperature and Fan control

-
+
+

31.16 TODO Temperature and Fan control

+

https://github.com/dgraziotin/mbpfan https://0xadada.pub/2016/03/05/install-encrypted-arch-linux-on-apple-macbook-pro/#fine-tuning @@ -4179,13 +4553,13 @@ Fan are controlled by mbpfan. The config file is /etc/mbpfan.conf

-
# Enable Automated Power Regulation
+
# Enable Automated Power Regulation
 sudo pacman -S tlp
 sudo systemctl enable tlp
 sudo systemctl enable tlp-sleep
 sudo tlp start
 
-# Enable thermald (overheat shutoff)
+# Enable thermald (overheat shutoff)
 yaourt -S thermald
 sudo systemctl enable thermald
 sudo systemctl start thermald
@@ -4194,34 +4568,34 @@ sudo systemctl start thermald
 
-
-

32.17 TODO Refind / Grub

-
+
+

31.17 TODO Refind / Grub

+ -
-

32.17.1 TODO Switch from Refind to Grub

- -
-

32.18 TODO Lock Screen

-
+
+

31.18 TODO Lock Screen

+ -
-

32.18.1 Installation

-
+
+

31.18.1 Installation

+
yay -S betterlockscreen
 
@@ -4231,13 +4605,13 @@ sudo systemctl start thermald
-
-

33 TODO LaTeX

-
+
+

32 TODO LaTeX

+
-
-

33.1 Installation

-
+
+

32.1 Installation

+
yay -S texlive-most
 
@@ -4261,9 +4635,9 @@ Support for source code using minted:
-
-

33.2 Personnal classes/packages

-
+
+

32.2 Personnal classes/packages

+

Every custom class or packages can be put under ~/texmf/tex/latex/local/ folder.

@@ -4274,17 +4648,17 @@ In order for LaTeX to be aware of new packages/classes, run sudo texhash
-
-

33.3 TODO From screenshot to latex math formula

-
+
+

32.3 TODO From screenshot to latex math formula

+ -
-

33.3.1 Installation

-
+
+

32.3.1 Installation

+
yay -S mathpix-snipping-tool
 
@@ -4292,9 +4666,9 @@ In order for LaTeX to be aware of new packages/classes, run sudo texhash
-
-

33.3.2 Usage

-
+
+

32.3.2 Usage

+

First, you have to run mathpix-snipping-tool. That will add something in the tray.

@@ -4305,14 +4679,14 @@ Then, use <ctrl><alt>m and then select a part of the sc
-
-

33.3.3 TODO Think of a better way to run that program. Maybe disable the tray icon and add some polybar script that automatically run the program, and ask for selection of the screen.

+
+

32.3.3 TODO Think of a better way to run that program. Maybe disable the tray icon and add some polybar script that automatically run the program, and ask for selection of the screen.

-
-

33.4 TODO Custom script to select latex symbol

-
+
+

32.4 TODO Custom script to select latex symbol

+

https://github.com/superluserdo/Latex-picker Maybe use that script for other things? @@ -4320,9 +4694,9 @@ Maybe use that script for other things?

-
-

33.5 Awesome LaTeX

-
+
+

32.5 Awesome LaTeX

+

file:~/.config/dotfiles/awesome/latex.org

@@ -4330,21 +4704,21 @@ Maybe use that script for other things?
-
-

34 Mathematical Software

-
+
+

33 Mathematical Software

+
-
-

34.1 Insect

-
+
+

33.1 Insect

+ -
-

34.1.1 Installation

-
+
+

33.1.1 Installation

+
yay -S insect
 
@@ -4352,9 +4726,9 @@ Maybe use that script for other things?
-
-

34.1.2 Usage

-
+
+

33.1.2 Usage

+
==  Change current kernel
@@ -4380,17 +4754,17 @@ Maybe use that script for other things? -
-

34.2 Matlab

-
+
+

33.2 Matlab

+ -
-

34.2.1 Installation

-
+
+

33.2.1 Installation

+
yay -S matlab
 
@@ -4399,18 +4773,18 @@ Maybe use that script for other things?
-
-

34.3 SageMath

-
+
+

33.3 SageMath

+ -
-

34.3.1 Installation

-
+
+

33.3.1 Installation

+
yay -S sagemath
 
@@ -4418,18 +4792,18 @@ Maybe use that script for other things?
-
-

34.3.2 Usage

-
+
+

33.3.2 Usage

+

Run sage -n jupyter to run jupyter notebooks

-
-

34.3.3 Documentation

-
+ -
-

35 TODO Cloud Backup / Sync - Rclone

-
+
+

34 TODO Cloud Backup / Sync - Rclone

+

https://github.com/ncw/rclone https://rclone.org/docs/ @@ -4454,9 +4828,9 @@ Rclone is used to manage the online drives like Google Drive and Dropbox.

-
-

35.1 Installation

-
+
+

34.1 Installation

+
yay -S rclone
 
@@ -4464,9 +4838,9 @@ Rclone is used to manage the online drives like Google Drive and Dropbox.
-
-

35.2 Cheatsheet

-
+
+

34.2 Cheatsheet

+
@@ -4531,9 +4905,9 @@ Rclone is used to manage the online drives like Google Drive and Dropbox. -
-

35.3 Usefull commands

-
+
+

34.3 Usefull commands

+
@@ -4567,9 +4941,9 @@ Rclone is used to manage the online drives like Google Drive and Dropbox.
-
-

35.3.1 Progress bar for long synchronizations

-
+
+

34.3.1 Progress bar for long synchronizations

+

Use --progress --stats-one-line.

@@ -4578,36 +4952,40 @@ Use --progress --stats-one-line.
-
-

36 Download Manager

-
+
+

35 Download Manager

+
-
-

36.1 CLI Download Manager - Aria2

-
+
+

35.1 TODO CLI Download Manager - Aria2

+
-
-

36.1.1 Installation

-
+
+

35.1.1 Installation

+
yay -S aria2
 
+
+

35.1.2 Usage

-
-

36.2 TODO Torrent Client - deluge

-
+
+ +
+

35.2 TODO Torrent Client - deluge

+ -
-

36.2.1 Installation

-
+
+

35.2.1 Installation

+
yay -S deluge
 
@@ -4615,18 +4993,18 @@ Use --progress --stats-one-line.
-
-

36.2.2 Configuration

-
+
+

35.2.2 Configuration

+

~/.config/deluge/

-
-

36.2.3 Command Line Interface

-
+
+

35.2.3 Command Line Interface

+

https://whatbox.ca/wiki/deluge_console_documentation

@@ -4638,18 +5016,18 @@ Then run the CLI client using deluge-console.
-
-

36.2.4 GUI Client

-
+
+

35.2.4 GUI Client

+

deluge

-
-

36.2.5 Alternatives

-
+
+

35.2.5 Alternatives

+

https://github.com/rakshasa/rtorrent https://webtorrent.io/ @@ -4658,68 +5036,110 @@ Then run the CLI client using deluge-console.

-
-

36.3 TODO CLI Torrent Client - btpd

-
+
+

35.3 TODO CLI Torrent Client - btpd

+
+ +
+

35.4 TODO Youtube-dl

+
+
+
yay -S youtube-dl
+
+
+
+
+

35.4.1 Download best audio

+
+
+
youtube-dl -f bestaudio url
+
+
+
-
-

37 TODO Default Applications

-
+
+

35.4.2 Download best video with audio

+
+
+
youtube-dl -f best url
+
+
+
+
+ +
+

35.4.3 Download playlist

+
+
+
+ +
+

36 TODO Default Applications

+ -
-

37.1 Mailcap file

+
+

36.1 Mailcap file

-
-

37.2 TODO XDG-OPEN

-
+
+

36.2 TODO XDG-OPEN

+

~/.config/mimeapps.list

-
-

37.3 TODO Make QuteBrowser the default browser

+
+

36.3 TODO Make QuteBrowser the default browser

-
-

38 TODO Desktop files

-
+
+

37 TODO Desktop files

+

~/.local/share/applications/

-
-

39 TODO Bibliography Management

-
+
+

38 TODO Bibliography Management

+ -
-

39.1 Papis

-
+ + +
+

38.2 Papis

+ -
-

39.1.1 Installation

-
+
+

38.2.1 Installation

+
sudo pip3 install papis
 
@@ -4729,17 +5149,17 @@ Then run the CLI client using deluge-console.
-
-

40 TODO Calendar

-
+
+

39 TODO Calendar

+
-
-

40.1 TODO Vdirsyncer - Sync calendars

-
+
+

39.1 TODO Vdirsyncer - Sync calendars

+
-
-

40.1.1 Installation

-
+
+

39.1.1 Installation

+
yay -S vdirsyncer
 
@@ -4752,9 +5172,9 @@ Then run the CLI client using deluge-console.
-
-

40.1.2 Cheatsheet

-
+
+

39.1.2 Cheatsheet

+
@@ -4779,9 +5199,9 @@ Then run the CLI client using deluge-console. -
-

40.1.3 Automation - Systemd

-
+
+

39.1.3 Automation - Systemd

+

http://vdirsyncer.pimutils.org/en/stable/tutorials/systemd-timer.html?highlight=systemd

@@ -4803,17 +5223,17 @@ To check the status of the service:
-
-

40.2 TODO Calendar Client - Khal

-
+
+

39.2 TODO Calendar Client - Khal

+ -
-

40.2.1 Installation

-
+
+

39.2.1 Installation

+
yay -S khal
 
@@ -4821,9 +5241,9 @@ To check the status of the service:
-
-

40.2.2 TODO Cheatsheet

-
+
+

39.2.2 TODO Cheatsheet

+
@@ -4843,18 +5263,18 @@ To check the status of the service: -
-

40.3 TODO Calendar Client - Calcurse

-
+
+

39.3 TODO Calendar Client - Calcurse

+ -
-

40.3.1 Installation

-
+
+

39.3.1 Installation

+
yay -S calcurse
 
@@ -4863,9 +5283,9 @@ To check the status of the service:
-
-

40.4 TODO gcalcli

-
+
+

39.4 TODO gcalcli

+

https://github.com/insanum/gcalcli

@@ -4873,31 +5293,31 @@ To check the status of the service:
-
-

41 TODO Presentation software

-
+
+

40 TODO Presentation software

+
-
-

41.1 Beamer

+
+

40.1 Beamer

-
-

41.2 Org Mode

-
+ -
-

41.3 Presentation setup on computer

+
+

40.3 Presentation setup on computer

-
-

41.4 PowerPoint Viewer

+
+

40.4 PowerPoint Viewer

-
-

41.5 Multi-monitor pdf presentation - pdfpc

-
+
+

40.5 Multi-monitor pdf presentation - pdfpc

+

https://github.com/pdfpc/pdfpc

@@ -4912,9 +5332,9 @@ pdfpc is a great tool for showing pdf presentations. It support:
-
-

41.5.1 Installation

-
+
+

40.5.1 Installation

+
yay -S pdfpc
 
@@ -4922,9 +5342,9 @@ pdfpc is a great tool for showing pdf presentations. It support:
-
-

41.5.2 Video support

-
+
+

40.5.2 Video support

+
yay -S gst-plugins-ugly gst-plugins-good gst-plugins-base-libs gst-plugins-base gst-plugins-bad gst-libav
 
@@ -4932,9 +5352,9 @@ pdfpc is a great tool for showing pdf presentations. It support:
-
-

41.5.3 Usage

-
+
+

40.5.3 Usage

+
pdfpc filename.pdf
 
@@ -4944,9 +5364,9 @@ pdfpc is a great tool for showing pdf presentations. It support:
-
-

42 TODO RSS Reader

-
+
+

41 TODO RSS Reader

+

GUI:

@@ -4962,18 +5382,18 @@ With Emacs:
-
-

42.1 Newboat

-
+
+

41.1 Newboat

+ -
-

42.1.1 Installation

-
+
+

41.1.1 Installation

+
yay -S newboat
 
@@ -4981,9 +5401,9 @@ With Emacs:
-
-

42.1.2 Configuration

-
+
+

41.1.2 Configuration

+

https://newsboat.org/releases/2.12/docs/newsboat.html ~/.newsboat/ @@ -4991,18 +5411,27 @@ With Emacs:

-
-

42.1.3 TODO Automatic Retrival of Feeds

-
+
+

41.1.3 TODO Automatic Retrival of Feeds

+

Make a systemd service.

-
-

42.1.4 CheatSheet

-
+
+

41.1.4 TODO Add reddit personnal RSS

+ +
+ +
+

41.1.5 CheatSheet

+

https://newsboat.org/releases/2.12/docs/newsboat.html#available-operations

@@ -5026,44 +5455,70 @@ Make a systemd service.
-
-

43 TODO Task Manager

-
+
+

42 TODO Task Manager

+
-
-

43.1 OrgMode and Emacs

+
+

42.1 OrgMode and Emacs

-
-

43.2 Wunderlist

-
+
+

42.2 Wunderlist

+ +
+

42.2.1 Wunderline

+ + +
+
42.2.1.1 Installation
+
+
+
yay -S wunderline
+
+
-
-

44 Background manager: nitrogen

-
+
+
42.2.1.2 Cheatsheet
+
+

+wunderline list +

+
+
+
+
+
+ +
+

43 Background manager: nitrogen

+ -
-

44.1 Configuration

-
+
+

43.1 Configuration

+

~/.config/nitrogen/nitrogen.cfg

-
-

44.2 Wallpapers

-
+
+

43.2 Wallpapers

+

~/scripts/wallpaper.sh: script to automatically change wallpaper each x minutes.

@@ -5071,16 +5526,16 @@ Make a systemd service.
-
-

45 PDF Reader: Zathura

-
+
+

44 PDF Reader: Zathura

+ -
-

45.1 Installation

-
+
+

44.1 Installation

+
yay -S zathura
 
@@ -5100,18 +5555,18 @@ It seems that mupdf is better that poppler to view pdf.
-
-

45.2 Configuration

-
+
+

44.2 Configuration

+

~/.config/zathura/zathurarc

-
-

45.3 Cheatsheet

-
+
+

44.3 Cheatsheet

+
@@ -5197,9 +5652,9 @@ It seems that mupdf is better that poppler to view pdf. -
-

46 TODO Theme manager

-
+
+

45 TODO Theme manager

+

The idea would be to have a command that changes the theme of all the system.

@@ -5216,10 +5671,10 @@ It seems the color is due to this part of the script. Should then source this fi

-
BASE16_SHELL="$HOME/.base16-manager/chriskempson/base16-shell/"
-[ -n "$PS1" ] && \
-    [ -s "$BASE16_SHELL/profile_helper.sh" ] && \
-        eval "$("$BASE16_SHELL/profile_helper.sh")"
+
BASE16_SHELL="$HOME/.base16-manager/chriskempson/base16-shell/"
+[ -n "$PS1" ] && \
+    [ -s "$BASE16_SHELL/profile_helper.sh" ] && \
+        eval "$("$BASE16_SHELL/profile_helper.sh")"
 
@@ -5250,18 +5705,18 @@ Possible theme managers:
  • https://github.com/dylanaraps/pywal
  • -
    -

    46.1 TODO Theme script

    -
    +
    +

    45.1 TODO Theme script

    +

    ~/bin/theme

    -
    -

    46.2 TODO Base16

    -
    +
    +

    45.2 TODO Base16

    + -
    -

    46.2.1 Base16 Philosophy

    -
    +
    +

    45.2.1 Base16 Philosophy

    +

    Define colors according to rules: http://chriskempson.com/projects/base16/ Then we can use these colors multiple applications. @@ -5279,9 +5734,9 @@ Then we can use these colors multiple applications.

    -
    -

    46.2.2 Base16-shell

    -
    +
    +

    45.2.2 Base16-shell

    +

    https://github.com/chriskempson/base16-shell

    @@ -5290,19 +5745,19 @@ Then we can use these colors multiple applications. This changes the shell colors. This should be added to ~/.bashrc:

    -
    # Base16 Shell
    -BASE16_SHELL="$HOME/.config/base16-shell/"
    -[ -n "$PS1" ] && \
    -    [ -s "$BASE16_SHELL/profile_helper.sh" ] && \
    -        eval "$("$BASE16_SHELL/profile_helper.sh")"
    +
    # Base16 Shell
    +BASE16_SHELL="$HOME/.config/base16-shell/"
    +[ -n "$PS1" ] && \
    +    [ -s "$BASE16_SHELL/profile_helper.sh" ] && \
    +        eval "$("$BASE16_SHELL/profile_helper.sh")"
     
    -
    -

    46.2.3 Base16-manager

    -
    +
    +

    45.2.3 Base16-manager

    +

    https://github.com/AuditeMarlow/base16-manager

    @@ -5315,9 +5770,9 @@ This help changes many applications colors at once.
    -
    -

    47 TODO Graphical Editor

    -
    +
    +

    46 TODO Graphical Editor

    +
    -
    -

    48 TODO System monitor: conky

    -
    +
    +

    47 TODO System monitor: conky

    +

    https://github.com/brndnmtthws/conky https://wiki.archlinux.org/index.php/Conky @@ -5344,42 +5799,128 @@ Integration with polybar:

    -
    -

    49 TODO Bugs

    +
    +

    48 TODO Bugs

    +
    +
    +
    +

    48.1 TODO Why the cursor is turning when on the background image?

    +
    +
    +
    +

    49 TODO Games on Linux

    -
    -
    -

    49.1 TODO Why the cursor is turning when on the background image?

    -
    -
    - -
    -

    51 TODO VPN Setup

    -
    +
    +

    50 TODO VPN Setup

    +
    +
    +
    +

    50.1 NordVPN

    + +
    +

    50.1.1 Installation

    +
    +
    +
    yay -S nordvpn-bin
    +
    +
    +
    +
    + +
    +

    50.1.2 Configuration

    +
    +
    +
    sudo systemctl enable nordvpnd.service
    +sudo systemctl start nordvpnd.service
    +
    +
    +
    +
    + +
    +

    50.1.3 Usage

    +
    +
    + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    CommandUsage
    nordvpn login 
    nordvpn connect country 
    nordvpn disconnect 
    nordvpn status 
    nordvpn countries 
    +
    +
    + +
    +

    50.1.4 TODO Integration with Polybar

    +
    +
    + + -
    -

    52 Others

    -
    -
    -

    52.1 Reddit on terminal: rtv

    -
    + +
    +

    51 Others

    +
    +
    +
    +

    51.1 Reddit on terminal: rtv

    +
    yay -S rtv
     
    @@ -5388,35 +5929,44 @@ openvpn
    -
    -

    53 TODO Usefull commands

    -
    +
    +

    52 TODO Usefull commands

    +
    -
    -

    53.1 Find files or directories

    -
    + -
    -

    53.2 Show informations about the machine

    -
    +
    +

    52.2 Show informations about the machine

    +
    -
    -

    53.3 Separate PDF

    -
    +
    +

    52.3 Work with PDF

    +
    +

    +pdftk +

    +
    +
    + +
    +

    52.4 Separate PDF

    +

    pdfseparate -f 1 -l 6 file.pdf split%d.pdf Will create split1.pdf to split6.pdf files corresponding to correct pages of file.pdf. @@ -5424,9 +5974,9 @@ Will create split1.pdf to split6.pdf files correspondi

    -
    -

    53.4 Readline

    -
    +
    +

    52.5 Readline

    +

    https://wiki.archlinux.org/index.php/Keyboard_shortcuts

    @@ -5454,9 +6004,9 @@ Will create split1.pdf to split6.pdf files correspondi
    -
    -

    53.4.1 Cursor Movement

    -
    +
    +

    52.5.1 Cursor Movement

    +
    @@ -5506,9 +6056,9 @@ Will create split1.pdf to split6.pdf files correspondi -
    -

    53.4.2 Copy & Paste

    -
    +
    +

    52.5.2 Copy & Paste

    +
    @@ -5568,9 +6118,9 @@ Will create split1.pdf to split6.pdf files correspondi -
    -

    53.4.3 History

    -
    +
    +

    52.5.3 History

    +
    @@ -5625,9 +6175,9 @@ Will create split1.pdf to split6.pdf files correspondi -
    -

    53.4.4 Completion

    -
    +
    +

    52.5.4 Completion

    +
    @@ -5663,12 +6213,28 @@ Will create split1.pdf to split6.pdf files correspondi -
    -

    53.5 Others

    -
    +
    +

    52.6 Google translate from the command line

    +
    +
    +
    yay -S translate-shell
    +
    +
    + +
    +
    trans englishwork en:fr
    +
    +
    +
    +
    + +
    +

    52.7 Others

    +
    - + + + + + + + +
    su -sh folderdu -sh folder Return the size of the folder
    df -hReport disk usage
    +
    +
    +
    +

    52.8 Archive and Extract

    +
    +

    +Use apack and aunpack: +

    + + + +++ ++ + + + + + + + + + + + + + + + +
      
    aunpack foobar.tar.gzextract all files from archive
    apack myarchive.zip foo barcreate a zip archive of two files
    -
    -

    54 TODO Custom scripts

    -
    + +
    +

    53 TODO Custom scripts

    +
    -
    -

    54.1 TODO Password completion with fzf

    -
    +
    +

    53.1 TODO Password completion with fzf

    +

    Make a script to use FZF for autocompletion of password (with pass program) and then send to current line or copy. Maybe use tmux pane for that. @@ -5756,17 +6362,17 @@ Maybe use tmux pane for that.

    -
    -

    55 TODO Bash Snippets

    -
    +
    +

    54 TODO Bash Snippets

    +
    -
    -

    55.1 For loop

    -
    +
    +

    54.1 For loop

    +
    -
    for file in ./*; do
    -  command ${file};
    -done
    +
    for file in ./*; do
    +  command ${file};
    +done
     
    @@ -5775,7 +6381,7 @@ Maybe use tmux pane for that.

    Author: Thomas Dehaeze

    -

    Created: 2019-01-09 mer. 15:35

    +

    Created: 2019-04-01 lun. 18:13

    Validate

    diff --git a/readme.org b/readme.org index bdda595..b5743f7 100644 --- a/readme.org +++ b/readme.org @@ -1,5 +1,13 @@ #+TITLE: Dotfiles - Manjaro Linux on Macbook Pro -#+SETUPFILE: https://fniessen.github.io/org-html-themes/setup/theme-readtheorg.setup +:DRAWER: +#+HTML_HEAD: +#+HTML_HEAD: + +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +:END: * Ressources ** Dotfiles @@ -86,19 +94,6 @@ yay -S hub ** Credential Helper setup with Pass This is explained in a further part: [[*Integration with Git][Integration of Pass with Git]]. -* TODO [#A] Dotfile Manager: yadm -https://github.com/TheLocehiliosan/yadm - -** Installation -#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh -yay -S yadm-git -#+END_SRC - -** TODO [#A] Managing Yadm with Magit on Emacs -https://github.com/TheLocehiliosan/yadm/blob/09a018ea5a081923a8d39f5f0bb02b138284230a/yadm.md - -** TODO [#A] Switch from YADM to litterate dotfiles - SCHEDULED: <2019-01-07 lun.> * Terminal https://github.com/thestinger/termite ** Termite @@ -644,9 +639,6 @@ https://github.com/skorokithakis/catt | volumedown | Turn down volume by a DELTA increment | | volumeup | Turn up volume by a DELTA increment | -*** TODO Cast from qutebrowser on youtube -This is explained here: [[*Chromecast integration][Chromecast integration]]. - ** TODO Popcorn Time or similar ** TODO [#C] Movie Collection Manager - Filebot https://github.com/filebot/filebot @@ -772,12 +764,36 @@ https://robots.thoughtbot.com/weechat-for-slacks-irc-gateway Use the command =/fset= +*** Multi-line messages +Solution is provided here: https://github.com/wee-slack/wee-slack/issues/118 +It uses [[https://weechat.org/scripts/source/multiline.pl.html/][multiline.pl]] script. +Then alt-enter is bound to insert a new line: +#+begin_src conf + /set plugins.var.perl.multiline.magic_paste_only on + /key bind meta-ctrl-M /input insert \x0a +#+end_src +And enter is bound to =magic_enter= that directly sends the message if its one line, and if its multiple line, waits a little bit and then sends the message: +#+begin_src conf + /key bind ctrl-M /input magic_enter +#+end_src + +*** Send message using =$EDITOR= +https://github.com/keith/edit-weechat +#+begin_src bash + mkdir -p ~/.weechat/python/autoload + cd ~/.weechat/python/autoload + wget https://raw.githubusercontent.com/keith/edit-weechat/master/edit.py +#+end_src + +Then, on weechat, type =/edit=. + *** CheatSheet -| Command | Usage | -|----------+------------------| -| =Ctlr-N= | Next channel | -| =Ctlr-P= | Previous channel | -| =Esc-n= | Toggle nicklist | +| Command | Usage | +|-----------+------------------| +| =Ctlr-N= | Next channel | +| =Ctlr-P= | Previous channel | +| =Esc-n= | Toggle nicklist | +| =alt-ent= | New line | *** Slack Integration https://github.com/wee-slack/wee-slack @@ -1229,11 +1245,21 @@ Should I use i3 or systemd for that? https://www.reddit.com/r/linux/comments/132gle/eli5_the_systemd_vs_initupstart_controversy/ ** TODO [#C] Printer https://wiki.archlinux.org/index.php/CUPS -http://localhost:631/ +Web based administration: http://localhost:631/ =system-config-printer= +*** Check and Clear the Queue +Check the queue +#+begin_src bash +lpq +lpq -a # on all queues +#+end_src -*** TODO How to store pin number for the printer? +Clear the queue +#+begin_src bash +lprm # remove last entry only +lprm - # remove all entries +#+end_src *** TODO CheatSheet | Command | Usage | @@ -1246,7 +1272,7 @@ https://wiki.manjaro.org/index.php/Manjaro_Kernels | Command | Usage | |-------------------+--------------------------------| | =mhwd-kernel -li= | Determine which kernel is used | -| == | Change current kernel | +| | Change current kernel | ** TODO [#C] Power Consumption https://wiki.manjaro.org/index.php?title=Power_Savings @@ -1902,6 +1928,7 @@ https://wiki.archlinux.org/index.php/Keyboard_shortcuts ** Others - [[https://github.com/tldr-pages/tldr][tldr]] - Community-driven man pages - [[https://github.com/dutchcoders/transfer.sh][transfer.sh]] - upload and share files from the command line +- [[https://github.com/timvisee/ffsend][ffsend]] - share files from the command line - https://github.com/chubin/wttr.in - weather in terminal - https://github.com/michael-lazar/rtv - trans =yay -S translate-shell=