literate-dotfiles/docs/install.html
2022-05-09 10:05:23 +02:00

2519 lines
70 KiB
HTML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2022-05-09 lun. 10:04 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Installation</title>
<meta name="author" content="Dehaeze Thomas" />
<meta name="generator" content="Org Mode" />
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
<script type="text/javascript" src="./dist/script.js"></script>
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="./index.html"> UP </a>
|
<a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content" class="content">
<h1 class="title">Installation</h1>
<div id="table-of-contents" role="doc-toc">
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
<ul>
<li><a href="#org4f6368a">Issues to handle</a></li>
<li><a href="#org8745cef"><code>git</code> - Version Control System</a></li>
<li><a href="#org9d33b28"><code>alacritty</code> - Terminal</a></li>
<li><a href="#orgb29ee53"><code>bash</code> - Shell</a></li>
<li><a href="#org8bfabc8"><code>tmux</code> - Terminal Multiplexer</a></li>
<li><a href="#orgbe0e58a">Fonts</a></li>
<li><a href="#org25b78b8">Syncthing</a></li>
<li><a href="#orgb34eca4"><code>emacs</code> and <code>vim</code> - Text Editors</a>
<ul>
<li><a href="#org973ecdd">Neovim</a></li>
<li><a href="#orgf0500f9">Emacs</a></li>
</ul>
</li>
<li><a href="#orgbb19097">SSH setup</a></li>
<li><a href="#orgcb4f1db">GnuPG</a></li>
<li><a href="#orge993410"><code>rofi</code> - Application Launcher</a></li>
<li><a href="#org5c0b48f"><code>pass</code> - Password Manager</a>
<ul>
<li><a href="#orgd5d2f55">Integration with other programs</a></li>
<li><a href="#org88cc248">Alternative - Bitwarden</a></li>
</ul>
</li>
<li><a href="#org5400a9a"><code>qutebrowser</code> - Browser</a>
<ul>
<li><a href="#org60b629e">Installation</a></li>
<li><a href="#org0b6982b">View Pdf inside qutebrowser with pdfjs</a>
<ul>
<li><a href="#org90c7498">Installation</a></li>
<li><a href="#orge401f76">Usage</a></li>
</ul>
</li>
<li><a href="#orgd6e4c22">Integration with Pass: the password manager</a></li>
<li><a href="#org3944986">Spell Checking</a></li>
<li><a href="#orga80672a"><code>firefox</code></a></li>
</ul>
</li>
<li><a href="#org37d1449"><code>xrandr</code> - Monitor Manager</a></li>
<li><a href="#org7b4cc4d">Music Setup</a>
<ul>
<li><a href="#org7a2e902"><code>pulseaudio</code> - Sound Server</a></li>
<li><a href="#orge034fbe"><code>pavucontrol</code> - Sound Manager</a></li>
<li><a href="#org118403d"><code>mopidy</code> - Audio Server</a></li>
<li><a href="#org592f428"><code>ncmpcpp</code> - MPD Client</a></li>
</ul>
</li>
<li><a href="#org47c73ac">Movies</a>
<ul>
<li><a href="#orga93de38"><code>mpv</code> - Media Player</a></li>
</ul>
</li>
<li><a href="#org9dcdff5">Contact Manager</a>
<ul>
<li><a href="#org5faa603"><code>khard</code> - Google Conctacts</a></li>
<li><a href="#org0bd5617"><code>mu</code> - Index Emails</a></li>
</ul>
</li>
<li><a href="#org7956f43"><code>redshift</code></a></li>
<li><a href="#org6b75056">Mail Setup</a>
<ul>
<li><a href="#org6301bcc"><code>mbsync</code> - Synchronize Mailboxes</a>
<ul>
<li><a href="#org38424a9">Installation</a></li>
<li><a href="#org31bb6f0">Configuration</a></li>
<li><a href="#orgbc34732">Automation using systemd</a>
<ul>
<li><a href="#orgf627411">Retreive New mails</a></li>
<li><a href="#org4a4f994">Synchronize all the mailboxes</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#orgac842c2"><code>msmtp</code> - Send Mails</a>
<ul>
<li><a href="#orgcb40b42">Installation</a></li>
</ul>
</li>
<li><a href="#org7251436"><code>mu</code> - Mail Index, Search and Tagging</a></li>
<li><a href="#orgb678b8e"><code>neomutt</code> - Mail Client</a>
<ul>
<li><a href="#orgadf8ce0">Installation</a></li>
<li><a href="#orge4adc86">Display html mails</a></li>
<li><a href="#orgdca6692">Open Url from mail</a></li>
<li><a href="#org1bb2a0b">Ressources</a></li>
</ul>
</li>
<li><a href="#org51e8f29">Notification system</a></li>
</ul>
</li>
<li><a href="#org94ed5e2"><code>ranger=/=pcmanfm</code> - File Manager</a>
<ul>
<li><a href="#org0689714">Ranger</a>
<ul>
<li><a href="#orgb3fd092">Installation</a></li>
<li><a href="#org4c25888">Configuration</a></li>
<li><a href="#org582bb32">Display pdf</a></li>
</ul>
</li>
<li><a href="#org5a11531">GUI File Manager: pcmanfm</a></li>
</ul>
</li>
<li><a href="#orgb9b36eb"><code>sxiv</code> - Image viewer</a>
<ul>
<li><a href="#orgf17d546">Installation</a></li>
<li><a href="#orga65b553">Open Gif</a></li>
<li><a href="#org5892b51">Cheatsheet</a></li>
</ul>
</li>
<li><a href="#orgffb5c23"><code>sxhkd</code> - HotKey Manager</a></li>
<li><a href="#orgb4cad2c"><code>i3</code> - Windows Manager</a>
<ul>
<li><a href="#org68c6fb7">Installation</a></li>
<li><a href="#org166ce19">Configuration</a></li>
</ul>
</li>
<li><a href="#org10e707d"><code>polybar</code> - Top Bar</a>
<ul>
<li><a href="#orgfc5852d">Installation</a></li>
</ul>
</li>
<li><a href="#orgeeb7f03"><code>picom</code> - Compositor</a>
<ul>
<li><a href="#orgb693544">Installation</a></li>
<li><a href="#org9a60966">Configuration</a></li>
<li><a href="#orge9f5f59">Automatic run as daemon</a></li>
</ul>
</li>
<li><a href="#orgea59012"><code>dunst</code> - Notification Manager</a>
<ul>
<li><a href="#orga112083">Installation</a></li>
<li><a href="#org83ba6de">Configuration</a></li>
<li><a href="#orgc590771">Usage</a></li>
</ul>
</li>
<li><a href="#org25a4cc0">LaTeX</a></li>
<li><a href="#org52d7a99">Mathematical Software</a>
<ul>
<li><a href="#org843a353">Insect</a></li>
<li><a href="#orgfaa753a">Matlab</a></li>
<li><a href="#orge0803c0">SageMath</a></li>
<li><a href="#org74bd2dd">Python and Jupyter-notebook</a></li>
</ul>
</li>
<li><a href="#orgd5a74d7">Calendar</a>
<ul>
<li><a href="#org7461509"><code>vdirsyncer</code> - Sync calendars</a></li>
<li><a href="#org7315f96"><code>khal</code> - Calendar Client</a></li>
</ul>
</li>
<li><a href="#org0ae00e2"><code>zathura</code> - PDF Reader</a>
<ul>
<li><a href="#org79cb54d">Installation</a></li>
<li><a href="#org3592520">Configuration</a></li>
<li><a href="#orgaf25e5a">Cheatsheet</a></li>
<li><a href="#orgd86a28d">Multi-monitor pdf presentation - pdfpc</a>
<ul>
<li><a href="#org9be05cb">Installation</a></li>
<li><a href="#org2aff926">Video support</a></li>
<li><a href="#org083b825">Usage</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#org445dc4a">Display Manager</a></li>
<li><a href="#org6d0663d"><code>inkscape</code> - Graphical Editor</a></li>
<li><a href="#org9955fc6"><code>wireguard</code> - VPN</a></li>
<li><a href="#org05c822f">Others</a>
<ul>
<li><a href="#orgccbe77e">Things to install</a></li>
<li><a href="#orgd3128df"><code>maim=/=flameshot</code> - Take Screenshots</a></li>
<li><a href="#org9d9cc7c">Find Files</a></li>
<li><a href="#org056ce20">PDF/Image Utilities</a></li>
<li><a href="#org0f004d9">Trash</a></li>
<li><a href="#org1f22f91">Nice other programs</a></li>
</ul>
</li>
<li><a href="#orge8798c2">Printer</a></li>
<li><a href="#orgdf06299">List of all the install programs</a>
<ul>
<li><a href="#orgdb02e65">Mutt</a></li>
<li><a href="#org3a409b3">File Management</a></li>
<li><a href="#org5192d2c">File Downloader</a></li>
<li><a href="#org89cdaa3">Utils</a></li>
<li><a href="#orga0b1612">A trier</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org4f6368a" class="outline-2">
<h2 id="org4f6368a">Issues to handle</h2>
</div>
<div id="outline-container-org8745cef" class="outline-2">
<h2 id="org8745cef"><code>git</code> - Version Control System</h2>
<div class="outline-text-2" id="text-org8745cef">
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install <span class="org-type">git</span>
</pre>
</div>
<p>
<a href="git.html">Git</a> Configuration:
</p>
<ul class="org-ul">
<li><code>~/.gitconfig</code></li>
<li><code>~/.gitignore_global</code></li>
</ul>
</div>
</div>
<div id="outline-container-org9d33b28" class="outline-2">
<h2 id="org9d33b28"><code>alacritty</code> - Terminal</h2>
<div class="outline-text-2" id="text-org9d33b28">
<p>
<a href="https://github.com/alacritty/alacritty">Alacritty</a> is a very nice keyboard-centric terminal.
</p>
<p>
It can be installed like so:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> add-apt-repository ppa:aslatter/ppa
<span class="org-type">sudo</span> apt install alacritty
</pre>
</div>
<p>
Its configuration file is described <a href="alacritty.html">here</a>.
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 1:</span> <code>alacritty</code> - Cheatsheet</caption>
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Command</th>
<th scope="col" class="org-left">Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>ctrl-shift-x</code></td>
<td class="org-left">activate url hints mode</td>
</tr>
<tr>
<td class="org-left"><code>ctrl-shift-c</code></td>
<td class="org-left">copy to CLIPBOARD</td>
</tr>
<tr>
<td class="org-left"><code>ctrl-shift-v</code></td>
<td class="org-left">paste from CLIPBOARD</td>
</tr>
<tr>
<td class="org-left"><code>ctrl-shift-space</code></td>
<td class="org-left">start selection mode</td>
</tr>
<tr>
<td class="org-left"><code>ctrl +</code></td>
<td class="org-left">increase font size</td>
</tr>
<tr>
<td class="org-left"><code>ctrl -</code></td>
<td class="org-left">decrease font size</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-orgb29ee53" class="outline-2">
<h2 id="orgb29ee53"><code>bash</code> - Shell</h2>
<div class="outline-text-2" id="text-orgb29ee53">
<p>
<a href="https://wiki.archlinux.org/index.php/Bash">https://wiki.archlinux.org/index.php/Bash</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install bash bash-completion zsh
</pre>
</div>
<p>
<a href="bash.html">Bash</a> configuration:
</p>
<ul class="org-ul">
<li><code>~/.bashrc</code></li>
<li><code>~/.bash_profile</code></li>
<li><code>~/.config/bash/</code></li>
<li><code>~/.profile</code></li>
</ul>
</div>
</div>
<div id="outline-container-org8bfabc8" class="outline-2">
<h2 id="org8bfabc8"><code>tmux</code> - Terminal Multiplexer</h2>
<div class="outline-text-2" id="text-org8bfabc8">
<p>
<a href="https://github.com/tmux/tmux">https://github.com/tmux/tmux</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install tmux
</pre>
</div>
<p>
<a href="tmux.html">TMUX</a> configuration
</p>
<p>
Ressources:
</p>
<ul class="org-ul">
<li><a href="https://github.com/gpakosz/.tmux">https://github.com/gpakosz/.tmux</a></li>
<li><a href="https://gist.github.com/MohamedAlaa/2961058">https://gist.github.com/MohamedAlaa/2961058</a></li>
<li><a href="https://blog.bugsnag.com/tmux-and-vim/">https://blog.bugsnag.com/tmux-and-vim/</a></li>
<li><a href="https://github.com/tmux-plugins/tmux-resurrect">https://github.com/tmux-plugins/tmux-resurrect</a></li>
<li><a href="https://github.com/rothgar/awesome-tmux">https://github.com/rothgar/awesome-tmux</a></li>
<li><a href="https://thoughtbot.com/upcase/tmux">https://thoughtbot.com/upcase/tmux</a></li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 2:</span> <code>tmux</code> - Cheatsheet</caption>
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Command</th>
<th scope="col" class="org-left">Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>ctrl-spc</code></td>
<td class="org-left">Prefix</td>
</tr>
<tr>
<td class="org-left"><code>c</code></td>
<td class="org-left">New pane</td>
</tr>
<tr>
<td class="org-left"><code>/</code>, <code>-</code></td>
<td class="org-left">Split Vertically/Horizontally</td>
</tr>
<tr>
<td class="org-left"><code>s</code></td>
<td class="org-left">Change session</td>
</tr>
<tr>
<td class="org-left"><code>p</code>, <code>n</code></td>
<td class="org-left">Previous/Next Pane</td>
</tr>
<tr>
<td class="org-left"><code>ctrl-h,j,k,l</code></td>
<td class="org-left">Move between windows</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-orgbe0e58a" class="outline-2">
<h2 id="orgbe0e58a">Fonts</h2>
<div class="outline-text-2" id="text-orgbe0e58a">
<p>
My font of choice is <code>nerd-fonts-hack</code> which can be installed as so:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">git</span> clone --depth <span class="org-highlight-numbers-number">1</span> https://github.com/ryanoasis/nerd-fonts
<span class="org-type">cd</span> nerd-fonts
./install.sh Hack
</pre>
</div>
<p>
For emojis, use:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install fonts-noto-color-emoji
</pre>
</div>
<p>
Default font used:
</p>
<ul class="org-ul">
<li>Monospace Font: <code>Hack Nerd Font Mono</code></li>
<li>Serif Font: <code>Hack Nerd Font</code></li>
<li>Sans Font: <code>Hack Nerd Font</code></li>
</ul>
<p>
To list all fonts available:
</p>
<div class="org-src-container">
<pre class="src src-bash">fc-list
</pre>
</div>
</div>
</div>
<div id="outline-container-org25b78b8" class="outline-2">
<h2 id="org25b78b8">Syncthing</h2>
<div class="outline-text-2" id="text-org25b78b8">
<p>
<a href="https://leandeep.com/installer-syncthing-sur-ubuntu-20.04/">https://leandeep.com/installer-syncthing-sur-ubuntu-20.04/</a>
</p>
</div>
</div>
<div id="outline-container-orgb34eca4" class="outline-2">
<h2 id="orgb34eca4"><code>emacs</code> and <code>vim</code> - Text Editors</h2>
<div class="outline-text-2" id="text-orgb34eca4">
</div>
<div id="outline-container-org973ecdd" class="outline-3">
<h3 id="org973ecdd">Neovim</h3>
<div class="outline-text-3" id="text-org973ecdd">
<p>
I use <a href="https://github.com/neovim/neovim">Neovim</a> for all the small edits.
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install neovim
</pre>
</div>
<p>
The Neovim configuration can be found <a href="vim.html">here</a>.
</p>
<p>
Simlink the Vim config to Neovim:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">mkdir</span> ~/.config/nvim
<span class="org-type">ln</span> -s ~/.vimrc ~/.config/nvim/init.vim
</pre>
</div>
<p>
Then install the plugin manager <a href="https://github.com/junegunn/vim-plug">plug</a>:
</p>
<div class="org-src-container">
<pre class="src src-bash">sh -c <span class="org-string">'</span><span class="org-type"><span class="org-string">curl</span></span><span class="org-string"> -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'</span>
</pre>
</div>
<p>
And to install/setup all the plugins:
</p>
<div class="org-src-container">
<pre class="src src-bash">nvim +PlugInstall
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash">nvim +UpdateRemotePlugins
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf0500f9" class="outline-3">
<h3 id="orgf0500f9">Emacs</h3>
<div class="outline-text-3" id="text-orgf0500f9">
<p>
I use <a href="https://www.gnu.org/software/emacs/">Emacs</a> and the <a href="https://github.com/hlissner/doom-emacs">Doom</a> framework.
</p>
<p>
Install Emacs:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> snap install emacs --edge --classic
</pre>
</div>
<p>
And then the Doom framework:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">git</span> clone --depth <span class="org-highlight-numbers-number">1</span> https://github.com/hlissner/doom-emacs ~/.emacs.d
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash">~/.emacs.d/bin/doom install
</pre>
</div>
<p>
The Emacs configuration can be found <a href="./doom.html">here</a>.
</p>
<p>
SpellCheck with Aspell:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install aspell aspell-en aspell-fr
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgbb19097" class="outline-2">
<h2 id="orgbb19097">SSH setup</h2>
<div class="outline-text-2" id="text-orgbb19097">
<p>
Generate a new SSH key:
</p>
<div class="org-src-container">
<pre class="src src-bash">ssh-keygen -t rsa -b <span class="org-highlight-numbers-number">4096</span> -C <span class="org-string">"dehaeze.thomas@gmail.com"</span>
</pre>
</div>
<p>
Start the ssh-agent in the background:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">eval</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ssh-agent</span><span class="org-string"><span class="org-sh-quoted-exec"> -s)</span></span><span class="org-string">"</span>
</pre>
</div>
<p>
Add the SSH key to the ssh-agent:
</p>
<div class="org-src-container">
<pre class="src src-bash">ssh-add ~/.ssh/id_rsa
</pre>
</div>
</div>
</div>
<div id="outline-container-orgcb4f1db" class="outline-2">
<h2 id="orgcb4f1db">GnuPG</h2>
<div class="outline-text-2" id="text-orgcb4f1db">
<p>
<a href="https://gnupg.org/">https://gnupg.org/</a>
</p>
<p>
Install the gnupg package:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install gnupg
</pre>
</div>
<p>
Create a key pair:
</p>
<div class="org-src-container">
<pre class="src src-bash">gpg --full-gen-key
</pre>
</div>
<p>
To configure the <code>gpg-agent</code> to cache the passphrase, edit the following file <code>~/.gnupg/gpg-agent.conf</code>:
</p>
<div class="org-src-container">
<pre class="src src-conf">default-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
</pre>
</div>
<p>
Install <code>Gnome-Keyring</code> to automatically unlock the GnuPG keys:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install gnome-keyring
</pre>
</div>
</div>
</div>
<div id="outline-container-orge993410" class="outline-2">
<h2 id="orge993410"><code>rofi</code> - Application Launcher</h2>
<div class="outline-text-2" id="text-orge993410">
<p>
<a href="https://github.com/DaveDavenport/rofi">Rofi</a> is a very nice alternative to <a href="https://tools.suckless.org/dmenu/">dmenu</a>.
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install dmenu rofi
</pre>
</div>
<p>
To be able to run sudo commands with <code>rofi</code> (<a href="https://github.com/DaveDavenport/rofi/issues/584#issuecomment-384555551">github issue</a>), the command <code>sudo -A</code> can be used: it opens a <code>rofi</code> prompt to ask for the password.
</p>
<p>
For that to work, we need to add the following code to <code>~/.profile</code>:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">SUDO_ASKPASS</span>=~/.local/bin/askpass-rofi
</pre>
</div>
<p>
The <code>askpass-rofi</code> script is:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter">#</span><span class="org-comment">!/bin/</span><span class="org-keyword">sh</span>
rofi -dmenu <span class="org-sh-escaped-newline">\</span>
-password <span class="org-sh-escaped-newline">\</span>
-no-fixed-num-lines <span class="org-sh-escaped-newline">\</span>
-p <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">printf</span><span class="org-string"><span class="org-sh-quoted-exec"> "</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">1</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">" | sed s/://)</span></span><span class="org-string">"</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org5c0b48f" class="outline-2">
<h2 id="org5c0b48f"><code>pass</code> - Password Manager</h2>
<div class="outline-text-2" id="text-org5c0b48f">
<p>
<a href="https://www.passwordstore.org/">https://www.passwordstore.org/</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install pass
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">git</span> clone https://git.tdehaeze.xyz/tdehaeze/pass.git ~/.password-store
</pre>
</div>
<p>
Gui Manager: <a href="https://github.com/IJHack/qtpass">qtpass</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install qtpass
</pre>
</div>
<p>
Integration with Rofi: <a href="https://github.com/carnager/rofi-pass">rofi-pass</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/soft/
<span class="org-type">git</span> clone https://github.com/carnager/rofi-pass
<span class="org-type">cd</span> rofi-pass
<span class="org-type">sudo</span> <span class="org-type">make</span> install
</pre>
</div>
<p>
Then we can add a shortcut to <code>rofi-pass</code> on i3 config.
</p>
<p>
Integration with Git: <a href="https://github.com/languitar/pass-git-helper">pass-git-helper</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install pass-git-helper
</pre>
</div>
<p>
First, add the relation between repository addresses and entries in <code>pass</code>. This is done in the following config file <code>.config/pass-git-helper/git-pass-mapping.ini</code>:
</p>
<pre class="example">
[github.com*]
target=github.com/tdehaeze
</pre>
<p>
Then, add the credential helper on the git configuration file <code>~/.gitconfig</code> and add the default username for the repositories adresses.
</p>
<pre class="example">
[credential]
helper = !pass-git-helper $@
[credential "https://github.com"]
username = tdehaeze
</pre>
</div>
<div id="outline-container-orgd5d2f55" class="outline-3">
<h3 id="orgd5d2f55">Integration with other programs</h3>
<div class="outline-text-3" id="text-orgd5d2f55">
<p>
Integrate pass in other programs is usually very easy, here are few examples:
</p>
<ul class="org-ul">
<li><code>~/.msmtprc</code>:
<ul class="org-ul">
<li><code>passwordeval "pass email/dehaeze.thomas@gmail.com"</code></li>
</ul></li>
<li><code>~/.mbsyncrc</code>
<ul class="org-ul">
<li><code>PassCmd "pass email/dehaeze.thomas@gmail.com"</code></li>
</ul></li>
</ul>
</div>
</div>
<div id="outline-container-org88cc248" class="outline-3">
<h3 id="org88cc248">Alternative - Bitwarden</h3>
<div class="outline-text-3" id="text-org88cc248">
<p>
Bitwarden <a href="https://github.com/bitwarden/cli">https://github.com/bitwarden/cli</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -Ss bitwarden-bin bitwarden-cli-bin
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org5400a9a" class="outline-2">
<h2 id="org5400a9a"><code>qutebrowser</code> - Browser</h2>
<div class="outline-text-2" id="text-org5400a9a">
<p>
<a href="https://github.com/qutebrowser/qutebrowser">https://github.com/qutebrowser/qutebrowser</a>
</p>
</div>
<div id="outline-container-org60b629e" class="outline-3">
<h3 id="org60b629e">Installation</h3>
<div class="outline-text-3" id="text-org60b629e">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">mkdir</span> ~/.local/soft
<span class="org-type">cd</span> ~/.local/soft
<span class="org-type">git</span> clone https://github.com/qutebrowser/qutebrowser.git
<span class="org-type">cd</span> qutebrowser
<span class="org-type">sudo</span> apt install --no-install-recommends <span class="org-type">git</span> ca-certificates python3 python3-venv asciidoc libglib2.0-0 libgl1 libfontconfig1 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxkbcommon-x11-0 libdbus-1-3 libyaml-dev gcc python3-dev libnss3
python3 scripts/mkvenv.py
</pre>
</div>
<p>
Then it can be launched using <a href="binaries-private.html#qutebrowser">file:~/.config/literate-dotfiles/binaries-private.org::#qutebrowser</a>
</p>
<div class="org-src-container">
<pre class="src src-bash">~/.local/soft/qutebrowser/.venv/bin/python3 -m qutebrowser
</pre>
</div>
<p>
And upgraded with:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/soft/qutebrowser/
mkvenv.py --update
</pre>
</div>
</div>
</div>
<div id="outline-container-org0b6982b" class="outline-3">
<h3 id="org0b6982b">View Pdf inside qutebrowser with pdfjs</h3>
<div class="outline-text-3" id="text-org0b6982b">
</div>
<div id="outline-container-org90c7498" class="outline-4">
<h4 id="org90c7498">Installation</h4>
<div class="outline-text-4" id="text-org90c7498">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install pdf.js-common
</pre>
</div>
</div>
</div>
<div id="outline-container-orge401f76" class="outline-4">
<h4 id="orge401f76">Usage</h4>
<div class="outline-text-4" id="text-orge401f76">
<p>
When opening a pdf file on qutebrowser, you&rsquo;ll be ask for options:
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Command</th>
<th scope="col" class="org-left">Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>&lt;return&gt;</code></td>
<td class="org-left">Download the file</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl-x</code></td>
<td class="org-left">Download and open</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl-p</code></td>
<td class="org-left">Open with pdf.js</td>
</tr>
<tr>
<td class="org-left"><code>Alt-y</code></td>
<td class="org-left">Yank the url</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="outline-container-orgd6e4c22" class="outline-3">
<h3 id="orgd6e4c22">Integration with Pass: the password manager</h3>
<div class="outline-text-3" id="text-orgd6e4c22">
<p>
Add the key-binding on <code>~/.config/qutebrowser/config.py</code>
</p>
<pre class="example">
config.bind(',p', 'spawn --userscript password_fill')
</pre>
<p>
The <code>password_fill</code> script can be found on <a href="https://github.com/qutebrowser/qutebrowser/blob/master/misc/userscripts/password_fill">github.com</a>.
It is configured using the <code>~/.config/qutebrowser/password_fill_rc</code> file.
</p>
</div>
</div>
<div id="outline-container-org3944986" class="outline-3">
<h3 id="org3944986">Spell Checking</h3>
<div class="outline-text-3" id="text-org3944986">
<div class="org-src-container">
<pre class="src src-bash">./scripts/dictcli.py install fr-FR
./scripts/dictcli.py install en-US
</pre>
</div>
</div>
</div>
<div id="outline-container-orga80672a" class="outline-3">
<h3 id="orga80672a"><code>firefox</code></h3>
<div class="outline-text-3" id="text-orga80672a">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install firefox
</pre>
</div>
<p>
Addons:
</p>
<ul class="org-ul">
<li><a href="https://addons.mozilla.org/fr/firefox/addon/ublock-origin/">uBlock Origin</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/">Adblock Plus</a></li>
<li><a href="https://addons.mozilla.org/fr/firefox/addon/bukubrow/">Bukurow</a></li>
<li><a href="https://addons.mozilla.org/fr/firefox/addon/i-dont-care-about-cookies/">I don&rsquo;t care about cookies</a></li>
</ul>
</div>
</div>
</div>
<div id="outline-container-org37d1449" class="outline-2">
<h2 id="org37d1449"><code>xrandr</code> - Monitor Manager</h2>
<div class="outline-text-2" id="text-org37d1449">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install arandr
</pre>
</div>
<p>
<a href="https://wiki.archlinux.org/index.php/Xrandr">Xrandr</a> is used in shell scripts (<a href="https://github.com/Ventto/mons">mons</a> could be used as a layer on top of Xrandr).
<a href="https://christian.amsuess.com/tools/arandr/">Arandr</a> is a GUI application to manage monitors.
</p>
</div>
</div>
<div id="outline-container-org7b4cc4d" class="outline-2">
<h2 id="org7b4cc4d">Music Setup</h2>
<div class="outline-text-2" id="text-org7b4cc4d">
</div>
<div id="outline-container-org7a2e902" class="outline-3">
<h3 id="org7a2e902"><code>pulseaudio</code> - Sound Server</h3>
<div class="outline-text-3" id="text-org7a2e902">
<p>
<a href="https://wiki.archlinux.org/index.php/PulseAudio">https://wiki.archlinux.org/index.php/PulseAudio</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install pulseaudio pulseaudio-module-bluetooth
</pre>
</div>
<p>
If sound is not working, should run <code>pulseaudio --kill</code> to kill the deamon and then <code>pulseaudio --daemonize</code> to run it again.
</p>
<p>
<a href="https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Running/">https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Running/</a>
</p>
</div>
</div>
<div id="outline-container-orge034fbe" class="outline-3">
<h3 id="orge034fbe"><code>pavucontrol</code> - Sound Manager</h3>
<div class="outline-text-3" id="text-orge034fbe">
<p>
<code>pavucontrol</code> is used as a sound manager:
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> apt install pavucontrol
</pre>
</div>
</div>
</div>
<div id="outline-container-org118403d" class="outline-3">
<h3 id="org118403d"><code>mopidy</code> - Audio Server</h3>
<div class="outline-text-3" id="text-org118403d">
<p>
<a href="https://github.com/mopidy/mopidy">https://github.com/mopidy/mopidy</a>
<a href="https://medium.com/@theos.space/using-mopidy-with-spotify-and-ncmpcpp-44352f4a2ce8">https://medium.com/@theos.space/using-mopidy-with-spotify-and-ncmpcpp-44352f4a2ce8</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install mopidy
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install python3-pip
python3 -m pip install --use mopidy-jellyfin
</pre>
</div>
<p>
To update local files:
</p>
<div class="org-src-container">
<pre class="src src-bash">mopidy local scan
</pre>
</div>
<p>
If mopidy is used, MPD should be disabled. (<code>systemctl disable --user mpd.service</code>)
</p>
</div>
</div>
<div id="outline-container-org592f428" class="outline-3">
<h3 id="org592f428"><code>ncmpcpp</code> - MPD Client</h3>
<div class="outline-text-3" id="text-org592f428">
<p>
<a href="https://wiki.archlinux.org/index.php/Ncmpcpp">https://wiki.archlinux.org/index.php/Ncmpcpp</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install ncmpcpp
</pre>
</div>
<p>
The main config is located here: <code>~/.ncmpcpp/config</code>.
The key bindings can be configured here: <code>~/.ncmpcpp/bindings</code>.
</p>
</div>
</div>
</div>
<div id="outline-container-org47c73ac" class="outline-2">
<h2 id="org47c73ac">Movies</h2>
<div class="outline-text-2" id="text-org47c73ac">
</div>
<div id="outline-container-orga93de38" class="outline-3">
<h3 id="orga93de38"><code>mpv</code> - Media Player</h3>
<div class="outline-text-3" id="text-orga93de38">
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> apt install mpv
</pre>
</div>
<p>
The configuration is set in <code>/.config/mpv/input.conf</code>.
</p>
</div>
</div>
</div>
<div id="outline-container-org9dcdff5" class="outline-2">
<h2 id="org9dcdff5">Contact Manager</h2>
<div class="outline-text-2" id="text-org9dcdff5">
</div>
<div id="outline-container-org5faa603" class="outline-3">
<h3 id="org5faa603"><code>khard</code> - Google Conctacts</h3>
<div class="outline-text-3" id="text-org5faa603">
<p>
<a href="https://github.com/scheibler/khard">https://github.com/scheibler/khard</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -Ss khard
</pre>
</div>
<p>
This is the command line interface for contact management.
</p>
<p>
Contact synchronization:
Vdirsyncer is used for contact synchronization with Google.
</p>
<p>
To search with Khard: <code>khard &lt;conctact-name&gt;</code>
</p>
</div>
</div>
<div id="outline-container-org0bd5617" class="outline-3">
<h3 id="org0bd5617"><code>mu</code> - Index Emails</h3>
<div class="outline-text-3" id="text-org0bd5617">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install maildir-utils
</pre>
</div>
<p>
This looks for contacts in all indexed emails.
<code>mu cfind &lt;name&gt;</code>
</p>
</div>
</div>
</div>
<div id="outline-container-org7956f43" class="outline-2">
<h2 id="org7956f43"><code>redshift</code></h2>
<div class="outline-text-2" id="text-org7956f43">
<p>
<a href="http://jonls.dk/redshift/">http://jonls.dk/redshift/</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> apt install redshift
</pre>
</div>
</div>
</div>
<div id="outline-container-org6b75056" class="outline-2">
<h2 id="org6b75056">Mail Setup</h2>
<div class="outline-text-2" id="text-org6b75056">
<p>
<a href="mail.html">Link</a> to the mail setup.
</p>
</div>
<div id="outline-container-org6301bcc" class="outline-3">
<h3 id="org6301bcc"><code>mbsync</code> - Synchronize Mailboxes</h3>
<div class="outline-text-3" id="text-org6301bcc">
<p>
<a href="http://isync.sourceforge.net/">http://isync.sourceforge.net/</a>
<a href="https://wiki.archlinux.org/index.php/Isync">https://wiki.archlinux.org/index.php/Isync</a>
</p>
</div>
<div id="outline-container-org38424a9" class="outline-4">
<h4 id="org38424a9">Installation</h4>
<div class="outline-text-4" id="text-org38424a9">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install isync
</pre>
</div>
</div>
</div>
<div id="outline-container-org31bb6f0" class="outline-4">
<h4 id="org31bb6f0">Configuration</h4>
<div class="outline-text-4" id="text-org31bb6f0">
<p>
<code>~/.mbsyncrc</code>
</p>
</div>
</div>
<div id="outline-container-orgbc34732" class="outline-4">
<h4 id="orgbc34732">Automation using systemd</h4>
<div class="outline-text-4" id="text-orgbc34732">
</div>
<div id="outline-container-orgf627411" class="outline-5">
<h5 id="orgf627411">Retreive New mails</h5>
<div class="outline-text-5" id="text-orgf627411">
<ul class="org-ul">
<li><code>checkmail</code></li>
<li><code>~/.config/systemd/user/checkmail.service</code></li>
<li><code>~/.config/systemd/user/checkmail.timer</code></li>
</ul>
<div class="org-src-container">
<pre class="src src-bash">systemctl --user enable checkmail.timer
systemctl --user start checkmail.timer
</pre>
</div>
</div>
</div>
<div id="outline-container-org4a4f994" class="outline-5">
<h5 id="org4a4f994">Synchronize all the mailboxes</h5>
<div class="outline-text-5" id="text-org4a4f994">
<ul class="org-ul">
<li><code>~/.config/systemd/user/syncmail.service</code></li>
<li><code>~/.config/systemd/user/syncmail.timer</code></li>
</ul>
<div class="org-src-container">
<pre class="src src-bash">systemctl --user enable syncmail.timer
systemctl --user start syncmail.timer
</pre>
</div>
</div>
</div>
</div>
</div>
<div id="outline-container-orgac842c2" class="outline-3">
<h3 id="orgac842c2"><code>msmtp</code> - Send Mails</h3>
<div class="outline-text-3" id="text-orgac842c2">
<p>
<a href="https://marlam.de/msmtp/">https://marlam.de/msmtp/</a>
</p>
</div>
<div id="outline-container-orgcb40b42" class="outline-4">
<h4 id="orgcb40b42">Installation</h4>
<div class="outline-text-4" id="text-orgcb40b42">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install msmtp
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org7251436" class="outline-3">
<h3 id="org7251436"><code>mu</code> - Mail Index, Search and Tagging</h3>
<div class="outline-text-3" id="text-org7251436">
<p>
<a href="https://github.com/djcb/mu">https://github.com/djcb/mu</a>
</p>
</div>
</div>
<div id="outline-container-orgb678b8e" class="outline-3">
<h3 id="orgb678b8e"><code>neomutt</code> - Mail Client</h3>
<div class="outline-text-3" id="text-orgb678b8e">
<p>
<a href="https://github.com/neomutt/neomutt">https://github.com/neomutt/neomutt</a>
</p>
</div>
<div id="outline-container-orgadf8ce0" class="outline-4">
<h4 id="orgadf8ce0">Installation</h4>
<div class="outline-text-4" id="text-orgadf8ce0">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install neomutt
</pre>
</div>
</div>
</div>
<div id="outline-container-orge4adc86" class="outline-4">
<h4 id="orge4adc86">Display html mails</h4>
<div class="outline-text-4" id="text-orge4adc86">
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> apt install w3m
</pre>
</div>
</div>
</div>
<div id="outline-container-orgdca6692" class="outline-4">
<h4 id="orgdca6692">Open Url from mail</h4>
<div class="outline-text-4" id="text-orgdca6692">
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> apt install urlview
</pre>
</div>
</div>
</div>
<div id="outline-container-org1bb2a0b" class="outline-4">
<h4 id="org1bb2a0b">Ressources</h4>
<div class="outline-text-4" id="text-org1bb2a0b">
<ul class="org-ul">
<li><a href="http://therandymon.com/woodnotes/mutt/using-mutt.html">http://therandymon.com/woodnotes/mutt/using-mutt.html</a></li>
<li><a href="https://ankursinha.in/2017/12/16/transitioning-to-neomutt-and-friends-for-e-mail.html">https://ankursinha.in/2017/12/16/transitioning-to-neomutt-and-friends-for-e-mail.html</a></li>
<li><a href="https://github.com/LukeSmithxyz/mutt-wizard">https://github.com/LukeSmithxyz/mutt-wizard</a></li>
</ul>
</div>
</div>
</div>
<div id="outline-container-org51e8f29" class="outline-3">
<h3 id="org51e8f29">Notification system</h3>
<div class="outline-text-3" id="text-org51e8f29">
<p>
A script (<code>checkmail</code>) is used to retreive new mails and use <code>notify=send</code> is there are new received mails.
</p>
</div>
</div>
</div>
<div id="outline-container-org94ed5e2" class="outline-2">
<h2 id="org94ed5e2"><code>ranger=/=pcmanfm</code> - File Manager</h2>
<div class="outline-text-2" id="text-org94ed5e2">
<p>
Configuration files:
</p>
<ul class="org-ul">
<li>GUI: <a href="pcmanfm.html">Pcmanfm</a></li>
<li>Terminal based: <a href="ranger.html">Ranger</a></li>
</ul>
</div>
<div id="outline-container-org0689714" class="outline-3">
<h3 id="org0689714">Ranger</h3>
<div class="outline-text-3" id="text-org0689714">
<p>
<a href="https://github.com/ranger/ranger">https://github.com/ranger/ranger</a>
</p>
</div>
<div id="outline-container-orgb3fd092" class="outline-4">
<h4 id="orgb3fd092">Installation</h4>
<div class="outline-text-4" id="text-orgb3fd092">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install ranger
</pre>
</div>
</div>
</div>
<div id="outline-container-org4c25888" class="outline-4">
<h4 id="org4c25888">Configuration</h4>
<div class="outline-text-4" id="text-org4c25888">
<p>
The configuration file is <code>~/.config/ranger/rc.conf</code>.
</p>
</div>
</div>
<div id="outline-container-org582bb32" class="outline-4">
<h4 id="org582bb32">Display pdf</h4>
<div class="outline-text-4" id="text-org582bb32">
<p>
All the display of the files are defined in <code>~/.config/ranger/scope.sh</code>.
</p>
<p>
It seems that Ranger is not working well with Termite. The screen is not refreshing after viewing one image (<a href="https://github.com/ranger/ranger/issues/859">Github Issue</a>).
</p>
<p>
It works better with Urxvt.
</p>
</div>
</div>
</div>
<div id="outline-container-org5a11531" class="outline-3">
<h3 id="org5a11531">GUI File Manager: pcmanfm</h3>
<div class="outline-text-3" id="text-org5a11531">
<p>
<a href="https://wiki.archlinux.org/index.php/PCManFM">https://wiki.archlinux.org/index.php/PCManFM</a>
</p>
</div>
</div>
</div>
<div id="outline-container-orgb9b36eb" class="outline-2">
<h2 id="orgb9b36eb"><code>sxiv</code> - Image viewer</h2>
<div class="outline-text-2" id="text-orgb9b36eb">
<p>
<a href="https://github.com/muennich/sxiv">https://github.com/muennich/sxiv</a>
<a href="https://www.youtube.com/watch?v=GYW9i_u5PYs">https://www.youtube.com/watch?v=GYW9i_u5PYs</a>
</p>
</div>
<div id="outline-container-orgf17d546" class="outline-3">
<h3 id="orgf17d546">Installation</h3>
<div class="outline-text-3" id="text-orgf17d546">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install sxiv
</pre>
</div>
</div>
</div>
<div id="outline-container-orga65b553" class="outline-3">
<h3 id="orga65b553">Open Gif</h3>
<div class="outline-text-3" id="text-orga65b553">
<div class="org-src-container">
<pre class="src src-bash">sxiv -a file.gif
</pre>
</div>
</div>
</div>
<div id="outline-container-org5892b51" class="outline-3">
<h3 id="org5892b51">Cheatsheet</h3>
<div class="outline-text-3" id="text-org5892b51">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Command</th>
<th scope="col" class="org-left">Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>-t</code></td>
<td class="org-left">Start in Thumbmail mode</td>
</tr>
<tr>
<td class="org-left"><code>f</code></td>
<td class="org-left">Toggle fullscreen</td>
</tr>
<tr>
<td class="org-left"><code>Return</code></td>
<td class="org-left">Switch to thumbmail mode</td>
</tr>
<tr>
<td class="org-left"><code>&lt;</code>, <code>&gt;</code></td>
<td class="org-left">Rotate the image</td>
</tr>
<tr>
<td class="org-left"><code>\vert</code>, <code>_</code></td>
<td class="org-left">Flip the image</td>
</tr>
<tr>
<td class="org-left"><code>n</code>, <code>p</code></td>
<td class="org-left">Next, Previous image</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="outline-container-orgffb5c23" class="outline-2">
<h2 id="orgffb5c23"><code>sxhkd</code> - HotKey Manager</h2>
<div class="outline-text-2" id="text-orgffb5c23">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install sxhkd
</pre>
</div>
<p>
Configuration file: <a href="sxhkd.html">SXHKD</a>.
</p>
</div>
</div>
<div id="outline-container-orgb4cad2c" class="outline-2">
<h2 id="orgb4cad2c"><code>i3</code> - Windows Manager</h2>
<div class="outline-text-2" id="text-orgb4cad2c">
<p>
<a href="i3.html">Link</a> to the documentation
</p>
</div>
<div id="outline-container-org68c6fb7" class="outline-3">
<h3 id="org68c6fb7">Installation</h3>
<div class="outline-text-3" id="text-org68c6fb7">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> add-apt-repository -y ppa:regolith-linux/stable
<span class="org-type">sudo</span> apt install i3-gaps
</pre>
</div>
</div>
</div>
<div id="outline-container-org166ce19" class="outline-3">
<h3 id="org166ce19">Configuration</h3>
<div class="outline-text-3" id="text-org166ce19">
<p>
<code>~/.i3/config</code>
</p>
</div>
</div>
</div>
<div id="outline-container-org10e707d" class="outline-2">
<h2 id="org10e707d"><code>polybar</code> - Top Bar</h2>
<div class="outline-text-2" id="text-org10e707d">
<p>
<a href="https://polybar.github.io/">https://polybar.github.io/</a>
</p>
<p>
<a href="polybar.html">Link</a> to the documentation.
</p>
</div>
<div id="outline-container-orgfc5852d" class="outline-3">
<h3 id="orgfc5852d">Installation</h3>
<div class="outline-text-3" id="text-orgfc5852d">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/soft
<span class="org-type">git</span> clone https://github.com/jaagr/polybar.git
<span class="org-type">cd</span> polybar
<span class="org-comment-delimiter"># </span><span class="org-comment">Install necessary</span>
<span class="org-type">sudo</span> apt install build-essential <span class="org-type">git</span> cmake cmake-data pkg-config python3-sphinx python3-packaging libuv1-dev libcairo2-dev libxcb1-dev libxcb-util0-dev libxcb-randr0-dev libxcb-composite0-dev python3-xcbgen xcb-proto libxcb-image0-dev libxcb-ewmh-dev libxcb-icccm4-dev
<span class="org-comment-delimiter"># </span><span class="org-comment">Install optional</span>
<span class="org-type">sudo</span> apt install libxcb-xkb-dev libxcb-xrm-dev libxcb-cursor-dev libasound2-dev libpulse-dev i3-wm libjsoncpp-dev libmpdclient-dev libcurl4-openssl-dev libnl-genl-3-dev
./build.sh
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgeeb7f03" class="outline-2">
<h2 id="orgeeb7f03"><code>picom</code> - Compositor</h2>
<div class="outline-text-2" id="text-orgeeb7f03">
<p>
<a href="https://wiki.archlinux.org/index.php/Picom">https://wiki.archlinux.org/index.php/Picom</a>
</p>
<p>
<a href="compositor.html">Link</a> to the documentation.
</p>
</div>
<div id="outline-container-orgb693544" class="outline-3">
<h3 id="orgb693544">Installation</h3>
<div class="outline-text-3" id="text-orgb693544">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install picom
</pre>
</div>
</div>
</div>
<div id="outline-container-org9a60966" class="outline-3">
<h3 id="org9a60966">Configuration</h3>
<div class="outline-text-3" id="text-org9a60966">
<p>
<code>~/.config/picom/picom.conf</code>
</p>
</div>
</div>
<div id="outline-container-orge9f5f59" class="outline-3">
<h3 id="orge9f5f59">Automatic run as daemon</h3>
<div class="outline-text-3" id="text-orge9f5f59">
<p>
Compton is run from <code>.xprofile</code> config in the background:
</p>
<div class="org-src-container">
<pre class="src src-bash">picom --daemon
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgea59012" class="outline-2">
<h2 id="orgea59012"><code>dunst</code> - Notification Manager</h2>
<div class="outline-text-2" id="text-orgea59012">
<p>
<a href="https://github.com/dunst-project/dunst">https://github.com/dunst-project/dunst</a>
<a href="https://wiki.archlinux.org/index.php/Dunst">https://wiki.archlinux.org/index.php/Dunst</a>
</p>
</div>
<div id="outline-container-orga112083" class="outline-3">
<h3 id="orga112083">Installation</h3>
<div class="outline-text-3" id="text-orga112083">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install dunst notify-send
</pre>
</div>
</div>
</div>
<div id="outline-container-org83ba6de" class="outline-3">
<h3 id="org83ba6de">Configuration</h3>
<div class="outline-text-3" id="text-org83ba6de">
<p>
<code>~/.config/dunst/dunstrc</code>
</p>
</div>
</div>
<div id="outline-container-orgc590771" class="outline-3">
<h3 id="orgc590771">Usage</h3>
<div class="outline-text-3" id="text-orgc590771">
<div class="org-src-container">
<pre class="src src-bash"> notify-send <span class="org-string">"AppName"</span> <span class="org-string">"Message"</span>
</pre>
</div>
<p>
The number <code>--replace</code> can be used with an ID to merge notifications from the
same application for instance.
</p>
</div>
</div>
</div>
<div id="outline-container-org25a4cc0" class="outline-2">
<h2 id="org25a4cc0">LaTeX</h2>
<div class="outline-text-2" id="text-org25a4cc0">
<p>
Installation
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install texlive-full
</pre>
</div>
<p>
Every custom class or packages can be put under <code>~/.local/share/texmf/tex/latex/local/</code> folder.
In order for LaTeX to be aware of new packages/classes, run <code>sudo texhash</code> each time a new custom package is added.
</p>
</div>
</div>
<div id="outline-container-org52d7a99" class="outline-2">
<h2 id="org52d7a99">Mathematical Software</h2>
<div class="outline-text-2" id="text-org52d7a99">
</div>
<div id="outline-container-org843a353" class="outline-3">
<h3 id="org843a353">Insect</h3>
<div class="outline-text-3" id="text-org843a353">
<p>
<a href="https://github.com/sharkdp/insect">https://github.com/sharkdp/insect</a>
</p>
<p>
Installation
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> apt install insect
</pre>
</div>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Command</th>
<th scope="col" class="org-left">Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>3 m/s to km/h</code></td>
<td class="org-left">Convert Unit</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-orgfaa753a" class="outline-3">
<h3 id="orgfaa753a">Matlab</h3>
<div class="outline-text-3" id="text-orgfaa753a">
<p>
<a href="https://wiki.archlinux.org/index.php/MATLAB#Installation">https://wiki.archlinux.org/index.php/MATLAB#Installation</a>
</p>
<p>
<a href="matlab.html">Link</a> to the configuration.
</p>
<p>
Installation
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> apt install matlab
</pre>
</div>
<p>
If there is a problem when opening a Simulink file, check the solution <a href="https://fr.mathworks.com/matlabcentral/answers/361053-can-t-reload-usr-local-matlab-r2017b-bin-glnxa64-libmwdastudio-so">here</a>.
</p>
</div>
</div>
<div id="outline-container-orge0803c0" class="outline-3">
<h3 id="orge0803c0">SageMath</h3>
<div class="outline-text-3" id="text-orge0803c0">
<p>
<a href="http://www.sagemath.org/">http://www.sagemath.org/</a>
<a href="https://wiki.archlinux.org/index.php/SageMath">https://wiki.archlinux.org/index.php/SageMath</a>
</p>
<p>
Installation
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> apt install sagemath
</pre>
</div>
<p>
Run <code>sage -n jupyter</code> to run jupyter notebooks
</p>
</div>
</div>
<div id="outline-container-org74bd2dd" class="outline-3">
<h3 id="org74bd2dd">Python and Jupyter-notebook</h3>
</div>
</div>
<div id="outline-container-orgd5a74d7" class="outline-2">
<h2 id="orgd5a74d7">Calendar</h2>
<div class="outline-text-2" id="text-orgd5a74d7">
<p>
<a href="calendar-contact.html">Link</a> to configuration
</p>
</div>
<div id="outline-container-org7461509" class="outline-3">
<h3 id="org7461509"><code>vdirsyncer</code> - Sync calendars</h3>
<div class="outline-text-3" id="text-org7461509">
<p>
<a href="https://github.com/pimutils/vdirsyncer">https://github.com/pimutils/vdirsyncer</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install vdirsyncer python-requests-oauthlib-doc
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> pip install requests-oauthlib
</pre>
</div>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Command</th>
<th scope="col" class="org-left">Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>vdirsyncer sync</code></td>
<td class="org-left">Synchronize</td>
</tr>
</tbody>
</table>
<p>
Setup the <code>google_calendar</code>:
</p>
<div class="org-src-container">
<pre class="src src-bash">vdirsyncer discover radicale_calendar
</pre>
</div>
<p>
And start the <code>systemd</code> timer that automatically synchronize the calendars;
</p>
<div class="org-src-container">
<pre class="src src-bash">systemctl --user enable --now vdirsyncer.timer
</pre>
</div>
<p>
To check the status of the service:
</p>
<div class="org-src-container">
<pre class="src src-bash">systemctl --user status vdirsyncer.service
</pre>
</div>
</div>
</div>
<div id="outline-container-org7315f96" class="outline-3">
<h3 id="org7315f96"><code>khal</code> - Calendar Client</h3>
<div class="outline-text-3" id="text-org7315f96">
<p>
<a href="https://github.com/pimutils/khal">https://github.com/pimutils/khal</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install khal
</pre>
</div>
<p>
Import ICS files:
</p>
<div class="org-src-container">
<pre class="src src-bash">khal import even.ics
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org0ae00e2" class="outline-2">
<h2 id="org0ae00e2"><code>zathura</code> - PDF Reader</h2>
<div class="outline-text-2" id="text-org0ae00e2">
<p>
<a href="https://pwmt.org/projects/zathura/">https://pwmt.org/projects/zathura/</a>
</p>
</div>
<div id="outline-container-org79cb54d" class="outline-3">
<h3 id="org79cb54d">Installation</h3>
<div class="outline-text-3" id="text-org79cb54d">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install zathura
</pre>
</div>
<p>
Then add dependecies to view specific files:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install zathura-pdf-mupdf zathura-djvu zathura-ps zathura-cb
</pre>
</div>
</div>
</div>
<div id="outline-container-org3592520" class="outline-3">
<h3 id="org3592520">Configuration</h3>
<div class="outline-text-3" id="text-org3592520">
<p>
<code>~/.config/zathura/zathurarc</code>
</p>
</div>
</div>
<div id="outline-container-orgaf25e5a" class="outline-3">
<h3 id="orgaf25e5a">Cheatsheet</h3>
<div class="outline-text-3" id="text-orgaf25e5a">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Command</th>
<th scope="col" class="org-left">Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>p</code></td>
<td class="org-left">Print the current pdf</td>
</tr>
<tr>
<td class="org-left"><code>tab</code></td>
<td class="org-left">Show the outline</td>
</tr>
<tr>
<td class="org-left"><code>r</code></td>
<td class="org-left">Reload</td>
</tr>
<tr>
<td class="org-left"><code>J/K</code></td>
<td class="org-left">Next/previous page</td>
</tr>
<tr>
<td class="org-left"><code>H/L</code></td>
<td class="org-left">Zoom in/out</td>
</tr>
<tr>
<td class="org-left"><code>a</code></td>
<td class="org-left">Fit height</td>
</tr>
<tr>
<td class="org-left"><code>s</code></td>
<td class="org-left">Fit width</td>
</tr>
<tr>
<td class="org-left"><code>D</code></td>
<td class="org-left">Double page</td>
</tr>
<tr>
<td class="org-left"><code>f</code></td>
<td class="org-left">Follow link</td>
</tr>
<tr>
<td class="org-left"><code>i</code></td>
<td class="org-left">Night Mode</td>
</tr>
<tr>
<td class="org-left"><code>&lt;n&gt;gg</code></td>
<td class="org-left">Go to page n</td>
</tr>
<tr>
<td class="org-left"><code>mm</code></td>
<td class="org-left">Mark current location to m</td>
</tr>
<tr>
<td class="org-left"><code>'m</code></td>
<td class="org-left">Goto location m</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-orgd86a28d" class="outline-3">
<h3 id="orgd86a28d">Multi-monitor pdf presentation - pdfpc</h3>
<div class="outline-text-3" id="text-orgd86a28d">
<p>
<a href="https://github.com/pdfpc/pdfpc">https://github.com/pdfpc/pdfpc</a>
</p>
<p>
pdfpc is a great tool for showing pdf presentations. It support:
</p>
<ul class="org-ul">
<li>screen splitting</li>
<li>support for videos in pdf presentations</li>
<li>support for notes</li>
<li>support for annotations</li>
</ul>
</div>
<div id="outline-container-org9be05cb" class="outline-4">
<h4 id="org9be05cb">Installation</h4>
<div class="outline-text-4" id="text-org9be05cb">
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> apt install pdfpc
</pre>
</div>
</div>
</div>
<div id="outline-container-org2aff926" class="outline-4">
<h4 id="org2aff926">Video support</h4>
<div class="outline-text-4" id="text-org2aff926">
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> apt install gst-plugins-ugly gst-plugins-good gst-plugins-base-libs gst-plugins-base gst-plugins-bad gst-libav
</pre>
</div>
</div>
</div>
<div id="outline-container-org083b825" class="outline-4">
<h4 id="org083b825">Usage</h4>
<div class="outline-text-4" id="text-org083b825">
<div class="org-src-container">
<pre class="src src-bash"> pdfpc filename.pdf
</pre>
</div>
</div>
</div>
</div>
</div>
<div id="outline-container-org445dc4a" class="outline-2">
<h2 id="org445dc4a">Display Manager</h2>
<div class="outline-text-2" id="text-org445dc4a">
<p>
Before, I was using <code>lightDM</code>, but a single tty is enough.
</p>
<p>
However, to make tools like Anydesk or Teamviewer to work:
Add &ldquo;type=x11&rdquo; in <code>/etc/pam.d/system-login</code>:
</p>
<div class="org-src-container">
<pre class="src src-conf"> <span class="org-variable-name">-session optional pam_systemd.so type</span>=x11
</pre>
</div>
<ul class="org-ul">
<li>When executing <code>loginctl session-status | grep Service</code> X11 should appear as initialized.</li>
<li><code>echo $XDG_SESSION_TYPE</code> should show <code>x11</code> instead of <code>tty</code> now</li>
</ul>
</div>
</div>
<div id="outline-container-org6d0663d" class="outline-2">
<h2 id="org6d0663d"><code>inkscape</code> - Graphical Editor</h2>
<div class="outline-text-2" id="text-org6d0663d">
<ul class="org-ul">
<li><a href="https://inkscape.org/">https://inkscape.org/</a></li>
<li>Tikz</li>
</ul>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> add-apt-repository ppa:inkscape.dev/stable
<span class="org-type">sudo</span> apt update
<span class="org-type">sudo</span> apt install inkscape
</pre>
</div>
</div>
</div>
<div id="outline-container-org9955fc6" class="outline-2">
<h2 id="org9955fc6"><code>wireguard</code> - VPN</h2>
<div class="outline-text-2" id="text-org9955fc6">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install wireguard-tools
</pre>
</div>
</div>
</div>
<div id="outline-container-org05c822f" class="outline-2">
<h2 id="org05c822f">Others</h2>
<div class="outline-text-2" id="text-org05c822f">
</div>
<div id="outline-container-orgccbe77e" class="outline-3">
<h3 id="orgccbe77e">Things to install</h3>
<div class="outline-text-3" id="text-orgccbe77e">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install xwallpaper mpc mpv maim
<span class="org-type">sudo</span> apt install freerdp2-x11 xsel xclip xdotool
<span class="org-type">sudo</span> apt install unclutter xautolock redshift
<span class="org-type">sudo</span> apt install atool unrar p7zip
</pre>
</div>
<p>
Diff so fancy
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> add-apt-repository ppa:aos1/diff-so-fancy
<span class="org-type">sudo</span> apt-get update
<span class="org-type">sudo</span> apt install diff-so-fancy
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/bin
wget https://raw.githubusercontent.com/carnager/rofi-pass/master/rofi-pass
<span class="org-type">chmod</span> +x rofi-pass
</pre>
</div>
<p>
For image preview in <code>ranger</code>:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> pip3 install ueberzug
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd3128df" class="outline-3">
<h3 id="orgd3128df"><code>maim=/=flameshot</code> - Take Screenshots</h3>
<div class="outline-text-3" id="text-orgd3128df">
<ul class="org-ul">
<li><a href="https://github.com/naelstrof/maim">https://github.com/naelstrof/maim</a></li>
<li><a href="https://github.com/lupoDharkael/flameshot">https://github.com/lupoDharkael/flameshot</a></li>
</ul>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install maim flameshot
</pre>
</div>
</div>
</div>
<div id="outline-container-org9d9cc7c" class="outline-3">
<h3 id="org9d9cc7c">Find Files</h3>
<div class="outline-text-3" id="text-org9d9cc7c">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install fd-find ripgrep fzf
</pre>
</div>
</div>
</div>
<div id="outline-container-org056ce20" class="outline-3">
<h3 id="org056ce20">PDF/Image Utilities</h3>
<div class="outline-text-3" id="text-org056ce20">
<ul class="org-ul">
<li><a href="https://github.com/dawbarton/pdf2svg">https://github.com/dawbarton/pdf2svg</a></li>
<li><a href="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/">https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/</a></li>
<li><a href="https://github.com/Airblader/unclutter-xfixes">https://github.com/Airblader/unclutter-xfixes</a></li>
</ul>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install pdf2svg pdftk unclutter pdfarranger imagemagick
</pre>
</div>
</div>
</div>
<div id="outline-container-org0f004d9" class="outline-3">
<h3 id="org0f004d9">Trash</h3>
<div class="outline-text-3" id="text-org0f004d9">
<p>
<code>trash-cli</code> is used to manage the trash.
It is integrated with <code>ranger</code> and <code>pcmanFM</code>.
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> apt install trash-cli
</pre>
</div>
</div>
</div>
<div id="outline-container-org1f22f91" class="outline-3">
<h3 id="org1f22f91">Nice other programs</h3>
<div class="outline-text-3" id="text-org1f22f91">
<ul class="org-ul">
<li><a href="https://github.com/leonwind/cli2cloud">https://github.com/leonwind/cli2cloud</a></li>
<li>Gnu Make alternative <a href="https://github.com/taskctl/taskctl">https://github.com/taskctl/taskctl</a></li>
</ul>
</div>
</div>
</div>
<div id="outline-container-orge8798c2" class="outline-2">
<h2 id="orge8798c2">Printer</h2>
<div class="outline-text-2" id="text-orge8798c2">
<p>
<a href="https://wiki.archlinux.org/index.php/CUPS">https://wiki.archlinux.org/index.php/CUPS</a>
Web based administration: <a href="http://localhost:631/">http://localhost:631/</a>
</p>
<p>
To install the ESRF printer:
</p>
<div class="org-src-container">
<pre class="src src-bash">lpadmin -p ctb127c1u -v ipp://cups.esrf.fr/printers/ctb127c1u -E
</pre>
</div>
<p>
<code>system-config-printer</code>
</p>
<p>
Check the queue
</p>
<div class="org-src-container">
<pre class="src src-bash"> lpq
lpq -a <span class="org-comment-delimiter"># </span><span class="org-comment">on all queues</span>
</pre>
</div>
<p>
Clear the queue
</p>
<div class="org-src-container">
<pre class="src src-bash"> lprm <span class="org-comment-delimiter"># </span><span class="org-comment">remove last entry only</span>
lprm - <span class="org-comment-delimiter"># </span><span class="org-comment">remove all entries</span>
</pre>
</div>
<p>
Print a file
</p>
<div class="org-src-container">
<pre class="src src-bash"> lpr -P printer_name filename.pdf
</pre>
</div>
<p>
List available printers
</p>
<div class="org-src-container">
<pre class="src src-bash"> lpstat -a
</pre>
</div>
<p>
Stats about the printer
</p>
<div class="org-src-container">
<pre class="src src-bash"> lpstat -p printer_name
</pre>
</div>
</div>
</div>
<div id="outline-container-orgdf06299" class="outline-2">
<h2 id="orgdf06299">List of all the install programs</h2>
<div class="outline-text-2" id="text-orgdf06299">
</div>
<div id="outline-container-orgdb02e65" class="outline-3">
<h3 id="orgdb02e65">Mutt</h3>
<div class="outline-text-3" id="text-orgdb02e65">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left"><code>neomutt</code></td>
<td class="org-left">Teaching an Old Dog New Tricks</td>
</tr>
<tr>
<td class="org-left"><code>msmtp</code></td>
<td class="org-left">SMTP client that can be used as an SMTP plugin for Mutt</td>
</tr>
<tr>
<td class="org-left"><code>isync</code></td>
<td class="org-left">Synchronize a maildir with an IMAP server</td>
</tr>
<tr>
<td class="org-left"><code>vdirsyncer</code></td>
<td class="org-left">Synchronize calendars and contacts</td>
</tr>
<tr>
<td class="org-left"><code>abook</code></td>
<td class="org-left">Address book with mutt support</td>
</tr>
<tr>
<td class="org-left"><code>urlview</code></td>
<td class="org-left">URL extractor/launcher</td>
</tr>
<tr>
<td class="org-left"><code>w3m</code></td>
<td class="org-left">Pager/text based browser</td>
</tr>
<tr>
<td class="org-left"><code>lynx</code></td>
<td class="org-left">Text mode web browser</td>
</tr>
<tr>
<td class="org-left"><code>lbdb</code></td>
<td class="org-left">Little brother&rsquo;s database for the mutt mail reader</td>
</tr>
<tr>
<td class="org-left"><code>mu</code></td>
<td class="org-left">Tool for searching e-mail messages stored in the maildir-format</td>
</tr>
<tr>
<td class="org-left"><code>ripmime</code></td>
<td class="org-left">Extract attachments out of MIME encoded email packages</td>
</tr>
<tr>
<td class="org-left"><code>shared</code></td>
<td class="org-left">mime-info - Database of common MIME types</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org3a409b3" class="outline-3">
<h3 id="org3a409b3">File Management</h3>
<div class="outline-text-3" id="text-org3a409b3">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left"><code>grep</code></td>
<td class="org-left">GNU grep, egrep and fgrep</td>
</tr>
<tr>
<td class="org-left"><code>pdfgrep</code></td>
<td class="org-left">Search PDFs for strings matching a regular expression</td>
</tr>
<tr>
<td class="org-left"><code>the_platinum_searcher</code></td>
<td class="org-left">Multi-platform code-search similar to ack and ag</td>
</tr>
<tr>
<td class="org-left"><code>the_silver_searcher</code></td>
<td class="org-left">Code-search similar to ack</td>
</tr>
<tr>
<td class="org-left"><code>fdupes</code></td>
<td class="org-left">Identify or delete duplicate files</td>
</tr>
<tr>
<td class="org-left"><code>findutils</code></td>
<td class="org-left">Collection of GNU find, xargs, and locate</td>
</tr>
<tr>
<td class="org-left"><code>ranger</code></td>
<td class="org-left">File browser</td>
</tr>
<tr>
<td class="org-left"><code>vifm</code></td>
<td class="org-left">Ncurses based file manager with vi like keybindings</td>
</tr>
<tr>
<td class="org-left"><code>tree</code></td>
<td class="org-left">Display directories as trees (with optional color/HTML output)</td>
</tr>
<tr>
<td class="org-left"><code>p7zip</code></td>
<td class="org-left">7-Zip (high compression file archiver) implementation</td>
</tr>
<tr>
<td class="org-left"><code>unrar</code></td>
<td class="org-left">Extract, view, and test RAR archives</td>
</tr>
<tr>
<td class="org-left"><code>atool</code> <code>zip</code></td>
<td class="org-left">script for managing file archives of various types</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org5192d2c" class="outline-3">
<h3 id="org5192d2c">File Downloader</h3>
<div class="outline-text-3" id="text-org5192d2c">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left"><code>wget</code></td>
<td class="org-left">Internet file retriever</td>
</tr>
<tr>
<td class="org-left"><code>htop</code></td>
<td class="org-left">Improved top (interactive process viewer)</td>
</tr>
<tr>
<td class="org-left"><code>httpie</code></td>
<td class="org-left">User-friendly cURL replacement (command-line HTTP client)</td>
</tr>
<tr>
<td class="org-left"><code>curl</code></td>
<td class="org-left">Get a file from an HTTP, HTTPS or FTP server</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org89cdaa3" class="outline-3">
<h3 id="org89cdaa3">Utils</h3>
<div class="outline-text-3" id="text-org89cdaa3">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left"><code>binutils</code></td>
<td class="org-left">GNU Binary Utilities</td>
</tr>
<tr>
<td class="org-left"><code>coreutils</code></td>
<td class="org-left">GNU File, Shell, and Text utilities</td>
</tr>
<tr>
<td class="org-left"><code>gnome</code></td>
<td class="org-left">doc-utils - Documentation utilities for the GNOME project</td>
</tr>
<tr>
<td class="org-left"><code>moreutils</code></td>
<td class="org-left">Collection of tools that nobody wrote when UNIX was young</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-orga0b1612" class="outline-3">
<h3 id="orga0b1612">A trier</h3>
<div class="outline-text-3" id="text-orga0b1612">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left"><code>asciinema</code></td>
<td class="org-left">Terminal session recorder</td>
</tr>
<tr>
<td class="org-left"><code>automake</code></td>
<td class="org-left">tool for automatically generating Makefile</td>
</tr>
<tr>
<td class="org-left"><code>cmake</code></td>
<td class="org-left">Cross-platform make</td>
</tr>
<tr>
<td class="org-left"><code>cputhrottle</code></td>
<td class="org-left">Limit the CPU usage of a process</td>
</tr>
<tr>
<td class="org-left"><code>ctags</code></td>
<td class="org-left">Reimplementation of ctags</td>
</tr>
<tr>
<td class="org-left"><code>gdb</code></td>
<td class="org-left">GNU debugger</td>
</tr>
<tr>
<td class="org-left"><code>ghostscript</code></td>
<td class="org-left">Interpreter for PostScript and PDF</td>
</tr>
<tr>
<td class="org-left"><code>go</code></td>
<td class="org-left">Open source programming language to build simple/reliable/efficient software</td>
</tr>
<tr>
<td class="org-left"><code>hugo</code></td>
<td class="org-left">Configurable static site generator</td>
</tr>
<tr>
<td class="org-left"><code>markdown</code></td>
<td class="org-left">Text-to-HTML conversion tool</td>
</tr>
<tr>
<td class="org-left"><code>pandoc</code></td>
<td class="org-left">Swiss-army knife of markup format conversion</td>
</tr>
<tr>
<td class="org-left"><code>uni</code></td>
<td class="org-left">Query the Unicode database from the commandline</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2022-05-09 lun. 10:04</p>
</div>
</body>
</html>