literate-dotfiles/docs/install.html

4495 lines
121 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>
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Installation</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" />
<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">
<h1 class="title">Installation</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org6d375e1"><code>yay</code> - Package Manager</a></li>
<li><a href="#orgfd098ac"><code>git</code> - Version Control System</a></li>
<li><a href="#org43a594f"><code>termite</code> - Terminal</a></li>
<li><a href="#orgfeefb67"><code>bash</code> - Shell</a></li>
<li><a href="#orge245cf3"><code>tmux</code> - Terminal Multiplexer</a></li>
<li><a href="#org7ff3a78">Fonts</a></li>
<li><a href="#org58bb452"><code>emacs</code> and <code>vim</code> - Text Editors</a>
<ul>
<li><a href="#orgb587381">Neovim</a></li>
<li><a href="#org35b5ea5">Emacs</a></li>
</ul>
</li>
<li><a href="#org206b33a">SSH setup</a></li>
<li><a href="#orgb847de8">GnuPG</a></li>
<li><a href="#org279ee0b"><code>rofi</code> - Application Launcher</a></li>
<li><a href="#orgce1f32d"><code>pass</code> - Password Manager</a>
<ul>
<li><a href="#org0e16ba2">Integration with other programs</a></li>
<li><a href="#org8747100">Alternative - Bitwarden</a></li>
</ul>
</li>
<li><a href="#org3faed1a"><code>buku</code> - Bookmark Manager</a>
<ul>
<li><a href="#orga60529d">Installation</a></li>
<li><a href="#org66b2873">Integration with Rofi</a>
<ul>
<li><a href="#org68aae66">Installation</a></li>
<li><a href="#orgc84e212">Configuration</a></li>
</ul>
</li>
<li><a href="#org95386c4">Integration with qutebrowser</a></li>
<li><a href="#org731f2dd">Synchronization with a git repository</a></li>
<li><a href="#orgf877133">Import Bookmarks from Firefox and Chrome</a></li>
<li><a href="#orga16f95a">Web Interface</a></li>
<li><a href="#orgd4263bb">Cheatsheet</a></li>
<li><a href="#org5949612">Alternatives</a></li>
</ul>
</li>
<li><a href="#orga55a047"><code>qutebrowser</code> - Browser</a>
<ul>
<li><a href="#orgbb25038">Installation</a></li>
<li><a href="#org39f7a62">View Pdf inside qutebrowser with pdfjs</a>
<ul>
<li><a href="#org15f7bb0">Installation</a></li>
<li><a href="#org2083266">Usage</a></li>
</ul>
</li>
<li><a href="#org013ba8f">Integration with Pass: the password manager</a></li>
<li><a href="#org26337db">Integration with Buku</a></li>
<li><a href="#org831d9e5">Spell Checking</a></li>
<li><a href="#org90df920"><code>firefox</code></a></li>
</ul>
</li>
<li><a href="#org3a38ac4"><code>xrandr</code> - Monitor Manager</a></li>
<li><a href="#org79fe3ff">Music Setup</a>
<ul>
<li><a href="#org647a9df"><code>pulseaudio</code> - Sound Server</a></li>
<li><a href="#org080e610"><code>pavucontrol</code> - Sound Manager</a></li>
<li><a href="#org1d788c5"><code>mopidy</code> - Audio Server</a></li>
<li><a href="#org584e599"><code>ncmpcpp</code> - MPD Client</a></li>
<li><a href="#org095bf00"><code>beets</code> - Library Manager</a></li>
</ul>
</li>
<li><a href="#org29c6832">Movies</a>
<ul>
<li><a href="#org7b6c5d8"><code>mpv</code> - Media Player</a></li>
<li><a href="#org1057c89"><code>catt</code> - Chromecast</a></li>
</ul>
</li>
<li><a href="#orgfd70759">Contact Manager</a>
<ul>
<li><a href="#orgc6d2e29"><code>khard</code> - Google Conctacts</a></li>
<li><a href="#orga996c19"><code>mu</code> - Index Emails</a></li>
</ul>
</li>
<li><a href="#org3b6c55a"><code>weechat</code> - Chat Application</a>
<ul>
<li><a href="#orgbea33e5">Installation</a></li>
<li><a href="#orgce5f866">Enable mouse support</a></li>
<li><a href="#org2e3ae2e">Scripts</a></li>
<li><a href="#orgc35ab72">Theme</a></li>
<li><a href="#org3be6ef2">Configuration</a></li>
<li><a href="#org1bedc2c">Multi-line messages</a></li>
<li><a href="#orgdabe0b1">Send message using <code>$EDITOR</code></a></li>
<li><a href="#org58be0d2">CheatSheet</a></li>
<li><a href="#org509ffd4">Slack Integration</a>
<ul>
<li><a href="#org9289017">Installation</a></li>
<li><a href="#org4e33767">Add your Slack API key(s)</a></li>
</ul>
</li>
<li><a href="#org0389f72">Aspell</a></li>
<li><a href="#org803f4c1">Notifications</a></li>
<li><a href="#orgbd62665">Deamon and Client</a></li>
</ul>
</li>
<li><a href="#org82e306e"><code>redshift</code></a></li>
<li><a href="#org819f33a">Mail Setup</a>
<ul>
<li><a href="#org12c74b1"><code>mbsync</code> - Synchronize Mailboxes</a>
<ul>
<li><a href="#org8469f2c">Installation</a></li>
<li><a href="#org1438dad">Configuration</a></li>
<li><a href="#org1ae519a">Automation using systemd</a>
<ul>
<li><a href="#org0635e65">Retreive New mails</a></li>
<li><a href="#org5ca2dfd">Synchronize all the mailboxes</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#org6772b74"><code>msmtp</code> - Send Mails</a>
<ul>
<li><a href="#orgabdbb6e">Installation</a></li>
</ul>
</li>
<li><a href="#org4b6cea1"><code>mu</code> - Mail Index, Search and Tagging</a></li>
<li><a href="#orge78a982"><code>neomutt</code> - Mail Client</a>
<ul>
<li><a href="#org72a4f49">Installation</a></li>
<li><a href="#org7d3dd45">Display html mails</a></li>
<li><a href="#org18d6f5c">Open Url from mail</a></li>
<li><a href="#org8668b7f">Ressources</a></li>
</ul>
</li>
<li><a href="#org9998819">Notification system</a></li>
</ul>
</li>
<li><a href="#org523367b"><code>ranger=/=pcmanfm</code> - File Manager</a>
<ul>
<li><a href="#org79b747c">Ranger</a>
<ul>
<li><a href="#orge600ebe">Installation</a></li>
<li><a href="#org4d7cfe9">Configuration</a></li>
<li><a href="#orga7f1329">Display pdf</a></li>
</ul>
</li>
<li><a href="#orgeefd008">GUI File Manager: pcmanfm</a></li>
</ul>
</li>
<li><a href="#org0ceb81d"><code>sxiv</code> - Image viewer</a>
<ul>
<li><a href="#org7c2b09c">Installation</a></li>
<li><a href="#org1d4a585">Open Gif</a></li>
<li><a href="#org3cf7d23">Cheatsheet</a></li>
</ul>
</li>
<li><a href="#orga293c83"><code>sxhkd</code> - HotKey Manager</a></li>
<li><a href="#orgb9ddb93"><code>i3</code> - Windows Manager</a>
<ul>
<li><a href="#org37ef10f">Installation</a></li>
<li><a href="#org28433b9">Configuration</a></li>
</ul>
</li>
<li><a href="#org2021f80"><code>polybar</code> - Top Bar</a>
<ul>
<li><a href="#orgcd15094">Installation</a></li>
</ul>
</li>
<li><a href="#orgc4420f9"><code>picom</code> - Compositor</a>
<ul>
<li><a href="#org6fa1004">Installation</a></li>
<li><a href="#org0e753bb">Configuration</a></li>
<li><a href="#org3eda8aa">Automatic run as daemon</a></li>
</ul>
</li>
<li><a href="#org2f8f940"><code>dunst</code> - Notification Manager</a>
<ul>
<li><a href="#org1b888fa">Installation</a></li>
<li><a href="#org987b1bf">Configuration</a></li>
<li><a href="#orgeb85a3c">Usage</a></li>
</ul>
</li>
<li><a href="#org4178a17">Office Suite</a>
<ul>
<li><a href="#org1a964eb"><code>libreoffice</code></a></li>
<li><a href="#org1011bb3"><code>wps</code> Office</a></li>
<li><a href="#org9425908"><code>sc-im</code> - Minimap SpreadSheet</a></li>
</ul>
</li>
<li><a href="#org6da3f70"><code>blueman</code> - Bluetooth Manager</a></li>
<li><a href="#org47b286b"><code>udiskie</code> - Automatically Mount devices</a></li>
<li><a href="#org5cfb55f">LaTeX</a></li>
<li><a href="#orgb7d846d">Mathematical Software</a>
<ul>
<li><a href="#org6057ab6">Insect</a></li>
<li><a href="#orgc271cf8">Matlab</a></li>
<li><a href="#org9585ba1">SageMath</a></li>
<li><a href="#orgc62519c">Python and Jupyter-notebook</a></li>
</ul>
</li>
<li><a href="#orgdb1801f">Download Manager</a>
<ul>
<li><a href="#orgac3b220"><code>aria2</code> and <code>aria2p</code></a></li>
<li><a href="#orgfd450d2"><code>transmission</code> and <code>tremc</code></a></li>
<li><a href="#org8a629cb"><code>youtube-dl</code></a></li>
</ul>
</li>
<li><a href="#org884e45c">Default Applications</a></li>
<li><a href="#org16e9c60">Desktop files</a></li>
<li><a href="#org718d63c">Bibliography Management</a></li>
<li><a href="#org76a92c2">Calendar</a>
<ul>
<li><a href="#org637a251"><code>vdirsyncer</code> - Sync calendars</a></li>
<li><a href="#org7e41a40"><code>khal</code> - Calendar Client</a></li>
</ul>
</li>
<li><a href="#orgc55bbf2"><code>newsboat</code> - RSS Reader</a></li>
<li><a href="#org6a8646d"><code>orgmode</code> - Task Manager</a></li>
<li><a href="#orga841f53"><code>zathura</code> - PDF Reader</a>
<ul>
<li><a href="#org1ee2b54">Installation</a></li>
<li><a href="#orge029c21">Configuration</a></li>
<li><a href="#org70fcfb3">Cheatsheet</a></li>
<li><a href="#orgf6c7dea">Multi-monitor pdf presentation - pdfpc</a>
<ul>
<li><a href="#org0476127">Installation</a></li>
<li><a href="#orge1b13e7">Video support</a></li>
<li><a href="#orgc8c0e83">Usage</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#org403120a">Display Manager</a></li>
<li><a href="#org6f8e56a"><code>gtk=/=qt</code> - Managing Theme</a>
<ul>
<li><a href="#org1f9e14f">GTK Themes</a>
<ul>
<li><a href="#orgb4295ec">Gui Manager</a></li>
<li><a href="#orge68fb92">Icons and themes</a></li>
</ul>
</li>
<li><a href="#org2f8f733">QT Themes</a></li>
</ul>
</li>
<li><a href="#org58260ec"><code>droidcam</code> - Use Android phone as webcam</a></li>
<li><a href="#org34f9882"><code>inkscape</code> - Graphical Editor</a></li>
<li><a href="#orgb418d4c"><code>kdenlive</code> - Video Editor</a></li>
<li><a href="#org276a30b"><code>kazam</code> - Screen Recorder</a></li>
<li><a href="#org100211a"><code>obs-studio</code> - Live streaming and screen recording</a></li>
<li><a href="#org64fd10c"><code>anydesk</code> - Remote Desktop</a></li>
<li><a href="#orgfbeddca"><code>wireguard</code> - VPN</a></li>
<li><a href="#orgd48246b"><code>nordvpn</code> - VPN</a></li>
<li><a href="#org9bb91c2">Others</a>
<ul>
<li><a href="#orgf054688"><code>maim=/=flameshot</code> - Take Screenshots</a></li>
<li><a href="#org72b76b6"><code>screenkey</code> - Show pressed keys</a></li>
<li><a href="#org530b4e7"><code>croc</code> - File transfer</a></li>
<li><a href="#orgd26025d">Find Files</a></li>
<li><a href="#orgbd7a136">PDF/Image Utilities</a></li>
<li><a href="#org635c3c6">Trash</a></li>
<li><a href="#org8f32507">Google translate from the command line</a></li>
<li><a href="#org477d50a">Show information about the machine</a></li>
</ul>
</li>
<li><a href="#org4c6eb49">Printer</a></li>
<li><a href="#org75b8fb8">Kernel Management</a></li>
<li><a href="#org7dc611c">Format disks</a></li>
<li><a href="#orgdab3895">Usefull commands</a>
<ul>
<li><a href="#orge958130">Readline</a>
<ul>
<li><a href="#orgee32033">Cursor Movement</a></li>
<li><a href="#org7a382e9">Copy &amp; Paste</a></li>
<li><a href="#org9790ec4">History</a></li>
<li><a href="#org317c04c">Completion</a></li>
</ul>
</li>
<li><a href="#orgb4a3de0">Others</a></li>
<li><a href="#org042d8d2">Archive and Extract</a></li>
<li><a href="#orgd465654">Hardware</a></li>
<li><a href="#orgd0eebf3">Network</a></li>
</ul>
</li>
<li><a href="#org87ca48f">After Install</a></li>
<li><a href="#orgb41f3b1">Configuration for Laptops</a>
<ul>
<li><a href="#orgf0690fa">Power Management Tool: Powertop</a></li>
<li><a href="#orgc45653d">Lid open/close</a></li>
</ul>
</li>
<li><a href="#org73b11c0">Some notes - Systemd</a></li>
<li><a href="#orgcb95e75">Ressources</a>
<ul>
<li><a href="#org24c5a0a">Dotfiles</a></li>
<li><a href="#orgfe7316a">Linux Softwares</a></li>
</ul>
</li>
<li><a href="#orge8f4fff">List of all the install programs</a>
<ul>
<li><a href="#orgfe37c2c">Mutt</a></li>
<li><a href="#orgd197f0b">Micro controllers</a></li>
<li><a href="#org2313020">File Management</a></li>
<li><a href="#org3aea9f0">File Downloader</a></li>
<li><a href="#org9abcbea">Utils</a></li>
<li><a href="#org5fbbfa3">A trier</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org6d375e1" class="outline-2">
<h2 id="org6d375e1"><code>yay</code> - Package Manager</h2>
<div class="outline-text-2" id="text-org6d375e1">
<p>
<a href="https://github.com/Jguer/yay">https://github.com/Jguer/yay</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> pacman -S yay
</pre>
</div>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 1:</span> <code>yay</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>yay</code></td>
<td class="org-left">Perform system upgrade</td>
</tr>
<tr>
<td class="org-left"><code>yay -Ss &lt;package&gt;</code></td>
<td class="org-left">Search</td>
</tr>
<tr>
<td class="org-left"><code>yay -S &lt;package&gt;</code></td>
<td class="org-left">Install</td>
</tr>
<tr>
<td class="org-left"><code>yay -Si &lt;package&gt;</code></td>
<td class="org-left">Get informations</td>
</tr>
<tr>
<td class="org-left"><code>yay -Rs &lt;package&gt;</code></td>
<td class="org-left">Uninstall</td>
</tr>
<tr>
<td class="org-left"><code>yay -Yc</code></td>
<td class="org-left">Clean unneeded dependencies</td>
</tr>
</tbody>
</table>
<p>
To check all installed packages:
</p>
<div class="org-src-container">
<pre class="src src-bash"> pacman -Qq | fzf --preview <span class="org-string">'pacman -Qil {}'</span> --layout=reverse --bind <span class="org-string">'enter:execute(pacman -Qil {} | </span><span class="org-type"><span class="org-string">less</span></span><span class="org-string">)'</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgfd098ac" class="outline-2">
<h2 id="orgfd098ac"><code>git</code> - Version Control System</h2>
<div class="outline-text-2" id="text-orgfd098ac">
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S <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>
<p>
<a href="https://github.com/so-fancy/diff-so-fancy">Diff-So-Fancy</a> is a nice addition to have good-looking diffs.
It can be installed like so:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S diff-so-fancy
</pre>
</div>
<p>
And configured with the following command:
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">git</span> config --global core.pager <span class="org-string">"diff-so-fancy | </span><span class="org-type"><span class="org-string">less</span></span><span class="org-string"> --tabs=4 -RFX"</span>
</pre>
</div>
<p>
<code>pass</code> can be used as credential helper for git repositories.
</p>
</div>
</div>
<div id="outline-container-org43a594f" class="outline-2">
<h2 id="org43a594f"><code>termite</code> - Terminal</h2>
<div class="outline-text-2" id="text-org43a594f">
<p>
<a href="https://github.com/thestinger/termite">Termite</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"> yay -S termite
</pre>
</div>
<p>
Its configuration file is described <a href="termite.html">here</a>.
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 2:</span> <code>termite</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-orgfeefb67" class="outline-2">
<h2 id="orgfeefb67"><code>bash</code> - Shell</h2>
<div class="outline-text-2" id="text-orgfeefb67">
<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"> yay -S 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-orge245cf3" class="outline-2">
<h2 id="orge245cf3"><code>tmux</code> - Terminal Multiplexer</h2>
<div class="outline-text-2" id="text-orge245cf3">
<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"> yay -S 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 3:</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-org7ff3a78" class="outline-2">
<h2 id="org7ff3a78">Fonts</h2>
<div class="outline-text-2" id="text-org7ff3a78">
<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"> yay -S nerd-fonts-hack
</pre>
</div>
<p>
For emojis, use:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S noto-fonts-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>
<p>
To select fonts using a GUI, <code>gtk2fontsel</code> can be used:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S gtk2fontsel
</pre>
</div>
</div>
</div>
<div id="outline-container-org58bb452" class="outline-2">
<h2 id="org58bb452"><code>emacs</code> and <code>vim</code> - Text Editors</h2>
<div class="outline-text-2" id="text-org58bb452">
</div>
<div id="outline-container-orgb587381" class="outline-3">
<h3 id="orgb587381">Neovim</h3>
<div class="outline-text-3" id="text-orgb587381">
<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"> yay -S neovim
</pre>
</div>
<p>
The Neovim configuration can be found <a href="vim.html">here</a>.
</p>
<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 \</span>
<span class="org-string"> 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
nvim +UpdateRemotePlugins
</pre>
</div>
</div>
</div>
<div id="outline-container-org35b5ea5" class="outline-3">
<h3 id="org35b5ea5">Emacs</h3>
<div class="outline-text-3" id="text-org35b5ea5">
<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"> yay -S emacs
</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
~/.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"> yay -S aspell aspell-en aspell-fr
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org206b33a" class="outline-2">
<h2 id="org206b33a">SSH setup</h2>
<div class="outline-text-2" id="text-org206b33a">
<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-orgb847de8" class="outline-2">
<h2 id="orgb847de8">GnuPG</h2>
<div class="outline-text-2" id="text-orgb847de8">
<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"> yay -S 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"> yay -S gnome-keyring
</pre>
</div>
</div>
</div>
<div id="outline-container-org279ee0b" class="outline-2">
<h2 id="org279ee0b"><code>rofi</code> - Application Launcher</h2>
<div class="outline-text-2" id="text-org279ee0b">
<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"> yay -S dmenu rofi rofi-calc
</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</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/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-orgce1f32d" class="outline-2">
<h2 id="orgce1f32d"><code>pass</code> - Password Manager</h2>
<div class="outline-text-2" id="text-orgce1f32d">
<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"> yay -S pass
</pre>
</div>
<p>
Initialize the password store as a git repository
</p>
<div class="org-src-container">
<pre class="src src-bash"> pass <span class="org-type">git</span> init
pass <span class="org-type">git</span> remote add origin https://github.com/tdehaeze/pass.git
</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"> yay -S 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"> yay -S rofi-pass
</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"> yay -S 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-org0e16ba2" class="outline-3">
<h3 id="org0e16ba2">Integration with other programs</h3>
<div class="outline-text-3" id="text-org0e16ba2">
<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-org8747100" class="outline-3">
<h3 id="org8747100">Alternative - Bitwarden</h3>
<div class="outline-text-3" id="text-org8747100">
<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-org3faed1a" class="outline-2">
<h2 id="org3faed1a"><code>buku</code> - Bookmark Manager</h2>
<div class="outline-text-2" id="text-org3faed1a">
<p>
<a href="https://github.com/jarun/Buku">https://github.com/jarun/Buku</a>
</p>
</div>
<div id="outline-container-orga60529d" class="outline-3">
<h3 id="orga60529d">Installation</h3>
<div class="outline-text-3" id="text-orga60529d">
<div class="org-src-container">
<pre class="src src-bash"> yay -S buku
</pre>
</div>
</div>
</div>
<div id="outline-container-org66b2873" class="outline-3">
<h3 id="org66b2873">Integration with Rofi</h3>
<div class="outline-text-3" id="text-org66b2873">
<p>
<a href="https://github.com/carnager/buku_run">https://github.com/carnager/buku_run</a>
</p>
</div>
<div id="outline-container-org68aae66" class="outline-4">
<h4 id="org68aae66">Installation</h4>
<div class="outline-text-4" id="text-org68aae66">
<div class="org-src-container">
<pre class="src src-bash"> wget https://raw.githubusercontent.com/carnager/buku_run/master/buku_run -o ~/.local/bin/buku_run
<span class="org-type">chmod</span> +x ~/.local/bin/buku_run
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc84e212" class="outline-4">
<h4 id="orgc84e212">Configuration</h4>
<div class="outline-text-4" id="text-orgc84e212">
<p>
The configuration file is here: <code>~/.config/buku_run/config</code>
</p>
</div>
</div>
</div>
<div id="outline-container-org95386c4" class="outline-3">
<h3 id="org95386c4">Integration with qutebrowser</h3>
<div class="outline-text-3" id="text-org95386c4">
<p>
<a href="#org26337db">Integration with Buku</a>
</p>
</div>
</div>
<div id="outline-container-org731f2dd" class="outline-3">
<h3 id="org731f2dd">Synchronization with a git repository</h3>
<div class="outline-text-3" id="text-org731f2dd">
<p>
The database is stored in <code>~/.local/share/buku/bookmarks.db</code>.
</p>
<p>
We initialize a git repository in this folder:
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">cd</span> ~/.local/share/buku/bookmarks.db
<span class="org-type">git</span> init
</pre>
</div>
<p>
Then we create a script that will automatically add <code>bookmarks.db</code> and push to some repository: <code>buku_git_push</code>.
</p>
<p>
To automatically run the script every day, a systemd unit is used: <code>~/.config/systemd/user/bukugit.timer</code> and <code>~/.config/systemd/user/bukugit.service</code>
</p>
<div class="org-src-container">
<pre class="src src-bash"> systemctl --user start --now bukugit.timer
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf877133" class="outline-3">
<h3 id="orgf877133">Import Bookmarks from Firefox and Chrome</h3>
<div class="outline-text-3" id="text-orgf877133">
<p>
From Firefox, export the bookmarks as html file.
Then import the bookmark file using <code>buku -i bookmarks.html</code>.
This will add a tag with current date to all bookmarks imported.
To remove them, use: <code>buku --replace '2018dec20' ''</code>
</p>
</div>
</div>
<div id="outline-container-orga16f95a" class="outline-3">
<h3 id="orga16f95a">Web Interface</h3>
<div class="outline-text-3" id="text-orga16f95a">
<p>
Run:
</p>
<div class="org-src-container">
<pre class="src src-bash"> bukuserver run --host 127.0.0.1 --port <span class="org-highlight-numbers-number">5001</span>
</pre>
</div>
<p>
And then browse to <a href="http://127.0.0.1:5001">http://127.0.0.1:5001</a>.
</p>
</div>
</div>
<div id="outline-container-orgd4263bb" class="outline-3">
<h3 id="orgd4263bb">Cheatsheet</h3>
<div class="outline-text-3" id="text-orgd4263bb">
<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>buku</code></td>
<td class="org-left">Run buku interactively</td>
</tr>
<tr>
<td class="org-left"><code>buku -p</code></td>
<td class="org-left">List all bookmarks</td>
</tr>
<tr>
<td class="org-left"><code>buku -w id</code></td>
<td class="org-left">Edit bookmark</td>
</tr>
<tr>
<td class="org-left"><code>buku -d id</code></td>
<td class="org-left">Delete bookmark</td>
</tr>
<tr>
<td class="org-left"><code>buku -s &lt;&gt;</code></td>
<td class="org-left">Search bookmarks</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org5949612" class="outline-3">
<h3 id="org5949612">Alternatives</h3>
<div class="outline-text-3" id="text-org5949612">
<ul class="org-ul">
<li><a href="https://github.com/RadhiFadlillah/shiori">https://github.com/RadhiFadlillah/shiori</a></li>
<li><a href="https://karl-voit.at/2014/08/10/bookmarks-with-orgmode/">https://karl-voit.at/2014/08/10/bookmarks-with-orgmode/</a></li>
</ul>
</div>
</div>
</div>
<div id="outline-container-orga55a047" class="outline-2">
<h2 id="orga55a047"><code>qutebrowser</code> - Browser</h2>
<div class="outline-text-2" id="text-orga55a047">
<p>
<a href="https://github.com/qutebrowser/qutebrowser">https://github.com/qutebrowser/qutebrowser</a>
</p>
</div>
<div id="outline-container-orgbb25038" class="outline-3">
<h3 id="orgbb25038">Installation</h3>
<div class="outline-text-3" id="text-orgbb25038">
<div class="org-src-container">
<pre class="src src-bash"> yay -S qutebrowser
</pre>
</div>
</div>
</div>
<div id="outline-container-org39f7a62" class="outline-3">
<h3 id="org39f7a62">View Pdf inside qutebrowser with pdfjs</h3>
<div class="outline-text-3" id="text-org39f7a62">
</div>
<div id="outline-container-org15f7bb0" class="outline-4">
<h4 id="org15f7bb0">Installation</h4>
<div class="outline-text-4" id="text-org15f7bb0">
<div class="org-src-container">
<pre class="src src-bash"> yay -S pdfjs
</pre>
</div>
</div>
</div>
<div id="outline-container-org2083266" class="outline-4">
<h4 id="org2083266">Usage</h4>
<div class="outline-text-4" id="text-org2083266">
<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-org013ba8f" class="outline-3">
<h3 id="org013ba8f">Integration with Pass: the password manager</h3>
<div class="outline-text-3" id="text-org013ba8f">
<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-org26337db" class="outline-3">
<h3 id="org26337db">Integration with Buku</h3>
<div class="outline-text-3" id="text-org26337db">
<p>
Custom key binding in <code>~/.config/qutebrowser/config.py</code>
</p>
<pre class="example">
# Add current page to Buku (Bookmark Manager)
config.bind('B', 'spawn buku -a {url}')
</pre>
</div>
</div>
<div id="outline-container-org831d9e5" class="outline-3">
<h3 id="org831d9e5">Spell Checking</h3>
<div class="outline-text-3" id="text-org831d9e5">
<div class="org-src-container">
<pre class="src src-bash"> /usr/share/qutebrowser/scripts/dictcli.py install fr-FR
/usr/share/qutebrowser/scripts/dictcli.py install en-US
</pre>
</div>
</div>
</div>
<div id="outline-container-org90df920" class="outline-3">
<h3 id="org90df920"><code>firefox</code></h3>
<div class="outline-text-3" id="text-org90df920">
<div class="org-src-container">
<pre class="src src-bash"> yay -S firefox-developer-edition
</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-org3a38ac4" class="outline-2">
<h2 id="org3a38ac4"><code>xrandr</code> - Monitor Manager</h2>
<div class="outline-text-2" id="text-org3a38ac4">
<div class="org-src-container">
<pre class="src src-bash"> yay -S xorg-xrandr 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-org79fe3ff" class="outline-2">
<h2 id="org79fe3ff">Music Setup</h2>
<div class="outline-text-2" id="text-org79fe3ff">
</div>
<div id="outline-container-org647a9df" class="outline-3">
<h3 id="org647a9df"><code>pulseaudio</code> - Sound Server</h3>
<div class="outline-text-3" id="text-org647a9df">
<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"> yay -S pulseaudio pulseaudio-alsa pulseaudio-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-org080e610" class="outline-3">
<h3 id="org080e610"><code>pavucontrol</code> - Sound Manager</h3>
<div class="outline-text-3" id="text-org080e610">
<p>
<code>pavucontrol</code> is used as a sound manager:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S pavucontrol
</pre>
</div>
</div>
</div>
<div id="outline-container-org1d788c5" class="outline-3">
<h3 id="org1d788c5"><code>mopidy</code> - Audio Server</h3>
<div class="outline-text-3" id="text-org1d788c5">
<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"> yay -S mopidy
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash"> python3 -m pip install --user mopidy-mpd mopidy-jellyfin mopidy-spotify
</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-org584e599" class="outline-3">
<h3 id="org584e599"><code>ncmpcpp</code> - MPD Client</h3>
<div class="outline-text-3" id="text-org584e599">
<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"> yay -S 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 id="outline-container-org095bf00" class="outline-3">
<h3 id="org095bf00"><code>beets</code> - Library Manager</h3>
<div class="outline-text-3" id="text-org095bf00">
<p>
<a href="https://github.com/beetbox/beets">https://github.com/beetbox/beets</a>
</p>
<p>
Installation;
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S beets
</pre>
</div>
<p>
Configuration folder: <code>~/.config/beets/</code>
</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>beet import &lt;folder&gt;</code></td>
<td class="org-left">Import folder to Music folder</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="outline-container-org29c6832" class="outline-2">
<h2 id="org29c6832">Movies</h2>
<div class="outline-text-2" id="text-org29c6832">
</div>
<div id="outline-container-org7b6c5d8" class="outline-3">
<h3 id="org7b6c5d8"><code>mpv</code> - Media Player</h3>
<div class="outline-text-3" id="text-org7b6c5d8">
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S mpv
</pre>
</div>
<p>
The configuration is set in <code>/.config/mpv/input.conf</code>.
</p>
</div>
</div>
<div id="outline-container-org1057c89" class="outline-3">
<h3 id="org1057c89"><code>catt</code> - Chromecast</h3>
<div class="outline-text-3" id="text-org1057c89">
<p>
<a href="https://github.com/skorokithakis/catt">https://github.com/skorokithakis/catt</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S catt
</pre>
</div>
<p>
Usage to cast videos to chromecast
</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">catt cast &ldquo;<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">https://www.youtube.com/watch?v=dQw4w9WgXcQ</a>&rdquo;</td>
<td class="org-left">Cast youtube video</td>
</tr>
<tr>
<td class="org-left">catt cast ./myvideo.mp4</td>
<td class="org-left">Cast local video</td>
</tr>
<tr>
<td class="org-left">catt add ./myvideo.mp4</td>
<td class="org-left">Add a video to the queue</td>
</tr>
<tr>
<td class="org-left">catt cast -s ./mysubtitle.srt /myvideo.mp4</td>
<td class="org-left">Add sub title</td>
</tr>
<tr>
<td class="org-left">catt cast_site <a href="https://en.wikipedia.org/wiki/Rickrolling">https://en.wikipedia.org/wiki/Rickrolling</a></td>
<td class="org-left">Cast website</td>
</tr>
</tbody>
</table>
<p>
Usage for controlling the device
</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">ffwd</td>
<td class="org-left">Fastforward a video by TIME duration</td>
</tr>
<tr>
<td class="org-left">rewind</td>
<td class="org-left">Rewind a video by TIME duration</td>
</tr>
<tr>
<td class="org-left">seek</td>
<td class="org-left">Seek the video to TIME position</td>
</tr>
<tr>
<td class="org-left">scan</td>
<td class="org-left">Scan the local network and show all Chromecasts and their IPs</td>
</tr>
<tr>
<td class="org-left">status</td>
<td class="org-left">Show some information about the currently-playing video</td>
</tr>
<tr>
<td class="org-left">pause</td>
<td class="org-left">Pause a video</td>
</tr>
<tr>
<td class="org-left">play</td>
<td class="org-left">Resume a video after it has been paused</td>
</tr>
<tr>
<td class="org-left">stop</td>
<td class="org-left">Stop playing</td>
</tr>
<tr>
<td class="org-left">skip</td>
<td class="org-left">Skip to end of content</td>
</tr>
<tr>
<td class="org-left">save</td>
<td class="org-left">Save the current state of the Chromecast for later use</td>
</tr>
<tr>
<td class="org-left">restore</td>
<td class="org-left">Return Chromecast to saved state</td>
</tr>
<tr>
<td class="org-left">volume</td>
<td class="org-left">Set the volume to LVL [0-100]</td>
</tr>
<tr>
<td class="org-left">volumedown</td>
<td class="org-left">Turn down volume by a DELTA increment</td>
</tr>
<tr>
<td class="org-left">volumeup</td>
<td class="org-left">Turn up volume by a DELTA increment</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="outline-container-orgfd70759" class="outline-2">
<h2 id="orgfd70759">Contact Manager</h2>
<div class="outline-text-2" id="text-orgfd70759">
</div>
<div id="outline-container-orgc6d2e29" class="outline-3">
<h3 id="orgc6d2e29"><code>khard</code> - Google Conctacts</h3>
<div class="outline-text-3" id="text-orgc6d2e29">
<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-orga996c19" class="outline-3">
<h3 id="orga996c19"><code>mu</code> - Index Emails</h3>
<div class="outline-text-3" id="text-orga996c19">
<div class="org-src-container">
<pre class="src src-bash"> yay -Ss mu
</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-org3b6c55a" class="outline-2">
<h2 id="org3b6c55a"><code>weechat</code> - Chat Application</h2>
<div class="outline-text-2" id="text-org3b6c55a">
<p>
<a href="https://weechat.org/files/doc/stable/weechat_user.en.html">https://weechat.org/files/doc/stable/weechat_user.en.html</a>
<a href="https://wiki.archlinux.org/index.php/WeeChat">https://wiki.archlinux.org/index.php/WeeChat</a>
<a href="https://gist.github.com/pascalpoitras/8406501">https://gist.github.com/pascalpoitras/8406501</a>
</p>
</div>
<div id="outline-container-orgbea33e5" class="outline-3">
<h3 id="orgbea33e5">Installation</h3>
<div class="outline-text-3" id="text-orgbea33e5">
<div class="org-src-container">
<pre class="src src-bash"> yay -S weechat
</pre>
</div>
<p>
Then we install some dependencies
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S tcl lua ruby
</pre>
</div>
</div>
</div>
<div id="outline-container-orgce5f866" class="outline-3">
<h3 id="orgce5f866">Enable mouse support</h3>
<div class="outline-text-3" id="text-orgce5f866">
<div class="org-src-container">
<pre class="src src-text"> /mouse enable
</pre>
</div>
</div>
</div>
<div id="outline-container-org2e3ae2e" class="outline-3">
<h3 id="org2e3ae2e">Scripts</h3>
<div class="outline-text-3" id="text-org2e3ae2e">
<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">highmon.pl</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">colorize_nicks.py</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">go.py</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">autosort.py</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">buddylist.pl</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">colorize_lines.pl</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">multiline.pl</td>
<td class="org-left">&#xa0;</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-orgc35ab72" class="outline-3">
<h3 id="orgc35ab72">Theme</h3>
<div class="outline-text-3" id="text-orgc35ab72">
<p>
<a href="https://www.bfoliver.com/technology/2017/07/15/weechat/">https://www.bfoliver.com/technology/2017/07/15/weechat/</a>
<a href="https://alexjj.com/blog/2016/9/setting-up-weechat/">https://alexjj.com/blog/2016/9/setting-up-weechat/</a>
</p>
<div class="org-src-container">
<pre class="src src-conf"> /set weechat.look.prefix_same_nick <span class="org-string">"&#10551;"</span>
/set weechat.look.prefix_error <span class="org-string">"&#9888;"</span>
/set weechat.look.prefix_action <span class="org-string">"&#9889;"</span>
/set weechat.look.bar_more_down <span class="org-string">"&#9660;&#9660;"</span>
/set weechat.look.bar_more_left <span class="org-string">"&#9664;&#9664;"</span>
/set weechat.look.bar_more_right <span class="org-string">"&#9654;&#9654;"</span>
/set weechat.look.bar_more_up <span class="org-string">"&#9650;&#9650;"</span>
/set weechat.look.prefix_suffix <span class="org-string">"&#9569;"</span>
/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
/set weechat.color.separator <span class="org-highlight-numbers-number">31</span>
/set buffers.color.current_fg <span class="org-highlight-numbers-number">31</span>
/set buffers.color.current_bg white
/set buffers.color.hotlist_message_fg <span class="org-highlight-numbers-number">229</span>
/set buffers.color.hotlist_private_fg <span class="org-highlight-numbers-number">121</span>
/set buffers.color.hotlist_highlight_fg <span class="org-highlight-numbers-number">163</span>
/set buffers.color.number <span class="org-highlight-numbers-number">239</span>
/set buffers.color.number_char <span class="org-highlight-numbers-number">245</span>
/set weechat.bar.title.conditions <span class="org-string">"${inactive}"</span>
/set weechat.bar.title.color_fg black
/set weechat.bar.title.color_bg <span class="org-highlight-numbers-number">31</span> <span class="org-comment-delimiter">#</span><span class="org-comment">Or white if 31 does nothing</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org3be6ef2" class="outline-3">
<h3 id="org3be6ef2">Configuration</h3>
<div class="outline-text-3" id="text-org3be6ef2">
<p>
<a href="https://hugo.md/post/the-perfect-weechat-setup-2/">https://hugo.md/post/the-perfect-weechat-setup-2/</a>
<a href="https://robots.thoughtbot.com/weechat-for-slacks-irc-gateway">https://robots.thoughtbot.com/weechat-for-slacks-irc-gateway</a>
</p>
<p>
Use the command <code>/fset</code>
</p>
</div>
</div>
<div id="outline-container-org1bedc2c" class="outline-3">
<h3 id="org1bedc2c">Multi-line messages</h3>
<div class="outline-text-3" id="text-org1bedc2c">
<p>
Solution is provided here: <a href="https://github.com/wee-slack/wee-slack/issues/118">https://github.com/wee-slack/wee-slack/issues/118</a>
It uses <a href="https://weechat.org/scripts/source/multiline.pl.html/">multiline.pl</a> script.
Then alt-enter is bound to insert a new line:
</p>
<div class="org-src-container">
<pre class="src src-conf"> /set plugins.var.perl.multiline.magic_paste_only on
/key bind meta-ctrl-M /input insert \x0a
</pre>
</div>
<p>
And enter is bound to <code>magic_enter</code> that directly sends the message if its one line, and if its multiple line, waits a little bit and then sends the message:
</p>
<div class="org-src-container">
<pre class="src src-conf"> /key bind ctrl-M /input magic_enter
</pre>
</div>
</div>
</div>
<div id="outline-container-orgdabe0b1" class="outline-3">
<h3 id="orgdabe0b1">Send message using <code>$EDITOR</code></h3>
<div class="outline-text-3" id="text-orgdabe0b1">
<p>
<a href="https://github.com/keith/edit-weechat">https://github.com/keith/edit-weechat</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">mkdir</span> -p ~/.weechat/python/autoload
<span class="org-type">cd</span> ~/.weechat/python/autoload
wget https://raw.githubusercontent.com/keith/edit-weechat/master/edit.py
</pre>
</div>
<p>
Then, on weechat, type <code>/edit</code>.
</p>
</div>
</div>
<div id="outline-container-org58be0d2" class="outline-3">
<h3 id="org58be0d2">CheatSheet</h3>
<div class="outline-text-3" id="text-org58be0d2">
<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>Ctlr-N</code></td>
<td class="org-left">Next channel</td>
</tr>
<tr>
<td class="org-left"><code>Ctlr-P</code></td>
<td class="org-left">Previous channel</td>
</tr>
<tr>
<td class="org-left"><code>Esc-n</code></td>
<td class="org-left">Toggle nicklist</td>
</tr>
<tr>
<td class="org-left"><code>alt-ent</code></td>
<td class="org-left">New line</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org509ffd4" class="outline-3">
<h3 id="org509ffd4">Slack Integration</h3>
<div class="outline-text-3" id="text-org509ffd4">
<p>
<a href="https://github.com/wee-slack/wee-slack">https://github.com/wee-slack/wee-slack</a>
</p>
</div>
<div id="outline-container-org9289017" class="outline-4">
<h4 id="org9289017">Installation</h4>
<div class="outline-text-4" id="text-org9289017">
<div class="org-src-container">
<pre class="src src-bash"> yay -S python2-websocket-client
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">cd</span> ~/.weechat/python
wget https://raw.githubusercontent.com/wee-slack/wee-slack/master/wee_slack.py
<span class="org-type">ln</span> -s ../wee_slack.py autoload
</pre>
</div>
</div>
</div>
<div id="outline-container-org4e33767" class="outline-4">
<h4 id="org4e33767">Add your Slack API key(s)</h4>
<div class="outline-text-4" id="text-org4e33767">
<p>
Log in to Slack:
</p>
<div class="org-src-container">
<pre class="src src-conf"> /slack register
</pre>
</div>
<p>
This command prints a link you should open in your browser to authorize WeeChat with Slack. Once you&rsquo;ve accomplished this, copy the &ldquo;code&rdquo; portion of the URL in the browser and pass it to this command:
</p>
<div class="org-src-container">
<pre class="src src-conf"> /slack register [CODE_FROM_URL]
</pre>
</div>
<p>
Your Slack team is now added, and you can complete setup by restarting the wee-slack script.
</p>
<div class="org-src-container">
<pre class="src src-conf"> /python reload slack
</pre>
</div>
<p>
If you don&rsquo;t want to store your API token in plaintext you can use the secure features of weechat:
</p>
<div class="org-src-container">
<pre class="src src-conf"> /secure passphrase this is a super secret password
/secure set slack_token [YOUR_SLACK_TOKEN]
/set plugins.var.python.slack.slack_api_token ${sec.data.slack_token}
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org0389f72" class="outline-3">
<h3 id="org0389f72">Aspell</h3>
<div class="outline-text-3" id="text-org0389f72">
<p>
<a href="https://blog.qoba.lt/using_aspell_in_weechat.html">https://blog.qoba.lt/using_aspell_in_weechat.html</a>
</p>
</div>
</div>
<div id="outline-container-org803f4c1" class="outline-3">
<h3 id="org803f4c1">Notifications</h3>
<div class="outline-text-3" id="text-org803f4c1">
<p>
<a href="https://github.com/s3rvac/weechat-notify-send">https://github.com/s3rvac/weechat-notify-send</a>
</p>
</div>
</div>
<div id="outline-container-orgbd62665" class="outline-3">
<h3 id="orgbd62665">Deamon and Client</h3>
<div class="outline-text-3" id="text-orgbd62665">
<p>
Weechat is started with the systemd service <code>weechat</code>.
It runs weechat inside tmux.
</p>
</div>
</div>
</div>
<div id="outline-container-org82e306e" class="outline-2">
<h2 id="org82e306e"><code>redshift</code></h2>
<div class="outline-text-2" id="text-org82e306e">
<p>
<a href="http://jonls.dk/redshift/">http://jonls.dk/redshift/</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S redshift
</pre>
</div>
</div>
</div>
<div id="outline-container-org819f33a" class="outline-2">
<h2 id="org819f33a">Mail Setup</h2>
<div class="outline-text-2" id="text-org819f33a">
<p>
<a href="mail.html">Link</a> to the mail setup.
</p>
</div>
<div id="outline-container-org12c74b1" class="outline-3">
<h3 id="org12c74b1"><code>mbsync</code> - Synchronize Mailboxes</h3>
<div class="outline-text-3" id="text-org12c74b1">
<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-org8469f2c" class="outline-4">
<h4 id="org8469f2c">Installation</h4>
<div class="outline-text-4" id="text-org8469f2c">
<div class="org-src-container">
<pre class="src src-bash"> yay -S isync
</pre>
</div>
</div>
</div>
<div id="outline-container-org1438dad" class="outline-4">
<h4 id="org1438dad">Configuration</h4>
<div class="outline-text-4" id="text-org1438dad">
<p>
<code>~/.mbsyncrc</code>
</p>
</div>
</div>
<div id="outline-container-org1ae519a" class="outline-4">
<h4 id="org1ae519a">Automation using systemd</h4>
<div class="outline-text-4" id="text-org1ae519a">
</div>
<div id="outline-container-org0635e65" class="outline-5">
<h5 id="org0635e65">Retreive New mails</h5>
<div class="outline-text-5" id="text-org0635e65">
<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-org5ca2dfd" class="outline-5">
<h5 id="org5ca2dfd">Synchronize all the mailboxes</h5>
<div class="outline-text-5" id="text-org5ca2dfd">
<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-org6772b74" class="outline-3">
<h3 id="org6772b74"><code>msmtp</code> - Send Mails</h3>
<div class="outline-text-3" id="text-org6772b74">
<p>
<a href="https://marlam.de/msmtp/">https://marlam.de/msmtp/</a>
</p>
</div>
<div id="outline-container-orgabdbb6e" class="outline-4">
<h4 id="orgabdbb6e">Installation</h4>
<div class="outline-text-4" id="text-orgabdbb6e">
<div class="org-src-container">
<pre class="src src-bash"> yay -S msmtp
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org4b6cea1" class="outline-3">
<h3 id="org4b6cea1"><code>mu</code> - Mail Index, Search and Tagging</h3>
<div class="outline-text-3" id="text-org4b6cea1">
<p>
<a href="https://github.com/djcb/mu">https://github.com/djcb/mu</a>
</p>
</div>
</div>
<div id="outline-container-orge78a982" class="outline-3">
<h3 id="orge78a982"><code>neomutt</code> - Mail Client</h3>
<div class="outline-text-3" id="text-orge78a982">
<p>
<a href="https://github.com/neomutt/neomutt">https://github.com/neomutt/neomutt</a>
</p>
</div>
<div id="outline-container-org72a4f49" class="outline-4">
<h4 id="org72a4f49">Installation</h4>
<div class="outline-text-4" id="text-org72a4f49">
<div class="org-src-container">
<pre class="src src-bash"> yay -S neomutt
</pre>
</div>
</div>
</div>
<div id="outline-container-org7d3dd45" class="outline-4">
<h4 id="org7d3dd45">Display html mails</h4>
<div class="outline-text-4" id="text-org7d3dd45">
<div class="org-src-container">
<pre class="src src-bash"> yay -S w3m
</pre>
</div>
</div>
</div>
<div id="outline-container-org18d6f5c" class="outline-4">
<h4 id="org18d6f5c">Open Url from mail</h4>
<div class="outline-text-4" id="text-org18d6f5c">
<div class="org-src-container">
<pre class="src src-bash"> yay -S urlview
</pre>
</div>
</div>
</div>
<div id="outline-container-org8668b7f" class="outline-4">
<h4 id="org8668b7f">Ressources</h4>
<div class="outline-text-4" id="text-org8668b7f">
<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-org9998819" class="outline-3">
<h3 id="org9998819">Notification system</h3>
<div class="outline-text-3" id="text-org9998819">
<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-org523367b" class="outline-2">
<h2 id="org523367b"><code>ranger=/=pcmanfm</code> - File Manager</h2>
<div class="outline-text-2" id="text-org523367b">
<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-org79b747c" class="outline-3">
<h3 id="org79b747c">Ranger</h3>
<div class="outline-text-3" id="text-org79b747c">
<p>
<a href="https://github.com/ranger/ranger">https://github.com/ranger/ranger</a>
</p>
</div>
<div id="outline-container-orge600ebe" class="outline-4">
<h4 id="orge600ebe">Installation</h4>
<div class="outline-text-4" id="text-orge600ebe">
<div class="org-src-container">
<pre class="src src-bash">yay -S ranger
</pre>
</div>
</div>
</div>
<div id="outline-container-org4d7cfe9" class="outline-4">
<h4 id="org4d7cfe9">Configuration</h4>
<div class="outline-text-4" id="text-org4d7cfe9">
<p>
The configuration file is <code>~/.config/ranger/rc.conf</code>.
</p>
</div>
</div>
<div id="outline-container-orga7f1329" class="outline-4">
<h4 id="orga7f1329">Display pdf</h4>
<div class="outline-text-4" id="text-orga7f1329">
<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-orgeefd008" class="outline-3">
<h3 id="orgeefd008">GUI File Manager: pcmanfm</h3>
<div class="outline-text-3" id="text-orgeefd008">
<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-org0ceb81d" class="outline-2">
<h2 id="org0ceb81d"><code>sxiv</code> - Image viewer</h2>
<div class="outline-text-2" id="text-org0ceb81d">
<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-org7c2b09c" class="outline-3">
<h3 id="org7c2b09c">Installation</h3>
<div class="outline-text-3" id="text-org7c2b09c">
<div class="org-src-container">
<pre class="src src-bash"> yay -S sxiv
</pre>
</div>
</div>
</div>
<div id="outline-container-org1d4a585" class="outline-3">
<h3 id="org1d4a585">Open Gif</h3>
<div class="outline-text-3" id="text-org1d4a585">
<div class="org-src-container">
<pre class="src src-bash"> sxiv -a file.gif
</pre>
</div>
</div>
</div>
<div id="outline-container-org3cf7d23" class="outline-3">
<h3 id="org3cf7d23">Cheatsheet</h3>
<div class="outline-text-3" id="text-org3cf7d23">
<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-orga293c83" class="outline-2">
<h2 id="orga293c83"><code>sxhkd</code> - HotKey Manager</h2>
<div class="outline-text-2" id="text-orga293c83">
<div class="org-src-container">
<pre class="src src-bash"> yay -S sxhkd
</pre>
</div>
<p>
Configuration file: <a href="sxhkd.html">SXHKD</a>.
</p>
</div>
</div>
<div id="outline-container-orgb9ddb93" class="outline-2">
<h2 id="orgb9ddb93"><code>i3</code> - Windows Manager</h2>
<div class="outline-text-2" id="text-orgb9ddb93">
<p>
<a href="i3.html">Link</a> to the documentation
</p>
</div>
<div id="outline-container-org37ef10f" class="outline-3">
<h3 id="org37ef10f">Installation</h3>
<div class="outline-text-3" id="text-org37ef10f">
<div class="org-src-container">
<pre class="src src-bash"> yay -S i3-gaps
</pre>
</div>
</div>
</div>
<div id="outline-container-org28433b9" class="outline-3">
<h3 id="org28433b9">Configuration</h3>
<div class="outline-text-3" id="text-org28433b9">
<p>
<code>~/.i3/config</code>
</p>
</div>
</div>
</div>
<div id="outline-container-org2021f80" class="outline-2">
<h2 id="org2021f80"><code>polybar</code> - Top Bar</h2>
<div class="outline-text-2" id="text-org2021f80">
<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-orgcd15094" class="outline-3">
<h3 id="orgcd15094">Installation</h3>
<div class="outline-text-3" id="text-orgcd15094">
<div class="org-src-container">
<pre class="src src-bash"> yay -S polybar
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgc4420f9" class="outline-2">
<h2 id="orgc4420f9"><code>picom</code> - Compositor</h2>
<div class="outline-text-2" id="text-orgc4420f9">
<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-org6fa1004" class="outline-3">
<h3 id="org6fa1004">Installation</h3>
<div class="outline-text-3" id="text-org6fa1004">
<div class="org-src-container">
<pre class="src src-bash"> yay -S picom
</pre>
</div>
</div>
</div>
<div id="outline-container-org0e753bb" class="outline-3">
<h3 id="org0e753bb">Configuration</h3>
<div class="outline-text-3" id="text-org0e753bb">
<p>
<code>~/.config/picom/picom.conf</code>
</p>
</div>
</div>
<div id="outline-container-org3eda8aa" class="outline-3">
<h3 id="org3eda8aa">Automatic run as daemon</h3>
<div class="outline-text-3" id="text-org3eda8aa">
<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-org2f8f940" class="outline-2">
<h2 id="org2f8f940"><code>dunst</code> - Notification Manager</h2>
<div class="outline-text-2" id="text-org2f8f940">
<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-org1b888fa" class="outline-3">
<h3 id="org1b888fa">Installation</h3>
<div class="outline-text-3" id="text-org1b888fa">
<div class="org-src-container">
<pre class="src src-bash"> yay -S dunst dunstify
</pre>
</div>
</div>
</div>
<div id="outline-container-org987b1bf" class="outline-3">
<h3 id="org987b1bf">Configuration</h3>
<div class="outline-text-3" id="text-org987b1bf">
<p>
<code>~/.config/dunst/dunstrc</code>
</p>
</div>
</div>
<div id="outline-container-orgeb85a3c" class="outline-3">
<h3 id="orgeb85a3c">Usage</h3>
<div class="outline-text-3" id="text-orgeb85a3c">
<div class="org-src-container">
<pre class="src src-bash"> dunstify --replace=<span class="org-highlight-numbers-number">16549</span> <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-org4178a17" class="outline-2">
<h2 id="org4178a17">Office Suite</h2>
<div class="outline-text-2" id="text-org4178a17">
</div>
<div id="outline-container-org1a964eb" class="outline-3">
<h3 id="org1a964eb"><code>libreoffice</code></h3>
<div class="outline-text-3" id="text-org1a964eb">
<div class="org-src-container">
<pre class="src src-bash"> yay -S libreoffice-fresh libreoffice-fresh-fr
</pre>
</div>
</div>
</div>
<div id="outline-container-org1011bb3" class="outline-3">
<h3 id="org1011bb3"><code>wps</code> Office</h3>
<div class="outline-text-3" id="text-org1011bb3">
<div class="org-src-container">
<pre class="src src-bash"> yay -S wps-office wps-office-extension-french-dictionary ttf-wps-fonts
</pre>
</div>
</div>
</div>
<div id="outline-container-org9425908" class="outline-3">
<h3 id="org9425908"><code>sc-im</code> - Minimap SpreadSheet</h3>
<div class="outline-text-3" id="text-org9425908">
<p>
<a href="https://github.com/andmarti1424/sc-im">https://github.com/andmarti1424/sc-im</a>
<a href="https://www.youtube.com/watch?v=K_8_gazN7h0">https://www.youtube.com/watch?v=K_8_gazN7h0</a>
</p>
<p>
It permits to open Excel files on the terminal very quickly.
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S sc-im
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org6da3f70" class="outline-2">
<h2 id="org6da3f70"><code>blueman</code> - Bluetooth Manager</h2>
<div class="outline-text-2" id="text-org6da3f70">
<p>
Bluetooth manager: <a href="https://github.com/blueman-project/blueman">https://github.com/blueman-project/blueman</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -Ss blueman
</pre>
</div>
</div>
</div>
<div id="outline-container-org47b286b" class="outline-2">
<h2 id="org47b286b"><code>udiskie</code> - Automatically Mount devices</h2>
<div class="outline-text-2" id="text-org47b286b">
<p>
udiskie - Mount and unmount disks (<a href="https://github.com/coldfix/udiskie">https://github.com/coldfix/udiskie</a>)
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S udiskie
</pre>
</div>
<p>
Automatically run <code>udiskie</code> on startup.
</p>
</div>
</div>
<div id="outline-container-org5cfb55f" class="outline-2">
<h2 id="org5cfb55f">LaTeX</h2>
<div class="outline-text-2" id="text-org5cfb55f">
<p>
Installation
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S texlive-most
</pre>
</div>
<p>
Biber support for the bibliography:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S biber
</pre>
</div>
<p>
Support for source code using minted:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S minted
</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-orgb7d846d" class="outline-2">
<h2 id="orgb7d846d">Mathematical Software</h2>
<div class="outline-text-2" id="text-orgb7d846d">
</div>
<div id="outline-container-org6057ab6" class="outline-3">
<h3 id="org6057ab6">Insect</h3>
<div class="outline-text-3" id="text-org6057ab6">
<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"> yay -S 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-orgc271cf8" class="outline-3">
<h3 id="orgc271cf8">Matlab</h3>
<div class="outline-text-3" id="text-orgc271cf8">
<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"> yay -S 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-org9585ba1" class="outline-3">
<h3 id="org9585ba1">SageMath</h3>
<div class="outline-text-3" id="text-org9585ba1">
<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"> yay -S sagemath
</pre>
</div>
<p>
Run <code>sage -n jupyter</code> to run jupyter notebooks
</p>
</div>
</div>
<div id="outline-container-orgc62519c" class="outline-3">
<h3 id="orgc62519c">Python and Jupyter-notebook</h3>
</div>
</div>
<div id="outline-container-orgdb1801f" class="outline-2">
<h2 id="orgdb1801f">Download Manager</h2>
<div class="outline-text-2" id="text-orgdb1801f">
</div>
<div id="outline-container-orgac3b220" class="outline-3">
<h3 id="orgac3b220"><code>aria2</code> and <code>aria2p</code></h3>
<div class="outline-text-3" id="text-orgac3b220">
<div class="org-src-container">
<pre class="src src-bash"> yay -S aria2
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash"> python3 -m pip install --user aria2p<span class="org-rainbow-delimiters-depth-1">[</span>tui<span class="org-rainbow-delimiters-depth-1">]</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgfd450d2" class="outline-3">
<h3 id="orgfd450d2"><code>transmission</code> and <code>tremc</code></h3>
<div class="outline-text-3" id="text-orgfd450d2">
<div class="org-src-container">
<pre class="src src-bash"> yay -S tremc
</pre>
</div>
</div>
</div>
<div id="outline-container-org8a629cb" class="outline-3">
<h3 id="org8a629cb"><code>youtube-dl</code></h3>
<div class="outline-text-3" id="text-org8a629cb">
<div class="org-src-container">
<pre class="src src-bash"> yay -S youtube-dl
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org884e45c" class="outline-2">
<h2 id="org884e45c">Default Applications</h2>
<div class="outline-text-2" id="text-org884e45c">
<p>
<a href="https://wiki.archlinux.org/index.php/Default_applications">https://wiki.archlinux.org/index.php/Default_applications</a>
<a href="https://www.guyrutenberg.com/2018/01/20/set-default-application-using-xdg-mime/">https://www.guyrutenberg.com/2018/01/20/set-default-application-using-xdg-mime/</a>
</p>
<p>
<code>~/.config/mimeapps.list</code>
</p>
</div>
</div>
<div id="outline-container-org16e9c60" class="outline-2">
<h2 id="org16e9c60">Desktop files</h2>
<div class="outline-text-2" id="text-org16e9c60">
<p>
<a href="applications.html">Desktop Applications</a>
</p>
<p>
<code>~/.local/share/applications/</code>
</p>
</div>
</div>
<div id="outline-container-org718d63c" class="outline-2">
<h2 id="org718d63c">Bibliography Management</h2>
<div class="outline-text-2" id="text-org718d63c">
<p>
I am using a plain bibtex file with <code>org-ref</code> (<a href="https://github.com/jkitchin/org-ref">link</a>).
</p>
</div>
</div>
<div id="outline-container-org76a92c2" class="outline-2">
<h2 id="org76a92c2">Calendar</h2>
<div class="outline-text-2" id="text-org76a92c2">
<p>
<a href="calendar.html">Link</a> to configuration
</p>
</div>
<div id="outline-container-org637a251" class="outline-3">
<h3 id="org637a251"><code>vdirsyncer</code> - Sync calendars</h3>
<div class="outline-text-3" id="text-org637a251">
<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"> yay -S vdirsyncer python-requests-oauthlib
</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 google_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-org7e41a40" class="outline-3">
<h3 id="org7e41a40"><code>khal</code> - Calendar Client</h3>
<div class="outline-text-3" id="text-org7e41a40">
<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"> yay -S 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-orgc55bbf2" class="outline-2">
<h2 id="orgc55bbf2"><code>newsboat</code> - RSS Reader</h2>
<div class="outline-text-2" id="text-orgc55bbf2">
<p>
GUI Alternatives:
</p>
<ul class="org-ul">
<li><a href="http://www.rssowl.org/">http://www.rssowl.org/</a></li>
<li><a href="https://github.com/jangernert/FeedReader">https://github.com/jangernert/FeedReader</a></li>
</ul>
<p>
<a href="newsboat.html">Link</a> to configuration.
</p>
<p>
<a href="https://github.com/newsboat/newsboat">https://github.com/newsboat/newsboat</a>
<a href="https://wiki.archlinux.org/index.php/Newsboat">https://wiki.archlinux.org/index.php/Newsboat</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S newboat
</pre>
</div>
<p>
Configuration:
<a href="https://newsboat.org/releases/2.12/docs/newsboat.html">https://newsboat.org/releases/2.12/docs/newsboat.html</a>
<code>~/.newsboat/</code>
</p>
<p>
<a href="https://newsboat.org/releases/2.12/docs/newsboat.html#available-operations">https://newsboat.org/releases/2.12/docs/newsboat.html#available-operations</a>
</p>
</div>
</div>
<div id="outline-container-org6a8646d" class="outline-2">
<h2 id="org6a8646d"><code>orgmode</code> - Task Manager</h2>
</div>
<div id="outline-container-orga841f53" class="outline-2">
<h2 id="orga841f53"><code>zathura</code> - PDF Reader</h2>
<div class="outline-text-2" id="text-orga841f53">
<p>
<a href="https://pwmt.org/projects/zathura/">https://pwmt.org/projects/zathura/</a>
</p>
</div>
<div id="outline-container-org1ee2b54" class="outline-3">
<h3 id="org1ee2b54">Installation</h3>
<div class="outline-text-3" id="text-org1ee2b54">
<div class="org-src-container">
<pre class="src src-bash"> yay -S zathura
</pre>
</div>
<p>
Then add dependecies to view specific files:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S zathura-pdf-mupdf zathura-djvu zathura-ps zathura-cb
</pre>
</div>
<p>
It seems that mupdf is better that poppler to view pdf.
</p>
</div>
</div>
<div id="outline-container-orge029c21" class="outline-3">
<h3 id="orge029c21">Configuration</h3>
<div class="outline-text-3" id="text-orge029c21">
<p>
<code>~/.config/zathura/zathurarc</code>
</p>
</div>
</div>
<div id="outline-container-org70fcfb3" class="outline-3">
<h3 id="org70fcfb3">Cheatsheet</h3>
<div class="outline-text-3" id="text-org70fcfb3">
<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-orgf6c7dea" class="outline-3">
<h3 id="orgf6c7dea">Multi-monitor pdf presentation - pdfpc</h3>
<div class="outline-text-3" id="text-orgf6c7dea">
<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-org0476127" class="outline-4">
<h4 id="org0476127">Installation</h4>
<div class="outline-text-4" id="text-org0476127">
<div class="org-src-container">
<pre class="src src-bash"> yay -S pdfpc
</pre>
</div>
</div>
</div>
<div id="outline-container-orge1b13e7" class="outline-4">
<h4 id="orge1b13e7">Video support</h4>
<div class="outline-text-4" id="text-orge1b13e7">
<div class="org-src-container">
<pre class="src src-bash"> yay -S 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-orgc8c0e83" class="outline-4">
<h4 id="orgc8c0e83">Usage</h4>
<div class="outline-text-4" id="text-orgc8c0e83">
<div class="org-src-container">
<pre class="src src-bash"> pdfpc filename.pdf
</pre>
</div>
</div>
</div>
</div>
</div>
<div id="outline-container-org403120a" class="outline-2">
<h2 id="org403120a">Display Manager</h2>
<div class="outline-text-2" id="text-org403120a">
<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-org6f8e56a" class="outline-2">
<h2 id="org6f8e56a"><code>gtk=/=qt</code> - Managing Theme</h2>
<div class="outline-text-2" id="text-org6f8e56a">
</div>
<div id="outline-container-org1f9e14f" class="outline-3">
<h3 id="org1f9e14f">GTK Themes</h3>
<div class="outline-text-3" id="text-org1f9e14f">
<p>
Gtk2 themes are managed using the file <code>~/.gtkrc-2.0</code> while Gtk3 themes are managed using <code>~/.config/gtk-3.0/settings.ini</code>.
</p>
</div>
<div id="outline-container-orgb4295ec" class="outline-4">
<h4 id="orgb4295ec">Gui Manager</h4>
<div class="outline-text-4" id="text-orgb4295ec">
<p>
To customize the look of the system using GUI application, run <code>lxappearance</code>.
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S lxappearance
</pre>
</div>
</div>
</div>
<div id="outline-container-orge68fb92" class="outline-4">
<h4 id="orge68fb92">Icons and themes</h4>
<div class="outline-text-4" id="text-orge68fb92">
<div class="org-src-container">
<pre class="src src-bash"> yay -S zukitwo-themes faenza-icon-theme
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash"> yay -S arc-gtk-theme
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org2f8f733" class="outline-3">
<h3 id="org2f8f733">QT Themes</h3>
<div class="outline-text-3" id="text-org2f8f733">
<p>
Run <code>qt5ct</code> to manage QT Themes.
</p>
</div>
</div>
</div>
<div id="outline-container-org58260ec" class="outline-2">
<h2 id="org58260ec"><code>droidcam</code> - Use Android phone as webcam</h2>
<div class="outline-text-2" id="text-org58260ec">
<div class="org-src-container">
<pre class="src src-bash"> yay -S droidcam
</pre>
</div>
<p>
Install and run droidcam on the Android phone.
Once both are connected to the same network, run the following command:
</p>
<div class="org-src-container">
<pre class="src src-bash"> droidcam-cli -v -size=1280x720 192.168.1.51 <span class="org-highlight-numbers-number">4747</span>
</pre>
</div>
<p>
It will create a new video device accessible for all kinds of applications.
</p>
<p>
To view the flux using mpv:
</p>
<div class="org-src-container">
<pre class="src src-bash"> mpv av://v4l2:/dev/video0
</pre>
</div>
</div>
</div>
<div id="outline-container-org34f9882" class="outline-2">
<h2 id="org34f9882"><code>inkscape</code> - Graphical Editor</h2>
<div class="outline-text-2" id="text-org34f9882">
<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"> yay -S inkscape
</pre>
</div>
</div>
</div>
<div id="outline-container-orgb418d4c" class="outline-2">
<h2 id="orgb418d4c"><code>kdenlive</code> - Video Editor</h2>
<div class="outline-text-2" id="text-orgb418d4c">
<p>
<a href="https://kdenlive.org/fr/">kdenlive</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S kdenlive
</pre>
</div>
</div>
</div>
<div id="outline-container-org276a30b" class="outline-2">
<h2 id="org276a30b"><code>kazam</code> - Screen Recorder</h2>
</div>
<div id="outline-container-org100211a" class="outline-2">
<h2 id="org100211a"><code>obs-studio</code> - Live streaming and screen recording</h2>
<div class="outline-text-2" id="text-org100211a">
<p>
<a href="https://github.com/obsproject/obs-studio/">https://github.com/obsproject/obs-studio/</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -Ss obs-studio
</pre>
</div>
<p>
To share the screen as a webcam:
<a href="http://dlaw.me/webcam-spoofing-with-obs/">http://dlaw.me/webcam-spoofing-with-obs/</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S obs-v4l2sink
yay -S v4l2loopback-dkms-git
<span class="org-type">sudo</span> modprobe v4l2loopback <span class="org-variable-name">exclusive_caps</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">video_nr</span>=<span class="org-highlight-numbers-number">9</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org64fd10c" class="outline-2">
<h2 id="org64fd10c"><code>anydesk</code> - Remote Desktop</h2>
<div class="outline-text-2" id="text-org64fd10c">
<div class="org-src-container">
<pre class="src src-bash"> yay -S anydesk-bin
</pre>
</div>
</div>
</div>
<div id="outline-container-orgfbeddca" class="outline-2">
<h2 id="orgfbeddca"><code>wireguard</code> - VPN</h2>
<div class="outline-text-2" id="text-orgfbeddca">
<div class="org-src-container">
<pre class="src src-bash"> yay -S wireguard-tools
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd48246b" class="outline-2">
<h2 id="orgd48246b"><code>nordvpn</code> - VPN</h2>
<div class="outline-text-2" id="text-orgd48246b">
<p>
<a href="https://aur.archlinux.org/packages/nordvpn-bin/">https://aur.archlinux.org/packages/nordvpn-bin/</a>
<a href="https://wiki.archlinux.org/index.php/NordVPN">https://wiki.archlinux.org/index.php/NordVPN</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S nordvpn-bin
</pre>
</div>
<p>
Configuration:
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> systemctl enable --now nordvpnd.service
</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>nordvpn login</code></td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left"><code>nordvpn connect country</code></td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left"><code>nordvpn disconnect</code></td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left"><code>nordvpn status</code></td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left"><code>nordvpn countries</code></td>
<td class="org-left">&#xa0;</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org9bb91c2" class="outline-2">
<h2 id="org9bb91c2">Others</h2>
<div class="outline-text-2" id="text-org9bb91c2">
</div>
<div id="outline-container-orgf054688" class="outline-3">
<h3 id="orgf054688"><code>maim=/=flameshot</code> - Take Screenshots</h3>
<div class="outline-text-3" id="text-orgf054688">
<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"> yay -S maim flameshot
</pre>
</div>
</div>
</div>
<div id="outline-container-org72b76b6" class="outline-3">
<h3 id="org72b76b6"><code>screenkey</code> - Show pressed keys</h3>
<div class="outline-text-3" id="text-org72b76b6">
<div class="org-src-container">
<pre class="src src-bash"> yay -S screenkey
</pre>
</div>
</div>
</div>
<div id="outline-container-org530b4e7" class="outline-3">
<h3 id="org530b4e7"><code>croc</code> - File transfer</h3>
<div class="outline-text-3" id="text-org530b4e7">
<p>
<a href="https://github.com/schollz/croc">https://github.com/schollz/croc</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S croc
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd26025d" class="outline-3">
<h3 id="orgd26025d">Find Files</h3>
<div class="outline-text-3" id="text-orgd26025d">
<div class="org-src-container">
<pre class="src src-bash"> yay -S fd ripgrep fzf
</pre>
</div>
</div>
</div>
<div id="outline-container-orgbd7a136" class="outline-3">
<h3 id="orgbd7a136">PDF/Image Utilities</h3>
<div class="outline-text-3" id="text-orgbd7a136">
<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"> yay -S pdf2svg pdftk unclutter pdfarranger imagemagick
</pre>
</div>
</div>
</div>
<div id="outline-container-org635c3c6" class="outline-3">
<h3 id="org635c3c6">Trash</h3>
<div class="outline-text-3" id="text-org635c3c6">
<p>
<code>trash-cli</code> is used to manage the trash.
It is integrated with Ranger.
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S trash-cli
</pre>
</div>
</div>
</div>
<div id="outline-container-org8f32507" class="outline-3">
<h3 id="org8f32507">Google translate from the command line</h3>
<div class="outline-text-3" id="text-org8f32507">
<div class="org-src-container">
<pre class="src src-bash"> yay -S translate-shell
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash"> trans englishwork en:fr
</pre>
</div>
</div>
</div>
<div id="outline-container-org477d50a" class="outline-3">
<h3 id="org477d50a">Show information about the machine</h3>
<div class="outline-text-3" id="text-org477d50a">
<p>
<a href="https://github.com/dylanaraps/neofetch">neofetch</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S neofetch
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org4c6eb49" class="outline-2">
<h2 id="org4c6eb49">Printer</h2>
<div class="outline-text-2" id="text-org4c6eb49">
<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>
<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-org75b8fb8" class="outline-2">
<h2 id="org75b8fb8">Kernel Management</h2>
<div class="outline-text-2" id="text-org75b8fb8">
<p>
<a href="https://wiki.manjaro.org/index.php/Manjaro_Kernels">https://wiki.manjaro.org/index.php/Manjaro_Kernels</a>
</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>mhwd-kernel -li</code></td>
<td class="org-left">Determine which kernel is used</td>
</tr>
<tr>
<td class="org-left"><code>sudo mhwd-kernel -i linux419</code></td>
<td class="org-left">Install new kernel</td>
</tr>
<tr>
<td class="org-left"><code>sudo mhwd-kernel -i linux419 rmc</code></td>
<td class="org-left">Install new kernel and remove old one</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org7dc611c" class="outline-2">
<h2 id="org7dc611c">Format disks</h2>
<div class="outline-text-2" id="text-org7dc611c">
<p>
<a href="https://gparted.org/">https://gparted.org/</a>
</p>
<p>
<code>sudo gparted</code> to format disks
</p>
<p>
Using command line:
</p>
<ul class="org-ul">
<li><a href="https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-storage-devices-in-linux">https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-storage-devices-in-linux</a></li>
</ul>
</div>
</div>
<div id="outline-container-orgdab3895" class="outline-2">
<h2 id="orgdab3895">Usefull commands</h2>
<div class="outline-text-2" id="text-orgdab3895">
</div>
<div id="outline-container-orge958130" class="outline-3">
<h3 id="orge958130">Readline</h3>
<div class="outline-text-3" id="text-orge958130">
<p>
<a href="https://wiki.archlinux.org/index.php/Keyboard_shortcuts">https://wiki.archlinux.org/index.php/Keyboard_shortcuts</a>
</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">Keyboard</th>
<th scope="col" class="org-left">Shortcut Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left">Ctrl+l</td>
<td class="org-left">Clear the screen</td>
</tr>
</tbody>
</table>
</div>
<div id="outline-container-orgee32033" class="outline-4">
<h4 id="orgee32033">Cursor Movement</h4>
<div class="outline-text-4" id="text-orgee32033">
<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">Keyboard</th>
<th scope="col" class="org-left">Shortcut Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>Ctrl+b</code></td>
<td class="org-left">Move cursor one character to the left</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl+f</code></td>
<td class="org-left">Move cursor one character to the right</td>
</tr>
<tr>
<td class="org-left"><code>Alt+b</code></td>
<td class="org-left">Move cursor one word to the left</td>
</tr>
<tr>
<td class="org-left"><code>Alt+f</code></td>
<td class="org-left">Move cursor one word to the right</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl+a</code></td>
<td class="org-left">Move cursor to start of the line</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl+e</code></td>
<td class="org-left">Move cursor to end of the line</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org7a382e9" class="outline-4">
<h4 id="org7a382e9">Copy &amp; Paste</h4>
<div class="outline-text-4" id="text-org7a382e9">
<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">Keyboard</th>
<th scope="col" class="org-left">Shortcut Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>Ctrl+u</code></td>
<td class="org-left">Cut everything from line start to cursor</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl+k</code></td>
<td class="org-left">Cut everything from the cursor to end of the line</td>
</tr>
<tr>
<td class="org-left"><code>Alt+d</code></td>
<td class="org-left">Cut the current word after the cursor</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl+w</code></td>
<td class="org-left">Cut the current word before the cursor</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl+y</code></td>
<td class="org-left">Paste the previous cut text</td>
</tr>
<tr>
<td class="org-left"><code>Alt+y</code></td>
<td class="org-left">Paste the second latest cut text</td>
</tr>
<tr>
<td class="org-left"><code>Alt+Ctrl+y</code></td>
<td class="org-left">Paste the first argument of the previous command</td>
</tr>
<tr>
<td class="org-left"><code>Alt+./</code></td>
<td class="org-left">Paste the last argument of the previous command</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org9790ec4" class="outline-4">
<h4 id="org9790ec4">History</h4>
<div class="outline-text-4" id="text-org9790ec4">
<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">Keyboard</th>
<th scope="col" class="org-left">Shortcut Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>Ctrl+p</code></td>
<td class="org-left">Move to the previous line</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl+n</code></td>
<td class="org-left">Move to the next line</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl+s</code></td>
<td class="org-left">Search</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl+r</code></td>
<td class="org-left">Reverse search</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl+j</code></td>
<td class="org-left">End search</td>
</tr>
<tr>
<td class="org-left"><code>Ctrl+g</code></td>
<td class="org-left">Abort search (restores original line)</td>
</tr>
<tr>
<td class="org-left"><code>Alt+r</code></td>
<td class="org-left">Restores all changes made to line</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org317c04c" class="outline-4">
<h4 id="org317c04c">Completion</h4>
<div class="outline-text-4" id="text-org317c04c">
<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">Keyboard</th>
<th scope="col" class="org-left">Shortcut Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>Tab</code></td>
<td class="org-left">Auto-complete a name</td>
</tr>
<tr>
<td class="org-left"><code>Alt+?</code></td>
<td class="org-left">List all possible completions</td>
</tr>
<tr>
<td class="org-left"><code>Alt+*</code></td>
<td class="org-left">Insert all possible completions</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="outline-container-orgb4a3de0" class="outline-3">
<h3 id="orgb4a3de0">Others</h3>
<div class="outline-text-3" id="text-orgb4a3de0">
<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"><a href="https://github.com/tldr-pages/tldr">tldr</a></td>
<td class="org-left">Community-driven man pages</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/chubin/wttr.in">wttr.in</a></td>
<td class="org-left">weather in terminal</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/michael-lazar/rtv">rtv</a></td>
<td class="org-left">Reddit in terminal</td>
</tr>
<tr>
<td class="org-left">awk</td>
<td class="org-left"><a href="https://linuxhandbook.com/awk-command-tutorial/">https://linuxhandbook.com/awk-command-tutorial/</a></td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/rupa/z">z</a></td>
<td class="org-left">Jump around</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/nvbn/thefuck">thefuck</a></td>
<td class="org-left">Magnificent app which corrects your previous console command</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/amanusk/s-tui/">s-tui</a></td>
<td class="org-left">Terminal based CPU stress and monitoring utility</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/nicolargo/glances">glances</a></td>
<td class="org-left">A top/htop alternative</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/asciinema/asciinema">asciinema</a></td>
<td class="org-left">Reccord you terminal</td>
</tr>
<tr>
<td class="org-left"><a href="https://dev.yorhel.nl/ncdu">ncdu</a></td>
<td class="org-left">See what takes place on the disk</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/sharkdp/bat">bat</a></td>
<td class="org-left">cat alternative</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/dalance/procs">procs</a></td>
<td class="org-left">ps alternative</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/chmln/sd">sd</a></td>
<td class="org-left">sed alternative</td>
</tr>
</tbody>
</table>
<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>meteo</code></td>
<td class="org-left">Get the meteo</td>
</tr>
<tr>
<td class="org-left"><code>sudo cputhrottle PID %PROC</code></td>
<td class="org-left">Limiter l&rsquo;accès au proc pour un processus</td>
</tr>
<tr>
<td class="org-left"><code>nmap -sP “192.168.1.*"</code></td>
<td class="org-left">Check all ip addresses on local netword</td>
</tr>
<tr>
<td class="org-left"><code>du -sh folder</code></td>
<td class="org-left">Return the size of the folder</td>
</tr>
<tr>
<td class="org-left"><code>df -h</code></td>
<td class="org-left">Report disk usage</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org042d8d2" class="outline-3">
<h3 id="org042d8d2">Archive and Extract</h3>
<div class="outline-text-3" id="text-org042d8d2">
<p>
Use <code>apack</code> and <code>aunpack</code>:
</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">&#xa0;</th>
<th scope="col" class="org-left">&#xa0;</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>aunpack foobar.tar.gz</code></td>
<td class="org-left">extract all files from archive</td>
</tr>
<tr>
<td class="org-left"><code>apack myarchive.zip foo bar</code></td>
<td class="org-left">create a zip archive of two files</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-orgd465654" class="outline-3">
<h3 id="orgd465654">Hardware</h3>
<div class="outline-text-3" id="text-orgd465654">
<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>dmesg</code></td>
<td class="org-left">Detected hardware and boot messages</td>
</tr>
<tr>
<td class="org-left"><code>lshw</code></td>
<td class="org-left">Display information on hardware</td>
</tr>
<tr>
<td class="org-left"><code>lsusb -tv</code></td>
<td class="org-left">Show usb devices</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-orgd0eebf3" class="outline-3">
<h3 id="orgd0eebf3">Network</h3>
<div class="outline-text-3" id="text-orgd0eebf3">
<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>ip addr show</code></td>
<td class="org-left">Show all network interfaces and ip address</td>
</tr>
<tr>
<td class="org-left"><code>ethtooo eth0</code></td>
<td class="org-left">Tool to show ethernet status</td>
</tr>
<tr>
<td class="org-left"><code>netstat -tulp</code></td>
<td class="org-left">List all active listening ports</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="outline-container-org87ca48f" class="outline-2">
<h2 id="org87ca48f">After Install</h2>
<div class="outline-text-2" id="text-org87ca48f">
<p>
Enable TRIM (SSD only)
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> systemctl enable --now fstrim.timer
</pre>
</div>
<p>
Set the fastest mirror for Pacman
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> pacman-mirrors --fasttrack
</pre>
</div>
</div>
</div>
<div id="outline-container-orgb41f3b1" class="outline-2">
<h2 id="orgb41f3b1">Configuration for Laptops</h2>
<div class="outline-text-2" id="text-orgb41f3b1">
</div>
<div id="outline-container-orgf0690fa" class="outline-3">
<h3 id="orgf0690fa">Power Management Tool: Powertop</h3>
<div class="outline-text-3" id="text-orgf0690fa">
<p>
<a href="https://wiki.archlinux.org/index.php/Powertop">https://wiki.archlinux.org/index.php/Powertop</a>
<a href="https://wiki.manjaro.org/index.php?title=Power_Savings">https://wiki.manjaro.org/index.php?title=Power_Savings</a>
</p>
<p>
<code>PowerTop</code> a diagnostic tool used to identify and report issues with power consumption and management.
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S powertop
</pre>
</div>
<p>
<code>TLP</code> is used for Power Management.
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S tlp
<span class="org-type">sudo</span> systemctl enable tlp
<span class="org-type">sudo</span> systemctl start tlp
<span class="org-type">sudo</span> systemctl enable tlp-sleep
<span class="org-type">sudo</span> systemctl start tlp-sleep
<span class="org-type">sudo</span> tlp start
</pre>
</div>
<p>
<code>Thermald</code> is used to automatically handle CPU frequency scaling according to system load.
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S thermald
<span class="org-type">sudo</span> systemctl enable thermald
<span class="org-type">sudo</span> systemctl start thermald
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc45653d" class="outline-3">
<h3 id="orgc45653d">Lid open/close</h3>
<div class="outline-text-3" id="text-orgc45653d">
<p>
<a href="https://wiki.archlinux.org/index.php/Power_management">https://wiki.archlinux.org/index.php/Power_management</a>
</p>
<p>
Should automatic show lock screen
</p>
<p>
<code>/etc/systemd/logind.conf</code>
</p>
</div>
</div>
</div>
<div id="outline-container-org73b11c0" class="outline-2">
<h2 id="org73b11c0">Some notes - Systemd</h2>
<div class="outline-text-2" id="text-org73b11c0">
<p>
To improve the startup time.
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> systemctl disable apparmor
<span class="org-type">sudo</span> systemctl disable snapd
<span class="org-type">sudo</span> systemctl disable systemd-backlight@backlight<span class="org-string">\:</span>intel_backlight.service
</pre>
</div>
<p>
To see next timers
</p>
<div class="org-src-container">
<pre class="src src-matlab"> systemctl <span class="org-type">--</span>user list<span class="org-type">-</span>timers
</pre>
</div>
</div>
</div>
<div id="outline-container-orgcb95e75" class="outline-2">
<h2 id="orgcb95e75">Ressources</h2>
<div class="outline-text-2" id="text-orgcb95e75">
</div>
<div id="outline-container-org24c5a0a" class="outline-3">
<h3 id="org24c5a0a">Dotfiles</h3>
<div class="outline-text-3" id="text-org24c5a0a">
<ul class="org-ul">
<li><a href="https://github.com/LukeSmithxyz/voidrice">https://github.com/LukeSmithxyz/voidrice</a></li>
<li><a href="https://github.com/wincent/wincent">https://github.com/wincent/wincent</a></li>
<li><a href="https://github.com/korolr/dotfiles">https://github.com/korolr/dotfiles</a></li>
<li><a href="https://github.com/Shougo/shougo-s-github">https://github.com/Shougo/shougo-s-github</a></li>
<li><a href="https://github.com/addy-dclxvi/almighty-dotfiles">https://github.com/addy-dclxvi/almighty-dotfiles</a></li>
</ul>
</div>
</div>
<div id="outline-container-orgfe7316a" class="outline-3">
<h3 id="orgfe7316a">Linux Softwares</h3>
<div class="outline-text-3" id="text-orgfe7316a">
<ul class="org-ul">
<li><a href="https://github.com/k4m4/terminals-are-sexy">terminalare.sexy</a></li>
<li><a href="https://www.reddit.com/r/vim/comments/3tluqr/my_list_of_applications_with_vi_keybindings/">the big list of vim like software</a></li>
<li><a href="https://github.com/jlevy/the-art-of-command-line">https://github.com/jlevy/the-art-of-command-line</a></li>
<li><a href="https://github.com/herrbischoff/awesome-command-line-apps">https://github.com/herrbischoff/awesome-command-line-apps</a></li>
<li><a href="https://github.com/luongvo209/Awesome-Linux-Software">https://github.com/luongvo209/Awesome-Linux-Software</a></li>
<li><a href="https://wiki.archlinux.org/index.php/List_of_applications">https://wiki.archlinux.org/index.php/List_of_applications</a></li>
<li><a href="https://ambrevar.xyz/power-apps/">https://ambrevar.xyz/power-apps/</a></li>
<li><a href="https://enchiridion.red/2019/1/18/desktop-apps/">https://enchiridion.red/2019/1/18/desktop-apps/</a></li>
</ul>
</div>
</div>
</div>
<div id="outline-container-orge8f4fff" class="outline-2">
<h2 id="orge8f4fff">List of all the install programs</h2>
<div class="outline-text-2" id="text-orge8f4fff">
</div>
<div id="outline-container-orgfe37c2c" class="outline-3">
<h3 id="orgfe37c2c">Mutt</h3>
<div class="outline-text-3" id="text-orgfe37c2c">
<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-orgd197f0b" class="outline-3">
<h3 id="orgd197f0b">Micro controllers</h3>
<div class="outline-text-3" id="text-orgd197f0b">
<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>avrdude</code></td>
<td class="org-left">Atmel AVR MCU programmer</td>
</tr>
<tr>
<td class="org-left"><code>bootloadhid</code></td>
<td class="org-left">USB boot loader for AVR microcontrollers</td>
</tr>
<tr>
<td class="org-left"><code>dfu</code></td>
<td class="org-left">programmer - Device firmware update based USB programmer for Atmel chips</td>
</tr>
<tr>
<td class="org-left"><code>platformio</code></td>
<td class="org-left">Ecosystem for IoT development (Arduino and ARM mbed compatible)</td>
</tr>
<tr>
<td class="org-left"><code>micropython</code></td>
<td class="org-left">Python implementation for microcontrollers and constrained systems</td>
</tr>
<tr>
<td class="org-left"><code>arduino</code></td>
<td class="org-left">mk - Makefile for Arduino sketches</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org2313020" class="outline-3">
<h3 id="org2313020">File Management</h3>
<div class="outline-text-3" id="text-org2313020">
<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-org3aea9f0" class="outline-3">
<h3 id="org3aea9f0">File Downloader</h3>
<div class="outline-text-3" id="text-org3aea9f0">
<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-org9abcbea" class="outline-3">
<h3 id="org9abcbea">Utils</h3>
<div class="outline-text-3" id="text-org9abcbea">
<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-org5fbbfa3" class="outline-3">
<h3 id="org5fbbfa3">A trier</h3>
<div class="outline-text-3" id="text-org5fbbfa3">
<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: 2021-01-08 ven. 01:43</p>
</div>
</body>
</html>