literate-dotfiles/docs/install.html

5369 lines
151 KiB
HTML
Raw Normal View History

2020-01-12 00:19:16 +01:00
<?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-01 20:12:34 +01:00
<!-- 2021-01-01 ven. 20:09 -->
2020-01-12 00:19:16 +01:00
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Installation</title>
<meta name="generator" content="Org mode" />
2021-01-01 20:12:34 +01:00
<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>
2020-01-12 00:19:16 +01:00
</head>
<body>
2021-01-01 20:12:34 +01:00
<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">
2020-01-12 00:19:16 +01:00
<h1 class="title">Installation</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org1b31610">Package Manager: yay</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org2fbf101">Installation</a></li>
<li><a href="#org818bf6f">CheatSheet</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org76e1beb">Git Setup</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgc61b0c5">Installation</a></li>
<li><a href="#org9035b44">Configuration</a></li>
<li><a href="#orgfe9a3f3">Diff-So-Fancy</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgf48151c">Installation</a></li>
<li><a href="#orgeed92aa">Configuration</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org8772bd5">Credential Helper setup with Pass</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgdc15128">Terminal</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org384496f">Termite</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org9a66e9b">Installation</a></li>
<li><a href="#orgb33d248">Configuration</a></li>
<li><a href="#orgde0e03d">Cheatsheet</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgb94f28a">Unicode Rxvt</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orga66a262">Installation</a></li>
<li><a href="#org7127ee7">Configuration</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org4540bc2">Shell: Bash and ZSH</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org53788a8">Installation</a></li>
<li><a href="#orgff77ee5">Configuration</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org20bad44">Terminal Multiplexer: Tmux</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org651b6d2">Installation</a></li>
<li><a href="#orgdb34021">Configuration</a></li>
<li><a href="#org07a2715">Ressources</a></li>
<li><a href="#org4fd3933">Cheatsheet</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org7ff3a78">Fonts</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org3b112aa">Installation</a></li>
<li><a href="#orgb83603c">Default fonts</a></li>
<li><a href="#org512875b">Select font</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org6c0a51f">Text Editors</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgb587381">Neovim</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orged92ef4">Installation</a></li>
<li><a href="#org6766b83">Configuration</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org35b5ea5">Emacs</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org4c64b0b">Installation</a></li>
<li><a href="#orgc70dd93">Configuration</a></li>
<li><a href="#orgdb861f1">SpellCheck with Aspell</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org206b33a">SSH setup</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org1f63e95">Generating a new SSH key</a></li>
<li><a href="#org2489bfa">Start the ssh-agent in the background</a></li>
<li><a href="#org1ddd117">Add the SSH key to the ssh-agent</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgb847de8">GnuPG</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orga1428b2">Install the gnupg package:</a></li>
<li><a href="#orga3171d1">Create a key pair</a></li>
<li><a href="#org076996e">Configure the gpg-agent to cache the passphrase</a></li>
<li><a href="#org6070630">Gnome-Keyring and automatic GnuPG key unlocking</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org5c99db7">Launcher - Rofi</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgcac3ffc">Installation</a></li>
<li><a href="#org6786a82">Setup rofi as a dmenu replacement</a></li>
<li><a href="#org7e130a9">Run sudo commands with rofi</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org5510ba2">Password Manager: Pass</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org3c97a2e">Install the pass package</a></li>
<li><a href="#org44e85e6">Initialize the password store as a git repository</a></li>
<li><a href="#org90c131a">Gui Manager</a></li>
<li><a href="#org5c8f481">Integration with Rofi</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org2ff109d">Installation</a></li>
<li><a href="#org43fd104">Alternative</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orge587562">Integration with Browsers</a></li>
<li><a href="#org1beea76">Integration with Git</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org31ae9be">Installation</a></li>
<li><a href="#org4b0f9a8">Configuration</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org0e16ba2">Integration with other programs</a></li>
<li><a href="#org8747100">Alternative - Bitwarden</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orge3a0978">Bookmark Manager: Buku</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org4e8f9d3">Installation</a></li>
<li><a href="#org6fa05f2">Integration with Rofi</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org5e14770">Installation</a></li>
<li><a href="#orgf580375">Configuration</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<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="#orgdb79db9">Cheatsheet</a></li>
<li><a href="#org5949612">Alternatives</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgbb4f8cc">Browser: qutebrowser</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org98eac2c">Installation</a></li>
<li><a href="#org39f7a62">View Pdf inside qutebrowser with pdfjs</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org3e7fb0f">Installation</a></li>
<li><a href="#org3e05dae">Usage</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<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>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org592a2d8">Monitors</a></li>
<li><a href="#orgc27f83e">Sound Setup</a></li>
<li><a href="#org79fe3ff">Music Setup</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org5cf4135">Sound Server - Pulse Audio</a></li>
<li><a href="#org42cff3f">Audio Server - MPD</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org9a0857e">Installation</a></li>
<li><a href="#orgeff4ea2">Automatic Startup</a></li>
<li><a href="#orge5b0b82">Command line interface to MPD - MPC</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org3c39505">Audio Server with Spotify - Mopidy</a></li>
<li><a href="#orgc63e6d9">MPD Client - ncmpcpp</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org21af277">Installation</a></li>
<li><a href="#org4236f7d">Config</a></li>
<li><a href="#org6fd22ec">Cheatsheet</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org37774da">Library Manager - beets</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org9eb9be8">Installation</a></li>
<li><a href="#org47b73a0">Configuration</a></li>
<li><a href="#org8f07d64">Cheatsheet</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org29c6832">Movies</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org0430113">Media Player - MPV</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org844cd0a">Installation</a></li>
<li><a href="#orgd2e8be6">Key Bindings</a></li>
<li><a href="#org9368255">CheatSheet</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org504bcc0">Chromecast with CATT</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org4a63a7a">Installation</a></li>
<li><a href="#orga002612">Usage to cast videos to chromecast</a></li>
<li><a href="#org72c0074">Usage for controlling the device</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgfd70759">Contact Manager</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org5c77bb5">Google Conctacts: Khard</a></li>
<li><a href="#orgbb64be1">Mu</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgeb1f463">Connect with Phone</a></li>
<li><a href="#org5d8a803">Chat Application - Weechat</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org6957637">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="#orgb1f6943">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="#org408ef7a">CheatSheet</a></li>
<li><a href="#org509ffd4">Slack Integration</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org28dce64">Installation</a></li>
<li><a href="#org4e33767">Add your Slack API key(s)</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org0389f72">Aspell</a></li>
<li><a href="#org803f4c1">Notifications</a></li>
<li><a href="#orgbd62665">Deamon and Client</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgf5e055d">Redshift</a></li>
<li><a href="#org819f33a">Mail Setup</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org07df558">Synchronize Mailboxes - Mbsync</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org5b02d08">Installation</a></li>
<li><a href="#orge09ed3b">Configuration</a></li>
<li><a href="#org1ae519a">Automation using systemd</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org0635e65">Retreive New mails</a></li>
<li><a href="#org5ca2dfd">Synchronize all the mailboxes</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org2ad4023">Send Mails - Msmtp</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org5585070">Installation</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgc7dc528">Mail Index, Search and Tagging - Mu</a></li>
<li><a href="#orgb7cd7ba">Mail Client - NeoMutt</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orge24595f">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="#org1140c6d">Ressources</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org9998819">Notification system</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgbd91c11">File Manager</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org79b747c">Ranger</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgd6f54a8">Installation</a></li>
<li><a href="#org1aedd96">Configuration</a></li>
<li><a href="#orga7f1329">Display pdf</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgeefd008">GUI File Manager: pcmanfm</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org84c0792">Image viewer</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgcc19f59">sxiv</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org2155a68">Installation</a></li>
<li><a href="#org1d4a585">Open Gif</a></li>
<li><a href="#orge874327">Cheatsheet</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org58c88c9">HotKeyManager - SXHKD</a></li>
<li><a href="#org1d0b5b8">Windows Manager - i3</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org67f0eb1">Installation</a></li>
<li><a href="#org22a7c8f">Configuration</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org4783a82">Polybar</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgce9d8af">Installation</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org4749a35">Compositor - Picom</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgfebe1d3">Installation</a></li>
<li><a href="#orga1ed6b1">Configuration</a></li>
<li><a href="#org3eda8aa">Automatic run as daemon</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org40c54af">Notification Manager - Dunst</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org7cb6702">Installation</a></li>
<li><a href="#orge21df17">Configuration</a></li>
<li><a href="#orgd88d36b">Usage</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org4178a17">Office Suite</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgef9dc95">WPS Office</a></li>
<li><a href="#org107289c">Minimap SpreadSheet - SC-IM</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org3ecd4ec">Managing Theme</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org1f9e14f">GTK Themes</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgf040616">Gui Manager</a></li>
<li><a href="#orge68fb92">Icons and themes</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org2f8f733">QT Themes</a></li>
<li><a href="#orgedbd31d">XFT Themes</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgce45d95">Advanced config</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org4c6eb49">Printer</a></li>
<li><a href="#org75b8fb8">Kernel Management</a></li>
<li><a href="#orgf0690fa">Power Management Tool: Powertop</a></li>
<li><a href="#orgc45653d">Lid open/close</a></li>
<li><a href="#orga5c81f2">Automatically Mount devices - Udiskie</a></li>
<li><a href="#org7dc611c">Format disks</a></li>
<li><a href="#orgfe5b6b1">Bluetooth</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgadcc246">LaTeX</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgf54200f">Installation</a></li>
<li><a href="#orgbae1200">Personnal classes/packages</a></li>
<li><a href="#org03f8c7e">From screenshot to latex math formula</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orga0363e8">Installation</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgb7d846d">Mathematical Software</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org6057ab6">Insect</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org7038e45">Installation</a></li>
<li><a href="#org312c0e7">Usage</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgc271cf8">Matlab</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org49158fb">Installation</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org9585ba1">SageMath</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org1f729f1">Installation</a></li>
<li><a href="#orgd1ceaf1">Usage</a></li>
<li><a href="#org58f7677">Documentation</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgdb1801f">Download Manager</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgdbe5c8c">Torrent Client - deluge</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org0b13cea">Installation</a></li>
<li><a href="#org9af0be9">Configuration</a></li>
<li><a href="#org22f519b">Command Line Interface</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org707a33d">Youtube-dl</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org362e27f">Download best audio</a></li>
<li><a href="#orga9c013f">Download best video with audio</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org884e45c">Default Applications</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org5f78b6c">Mailcap file</a></li>
<li><a href="#org3871f16">XDG-OPEN</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org16e9c60">Desktop files</a></li>
<li><a href="#org718d63c">Bibliography Management</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgdb8f440">Alternatives:</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org76a92c2">Calendar</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org6d24a46">Vdirsyncer - Sync calendars</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org65d42a7">Installation</a></li>
<li><a href="#org5f2d647">Cheatsheet</a></li>
<li><a href="#org0544473">Automation - Systemd</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org12e667b">Calendar Client - Khal</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org7c1bf3f">Installation</a></li>
<li><a href="#org039b134">Import ICS files</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgd7cfcd6">RSS Reader - newsboat</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org284a5c1">Newsboat</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgc8eeb6c">Installation</a></li>
<li><a href="#orgc1423de">Configuration</a></li>
<li><a href="#org58be0d2">CheatSheet</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgf8537c2">Task Manager - Org Mode</a></li>
<li><a href="#orgd6d8ff7">PDF Reader - Zathura</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org2d317e6">Installation</a></li>
<li><a href="#org4087693">Configuration</a></li>
<li><a href="#orgd71b7d7">Cheatsheet</a></li>
<li><a href="#orgf6c7dea">Multi-monitor pdf presentation - pdfpc</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org3f4846d">Installation</a></li>
<li><a href="#orge1b13e7">Video support</a></li>
<li><a href="#org8fa7589">Usage</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org20664de">DisplayManager - None</a></li>
<li><a href="#orgcbe48bb">Theme manager</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org269f3c0">Base16</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org311a3b1">Base16 Philosophy</a></li>
<li><a href="#org27d1f51">Base16-shell</a></li>
<li><a href="#org4e8f23c">Base16-manager</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org40eaae9">Streaming - OBS</a></li>
<li><a href="#org427ca9a">Use Android phone as webcam - Droidcam</a></li>
<li><a href="#orgb0767d7">Graphical Editor - Inskape</a></li>
<li><a href="#org8f31735">Remote Desktop - Anydesk</a></li>
<li><a href="#orgd0d53df">Wireguard</a></li>
<li><a href="#org84932a0">VPN Setup with NordVPN</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgd5db64e">Installation</a></li>
<li><a href="#org3890da4">Configuration</a></li>
<li><a href="#orgd749bbf">Usage</a></li>
<li><a href="#org706944a">Alternative: Use NordVPM with openVPN Instead</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org203f672">Others</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org0f3a494">Wallpaper: <code>xwallpaper</code></a></li>
<li><a href="#org0688c8f">Interact with API</a></li>
<li><a href="#org3fed8ac">Take Screenshot</a></li>
<li><a href="#orgf0214e7">Show pressed keys</a></li>
<li><a href="#org45d5d7c">File transfer</a></li>
<li><a href="#org543e569">Utilities</a></li>
<li><a href="#org635c3c6">Trash</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgdab3895">Usefull commands</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org9d08310">Find files or directories</a></li>
<li><a href="#org75d3c9c">Show informations about the machine</a></li>
<li><a href="#orgf6a3aed">Work with PDF</a></li>
<li><a href="#org90a5544">Separate PDF</a></li>
<li><a href="#orge958130">Readline</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<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>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org8f32507">Google translate from the command line</a></li>
<li><a href="#orgf0be421">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>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgc1b5497">Enable TRIM (SSD only)</a></li>
<li><a href="#org66408ed">Set the fastest mirror for Pacman</a></li>
<li><a href="#org73b11c0">Some notes - Systemd</a></li>
<li><a href="#org4f5046a">Ressources</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#org24c5a0a">Dotfiles</a></li>
<li><a href="#orgfe7316a">Linux Softwares</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#orge8f4fff">List of all the install programs</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orge1acb68">Tmux</a></li>
<li><a href="#org9a19c5f">Git</a></li>
<li><a href="#org9bed9c7">Text Editors</a></li>
<li><a href="#org5cfb55f">LaTeX</a></li>
<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>
2020-01-12 00:19:16 +01:00
</ul>
2020-03-19 10:46:47 +01:00
</li>
</ul>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1b31610" class="outline-2">
<h2 id="org1b31610">Package Manager: yay</h2>
<div class="outline-text-2" id="text-org1b31610">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/Jguer/yay">https://github.com/Jguer/yay</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org2fbf101" class="outline-3">
<h3 id="org2fbf101">Installation</h3>
<div class="outline-text-3" id="text-org2fbf101">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-type">sudo</span> pacman -S yay
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org818bf6f" class="outline-3">
<h3 id="org818bf6f">CheatSheet</h3>
<div class="outline-text-3" id="text-org818bf6f">
2020-03-19 10:46:47 +01:00
<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>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:
<code>pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'</code>
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org76e1beb" class="outline-2">
<h2 id="org76e1beb">Git Setup</h2>
<div class="outline-text-2" id="text-org76e1beb">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://git-scm.com/">https://git-scm.com/</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgc61b0c5" class="outline-3">
<h3 id="orgc61b0c5">Installation</h3>
<div class="outline-text-3" id="text-orgc61b0c5">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash">yay -S <span class="org-type">git</span>
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9035b44" class="outline-3">
<h3 id="org9035b44">Configuration</h3>
<div class="outline-text-3" id="text-org9035b44">
2020-03-19 10:46:47 +01:00
<p>
<a href="git.html">Git</a> Configuration:
</p>
<ul class="org-ul">
<li><code>~/.gitconfig</code></li>
<li><code>~/.gitignore_global</code></li>
</ul>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgfe9a3f3" class="outline-3">
<h3 id="orgfe9a3f3">Diff-So-Fancy</h3>
<div class="outline-text-3" id="text-orgfe9a3f3">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/so-fancy/diff-so-fancy">https://github.com/so-fancy/diff-so-fancy</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgf48151c" class="outline-4">
<h4 id="orgf48151c">Installation</h4>
<div class="outline-text-4" id="text-orgf48151c">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S diff-so-fancy
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgeed92aa" class="outline-4">
<h4 id="orgeed92aa">Configuration</h4>
<div class="outline-text-4" id="text-orgeed92aa">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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>
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org8772bd5" class="outline-3">
<h3 id="org8772bd5">Credential Helper setup with Pass</h3>
<div class="outline-text-3" id="text-org8772bd5">
2020-03-19 10:46:47 +01:00
<p>
2021-01-01 20:12:34 +01:00
This is explained in a further part: <a href="#org1beea76">Integration of Pass with Git</a>.
2020-03-19 10:46:47 +01:00
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgdc15128" class="outline-2">
<h2 id="orgdc15128">Terminal</h2>
<div class="outline-text-2" id="text-orgdc15128">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/thestinger/termite">https://github.com/thestinger/termite</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org384496f" class="outline-3">
<h3 id="org384496f">Termite</h3>
<div class="outline-text-3" id="text-org384496f">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9a66e9b" class="outline-4">
<h4 id="org9a66e9b">Installation</h4>
<div class="outline-text-4" id="text-org9a66e9b">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S termite
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgb33d248" class="outline-4">
<h4 id="orgb33d248">Configuration</h4>
<div class="outline-text-4" id="text-orgb33d248">
2020-03-19 10:46:47 +01:00
<p>
<a href="dotfiles/termite.html">termite.org</a>
</p>
<ul class="org-ul">
<li><code>~/.config/termite/config</code></li>
</ul>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgde0e03d" class="outline-4">
<h4 id="orgde0e03d">Cheatsheet</h4>
<div class="outline-text-4" id="text-orgde0e03d">
2020-03-19 10:46:47 +01:00
<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>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>
2020-11-03 16:27:09 +01:00
<td class="org-left"><code>ctrl +</code></td>
2020-03-19 10:46:47 +01:00
<td class="org-left">increase font size</td>
</tr>
<tr>
2020-11-03 16:27:09 +01:00
<td class="org-left"><code>ctrl -</code></td>
2020-03-19 10:46:47 +01:00
<td class="org-left">decrease font size</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgb94f28a" class="outline-3">
<h3 id="orgb94f28a">Unicode Rxvt</h3>
<div class="outline-text-3" id="text-orgb94f28a">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orga66a262" class="outline-4">
<h4 id="orga66a262">Installation</h4>
<div class="outline-text-4" id="text-orga66a262">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S rxvt-unicode
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org7127ee7" class="outline-4">
<h4 id="org7127ee7">Configuration</h4>
<div class="outline-text-4" id="text-org7127ee7">
2020-03-19 10:46:47 +01:00
<p>
Most of Urxvt configuration is done in <code>~/.Xresources</code>
</p>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4540bc2" class="outline-2">
<h2 id="org4540bc2">Shell: Bash and ZSH</h2>
<div class="outline-text-2" id="text-org4540bc2">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://wiki.archlinux.org/index.php/Bash">https://wiki.archlinux.org/index.php/Bash</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org53788a8" class="outline-3">
<h3 id="org53788a8">Installation</h3>
<div class="outline-text-3" id="text-org53788a8">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S bash bash-completion zsh
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgff77ee5" class="outline-3">
<h3 id="orgff77ee5">Configuration</h3>
<div class="outline-text-3" id="text-orgff77ee5">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org20bad44" class="outline-2">
<h2 id="org20bad44">Terminal Multiplexer: Tmux</h2>
<div class="outline-text-2" id="text-org20bad44">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/tmux/tmux">https://github.com/tmux/tmux</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org651b6d2" class="outline-3">
<h3 id="org651b6d2">Installation</h3>
<div class="outline-text-3" id="text-org651b6d2">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S tmux
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgdb34021" class="outline-3">
<h3 id="orgdb34021">Configuration</h3>
<div class="outline-text-3" id="text-orgdb34021">
2020-03-19 10:46:47 +01:00
<p>
<a href="tmux.html">TMUX</a> configuration
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org07a2715" class="outline-3">
<h3 id="org07a2715">Ressources</h3>
<div class="outline-text-3" id="text-org07a2715">
2020-03-19 10:46:47 +01:00
<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>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4fd3933" class="outline-3">
<h3 id="org4fd3933">Cheatsheet</h3>
<div class="outline-text-3" id="text-org4fd3933">
2020-03-19 10:46:47 +01:00
<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>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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org7ff3a78" class="outline-2">
<h2 id="org7ff3a78">Fonts</h2>
<div class="outline-text-2" id="text-org7ff3a78">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3b112aa" class="outline-3">
<h3 id="org3b112aa">Installation</h3>
<div class="outline-text-3" id="text-org3b112aa">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S nerd-fonts-complete
</pre>
</div>
<p>
or just
</p>
<div class="org-src-container">
<pre class="src src-bash">yay -S nerd-fonts-hack
</pre>
</div>
2020-04-05 11:30:26 +02:00
<p>
For emojis:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-04-05 11:30:26 +02:00
<pre class="src src-bash">yay -S noto-fonts-emoji
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgb83603c" class="outline-3">
<h3 id="orgb83603c">Default fonts</h3>
<div class="outline-text-3" id="text-orgb83603c">
2020-03-19 10:46:47 +01:00
<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>
List all fonts available: <code>fc-list</code>
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org512875b" class="outline-3">
<h3 id="org512875b">Select font</h3>
<div class="outline-text-3" id="text-org512875b">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S gtk2fontsel
</pre>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org6c0a51f" class="outline-2">
<h2 id="org6c0a51f">Text Editors</h2>
<div class="outline-text-2" id="text-org6c0a51f">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgb587381" class="outline-3">
<h3 id="orgb587381">Neovim</h3>
<div class="outline-text-3" id="text-orgb587381">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/neovim/neovim">https://github.com/neovim/neovim</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orged92ef4" class="outline-4">
<h4 id="orged92ef4">Installation</h4>
<div class="outline-text-4" id="text-orged92ef4">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S neovim
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org6766b83" class="outline-4">
<h4 id="org6766b83">Configuration</h4>
<div class="outline-text-4" id="text-org6766b83">
2020-03-19 10:46:47 +01:00
<p>
<a href="vim.html">Vim</a> configuration
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org35b5ea5" class="outline-3">
<h3 id="org35b5ea5">Emacs</h3>
<div class="outline-text-3" id="text-org35b5ea5">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://www.gnu.org/software/emacs/">https://www.gnu.org/software/emacs/</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4c64b0b" class="outline-4">
<h4 id="org4c64b0b">Installation</h4>
<div class="outline-text-4" id="text-org4c64b0b">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S emacs
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgc70dd93" class="outline-4">
<h4 id="orgc70dd93">Configuration</h4>
<div class="outline-text-4" id="text-orgc70dd93">
2020-03-19 10:46:47 +01:00
<p>
<a href="./doom.html">Doom Emacs</a> configuration
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgdb861f1" class="outline-4">
<h4 id="orgdb861f1">SpellCheck with Aspell</h4>
<div class="outline-text-4" id="text-orgdb861f1">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S aspell aspell-en aspell-fr
</pre>
</div>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org206b33a" class="outline-2">
<h2 id="org206b33a">SSH setup</h2>
<div class="outline-text-2" id="text-org206b33a">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1f63e95" class="outline-3">
<h3 id="org1f63e95">Generating a new SSH key</h3>
<div class="outline-text-3" id="text-org1f63e95">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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>
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org2489bfa" class="outline-3">
<h3 id="org2489bfa">Start the ssh-agent in the background</h3>
<div class="outline-text-3" id="text-org2489bfa">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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>
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1ddd117" class="outline-3">
<h3 id="org1ddd117">Add the SSH key to the ssh-agent</h3>
<div class="outline-text-3" id="text-org1ddd117">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">ssh-add ~/.ssh/id_rsa
</pre>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgb847de8" class="outline-2">
<h2 id="orgb847de8">GnuPG</h2>
<div class="outline-text-2" id="text-orgb847de8">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://gnupg.org/">https://gnupg.org/</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orga1428b2" class="outline-3">
<h3 id="orga1428b2">Install the gnupg package:</h3>
<div class="outline-text-3" id="text-orga1428b2">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S gnupg
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orga3171d1" class="outline-3">
<h3 id="orga3171d1">Create a key pair</h3>
<div class="outline-text-3" id="text-orga3171d1">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">gpg --full-gen-key
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org076996e" class="outline-3">
<h3 id="org076996e">Configure the gpg-agent to cache the passphrase</h3>
<div class="outline-text-3" id="text-org076996e">
2020-03-19 10:46:47 +01:00
<p>
Edit the following file <code>~/.gnupg/gpg-agent.conf</code>
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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>
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org6070630" class="outline-3">
<h3 id="org6070630">Gnome-Keyring and automatic GnuPG key unlocking</h3>
<div class="outline-text-3" id="text-org6070630">
2020-03-19 10:46:47 +01:00
<p>
Note: GNOME users, and by extension any gnome-keyring user may have to follow the instructions at the end of the previous section on enabling autologin.
</p>
<p>
Alternative: <a href="https://github.com/cruegge/pam-gnupg">https://github.com/cruegge/pam-gnupg</a>
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5c99db7" class="outline-2">
<h2 id="org5c99db7">Launcher - Rofi</h2>
<div class="outline-text-2" id="text-org5c99db7">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/DaveDavenport/rofi">https://github.com/DaveDavenport/rofi</a>
</p>
<p>
Alternative:
</p>
<ul class="org-ul">
<li><code>dmenu</code> is sometimes used</li>
</ul>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgcac3ffc" class="outline-3">
<h3 id="orgcac3ffc">Installation</h3>
<div class="outline-text-3" id="text-orgcac3ffc">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash">yay -S rofi rofi-calc
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org6786a82" class="outline-3">
<h3 id="org6786a82">Setup rofi as a dmenu replacement</h3>
<div class="outline-text-3" id="text-org6786a82">
2020-03-19 10:46:47 +01:00
<p>
Setup rofi as a dmenu replacement in <code>~/.i3/config</code>:
</p>
<pre class="example">
bindsym $mod+d exec --no-startup-id rofi -show run
</pre>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org7e130a9" class="outline-3">
<h3 id="org7e130a9">Run sudo commands with rofi</h3>
<div class="outline-text-3" id="text-org7e130a9">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/DaveDavenport/rofi/issues/584#issuecomment-384555551">https://github.com/DaveDavenport/rofi/issues/584#issuecomment-384555551</a>
</p>
<p>
Use <code>sudo -A</code>, that will open a rofi 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">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">SUDO_ASKPASS</span>=~/.local/bin/askpass-rofi
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
The <code>askpass</code> script is:
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-comment-delimiter">#</span><span class="org-comment">!/bin/</span><span class="org-keyword">sh</span>
2020-03-19 10:46:47 +01:00
2020-11-03 16:27:09 +01:00
<span class="org-comment-delimiter"># </span><span class="org-comment">Take password prompt from STDIN, print password to STDOUT</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">the sed piece just removes the colon from the provided</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">prompt: rofi -p already gives us a colon</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>
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5510ba2" class="outline-2">
<h2 id="org5510ba2">Password Manager: Pass</h2>
<div class="outline-text-2" id="text-org5510ba2">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://www.passwordstore.org/">https://www.passwordstore.org/</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3c97a2e" class="outline-3">
<h3 id="org3c97a2e">Install the pass package</h3>
<div class="outline-text-3" id="text-org3c97a2e">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S pass
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org44e85e6" class="outline-3">
<h3 id="org44e85e6">Initialize the password store as a git repository</h3>
<div class="outline-text-3" id="text-org44e85e6">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org90c131a" class="outline-3">
<h3 id="org90c131a">Gui Manager</h3>
<div class="outline-text-3" id="text-org90c131a">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/IJHack/qtpass">https://github.com/IJHack/qtpass</a>
</p>
<div class="org-src-container">
<pre class="src src-bash">yay -S qtpass
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5c8f481" class="outline-3">
<h3 id="org5c8f481">Integration with Rofi</h3>
<div class="outline-text-3" id="text-org5c8f481">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/carnager/rofi-pass">https://github.com/carnager/rofi-pass</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org2ff109d" class="outline-4">
<h4 id="org2ff109d">Installation</h4>
<div class="outline-text-4" id="text-org2ff109d">
2020-03-19 10:46:47 +01:00
<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>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org43fd104" class="outline-4">
<h4 id="org43fd104">Alternative</h4>
<div class="outline-text-4" id="text-org43fd104">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/ibizaman/pass-clip">https://github.com/ibizaman/pass-clip</a>
</p>
<div class="org-src-container">
<pre class="src src-bash">yay -S pass-clip
</pre>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orge587562" class="outline-3">
<h3 id="orge587562">Integration with Browsers</h3>
<div class="outline-text-3" id="text-orge587562">
2020-03-19 10:46:47 +01:00
<p>
2021-01-01 20:12:34 +01:00
This is explained <a href="#org013ba8f">here</a>.
2020-03-19 10:46:47 +01:00
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1beea76" class="outline-3">
<h3 id="org1beea76">Integration with Git</h3>
<div class="outline-text-3" id="text-org1beea76">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/languitar/pass-git-helper">https://github.com/languitar/pass-git-helper</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org31ae9be" class="outline-4">
<h4 id="org31ae9be">Installation</h4>
<div class="outline-text-4" id="text-org31ae9be">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S pass-git-helper
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4b0f9a8" class="outline-4">
<h4 id="org4b0f9a8">Configuration</h4>
<div class="outline-text-4" id="text-org4b0f9a8">
2020-03-19 10:46:47 +01:00
<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>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org0e16ba2" class="outline-3">
<h3 id="org0e16ba2">Integration with other programs</h3>
<div class="outline-text-3" id="text-org0e16ba2">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org8747100" class="outline-3">
<h3 id="org8747100">Alternative - Bitwarden</h3>
<div class="outline-text-3" id="text-org8747100">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orge3a0978" class="outline-2">
<h2 id="orge3a0978">Bookmark Manager: Buku</h2>
<div class="outline-text-2" id="text-orge3a0978">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/jarun/Buku">https://github.com/jarun/Buku</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4e8f9d3" class="outline-3">
<h3 id="org4e8f9d3">Installation</h3>
<div class="outline-text-3" id="text-org4e8f9d3">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S buku
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org6fa05f2" class="outline-3">
<h3 id="org6fa05f2">Integration with Rofi</h3>
<div class="outline-text-3" id="text-org6fa05f2">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/carnager/buku_run">https://github.com/carnager/buku_run</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5e14770" class="outline-4">
<h4 id="org5e14770">Installation</h4>
<div class="outline-text-4" id="text-org5e14770">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-05-26 08:40:15 +02:00
<pre class="src src-bash">wget https://raw.githubusercontent.com/carnager/buku_run/master/buku_run -o ~/.local/bin/buku_run
2020-11-03 16:27:09 +01:00
<span class="org-type">chmod</span> +x ~/.local/bin/buku_run
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgf580375" class="outline-4">
<h4 id="orgf580375">Configuration</h4>
<div class="outline-text-4" id="text-orgf580375">
2020-03-19 10:46:47 +01:00
<p>
The configuration file is here: <code>~/.config/buku_run/config</code>
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org95386c4" class="outline-3">
<h3 id="org95386c4">Integration with qutebrowser</h3>
<div class="outline-text-3" id="text-org95386c4">
2020-03-19 10:46:47 +01:00
<p>
2021-01-01 20:12:34 +01:00
<a href="#org26337db">Integration with Buku</a>
2020-03-19 10:46:47 +01:00
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<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">
2020-03-19 10:46:47 +01:00
<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">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/share/buku/bookmarks.db
<span class="org-type">git</span> init
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
2020-05-26 08:40:15 +02:00
Then we create a script that will automatically add <code>bookmarks.db</code> and push to some repository: <code>buku_git_push</code>.
2020-03-19 10:46:47 +01:00
</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 start --user bukugit.timer
systemctl enable --user bukugit.timer
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<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">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orga16f95a" class="outline-3">
<h3 id="orga16f95a">Web Interface</h3>
<div class="outline-text-3" id="text-orga16f95a">
2020-03-19 10:46:47 +01:00
<p>
Run:
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash">bukuserver run --host 127.0.0.1 --port <span class="org-highlight-numbers-number">5001</span>
2020-03-19 10:46:47 +01:00
</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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgdb79db9" class="outline-3">
<h3 id="orgdb79db9">Cheatsheet</h3>
<div class="outline-text-3" id="text-orgdb79db9">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5949612" class="outline-3">
<h3 id="org5949612">Alternatives</h3>
<div class="outline-text-3" id="text-org5949612">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgbb4f8cc" class="outline-2">
<h2 id="orgbb4f8cc">Browser: qutebrowser</h2>
<div class="outline-text-2" id="text-orgbb4f8cc">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/qutebrowser/qutebrowser">https://github.com/qutebrowser/qutebrowser</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org98eac2c" class="outline-3">
<h3 id="org98eac2c">Installation</h3>
<div class="outline-text-3" id="text-org98eac2c">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S qutebrowser
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<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">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3e7fb0f" class="outline-4">
<h4 id="org3e7fb0f">Installation</h4>
<div class="outline-text-4" id="text-org3e7fb0f">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S pdfjs
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3e05dae" class="outline-4">
<h4 id="org3e05dae">Usage</h4>
<div class="outline-text-4" id="text-org3e05dae">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<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">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org26337db" class="outline-3">
<h3 id="org26337db">Integration with Buku</h3>
<div class="outline-text-3" id="text-org26337db">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org831d9e5" class="outline-3">
<h3 id="org831d9e5">Spell Checking</h3>
<div class="outline-text-3" id="text-org831d9e5">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org592a2d8" class="outline-2">
<h2 id="org592a2d8">Monitors</h2>
<div class="outline-text-2" id="text-org592a2d8">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgc27f83e" class="outline-2">
<h2 id="orgc27f83e">Sound Setup</h2>
<div class="outline-text-2" id="text-orgc27f83e">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S pulseaudio pavucontrol
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org79fe3ff" class="outline-2">
<h2 id="org79fe3ff">Music Setup</h2>
<div class="outline-text-2" id="text-org79fe3ff">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5cf4135" class="outline-3">
<h3 id="org5cf4135">Sound Server - Pulse Audio</h3>
<div class="outline-text-3" id="text-org5cf4135">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://wiki.archlinux.org/index.php/PulseAudio">https://wiki.archlinux.org/index.php/PulseAudio</a>
</p>
<p>
Install
</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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org42cff3f" class="outline-3">
<h3 id="org42cff3f">Audio Server - MPD</h3>
<div class="outline-text-3" id="text-org42cff3f">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://wiki.archlinux.org/index.php/Music_Player_Daemon">https://wiki.archlinux.org/index.php/Music_Player_Daemon</a>
</p>
<p>
=&gt; Now Mopidy is used instead of MPD
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9a0857e" class="outline-4">
<h4 id="org9a0857e">Installation</h4>
<div class="outline-text-4" id="text-org9a0857e">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S mpd
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgeff4ea2" class="outline-4">
<h4 id="orgeff4ea2">Automatic Startup</h4>
<div class="outline-text-4" id="text-orgeff4ea2">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">systemctl start --user mpd.service
systemctl enable --user mpd.service
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orge5b0b82" class="outline-4">
<h4 id="orge5b0b82">Command line interface to MPD - MPC</h4>
<div class="outline-text-4" id="text-orge5b0b82">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/MusicPlayerDaemon/mpc">https://github.com/MusicPlayerDaemon/mpc</a>
</p>
<p>
To install mpc: <code>yay -S mpc</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>mpc update</code></td>
<td class="org-left">Update the library</td>
</tr>
<tr>
<td class="org-left"><code>mpc rescan</code></td>
<td class="org-left">Rescan the library</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3c39505" class="outline-3">
<h3 id="org3c39505">Audio Server with Spotify - Mopidy</h3>
<div class="outline-text-3" id="text-org3c39505">
2020-03-19 10:46:47 +01:00
<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">
2021-01-01 20:12:34 +01:00
<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
2020-03-19 10:46:47 +01:00
</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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgc63e6d9" class="outline-3">
<h3 id="orgc63e6d9">MPD Client - ncmpcpp</h3>
<div class="outline-text-3" id="text-orgc63e6d9">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://wiki.archlinux.org/index.php/Ncmpcpp">https://wiki.archlinux.org/index.php/Ncmpcpp</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org21af277" class="outline-4">
<h4 id="org21af277">Installation</h4>
<div class="outline-text-4" id="text-org21af277">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S ncmpcpp
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4236f7d" class="outline-4">
<h4 id="org4236f7d">Config</h4>
<div class="outline-text-4" id="text-org4236f7d">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org6fd22ec" class="outline-4">
<h4 id="org6fd22ec">Cheatsheet</h4>
<div class="outline-text-4" id="text-org6fd22ec">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://pkgbuild.com/~jelle/ncmpcpp/">https://pkgbuild.com/~jelle/ncmpcpp/</a>
</p>
<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">Command</td>
<td class="org-left">Usage</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org37774da" class="outline-3">
<h3 id="org37774da">Library Manager - beets</h3>
<div class="outline-text-3" id="text-org37774da">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/beetbox/beets">https://github.com/beetbox/beets</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9eb9be8" class="outline-4">
<h4 id="org9eb9be8">Installation</h4>
<div class="outline-text-4" id="text-org9eb9be8">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S beets
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org47b73a0" class="outline-4">
<h4 id="org47b73a0">Configuration</h4>
<div class="outline-text-4" id="text-org47b73a0">
2020-03-19 10:46:47 +01:00
<p>
Configuration folder: <code>~/.config/beets/</code>
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org8f07d64" class="outline-4">
<h4 id="org8f07d64">Cheatsheet</h4>
<div class="outline-text-4" id="text-org8f07d64">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org29c6832" class="outline-2">
<h2 id="org29c6832">Movies</h2>
<div class="outline-text-2" id="text-org29c6832">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org0430113" class="outline-3">
<h3 id="org0430113">Media Player - MPV</h3>
<div class="outline-text-3" id="text-org0430113">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org844cd0a" class="outline-4">
<h4 id="org844cd0a">Installation</h4>
<div class="outline-text-4" id="text-org844cd0a">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S mpv
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd2e8be6" class="outline-4">
<h4 id="orgd2e8be6">Key Bindings</h4>
<div class="outline-text-4" id="text-orgd2e8be6">
2020-03-19 10:46:47 +01:00
<p>
The configuration is set in <code>/.config/mpv/input.conf</code>.
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9368255" class="outline-4">
<h4 id="org9368255">CheatSheet</h4>
<div class="outline-text-4" id="text-org9368255">
2020-03-19 10:46:47 +01:00
<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">Command</td>
<td class="org-left">Usage</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org504bcc0" class="outline-3">
<h3 id="org504bcc0">Chromecast with CATT</h3>
<div class="outline-text-3" id="text-org504bcc0">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/skorokithakis/catt">https://github.com/skorokithakis/catt</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4a63a7a" class="outline-4">
<h4 id="org4a63a7a">Installation</h4>
<div class="outline-text-4" id="text-org4a63a7a">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S catt
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orga002612" class="outline-4">
<h4 id="orga002612">Usage to cast videos to chromecast</h4>
<div class="outline-text-4" id="text-orga002612">
2020-03-19 10:46:47 +01:00
<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>
2020-05-26 08:40:15 +02:00
<td class="org-left">catt cast_site <a href="https://en.wikipedia.org/wiki/Rickrolling">https://en.wikipedia.org/wiki/Rickrolling</a></td>
2020-03-19 10:46:47 +01:00
<td class="org-left">Cast website</td>
</tr>
</tbody>
</table>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org72c0074" class="outline-4">
<h4 id="org72c0074">Usage for controlling the device</h4>
<div class="outline-text-4" id="text-org72c0074">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgfd70759" class="outline-2">
<h2 id="orgfd70759">Contact Manager</h2>
<div class="outline-text-2" id="text-orgfd70759">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5c77bb5" class="outline-3">
<h3 id="org5c77bb5">Google Conctacts: Khard</h3>
<div class="outline-text-3" id="text-org5c77bb5">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgbb64be1" class="outline-3">
<h3 id="orgbb64be1">Mu</h3>
<div class="outline-text-3" id="text-orgbb64be1">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgeb1f463" class="outline-2">
<h2 id="orgeb1f463">Connect with Phone</h2>
<div class="outline-text-2" id="text-orgeb1f463">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S kdeconnect
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5d8a803" class="outline-2">
<h2 id="org5d8a803">Chat Application - Weechat</h2>
<div class="outline-text-2" id="text-org5d8a803">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org6957637" class="outline-3">
<h3 id="org6957637">Installation</h3>
<div class="outline-text-3" id="text-org6957637">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgce5f866" class="outline-3">
<h3 id="orgce5f866">Enable mouse support</h3>
<div class="outline-text-3" id="text-orgce5f866">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-text">/mouse enable
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org2e3ae2e" class="outline-3">
<h3 id="org2e3ae2e">Scripts</h3>
<div class="outline-text-3" id="text-org2e3ae2e">
2020-03-19 10:46:47 +01:00
<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>
2020-05-26 08:40:15 +02:00
<td class="org-left">colorize_nicks.py</td>
2020-03-19 10:46:47 +01:00
<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>
2020-05-26 08:40:15 +02:00
<td class="org-left">colorize_lines.pl</td>
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgc35ab72" class="outline-3">
<h3 id="orgc35ab72">Theme</h3>
<div class="outline-text-3" id="text-orgc35ab72">
2020-03-19 10:46:47 +01:00
<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">
2020-11-03 16:27:09 +01:00
<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>
2020-03-19 10:46:47 +01:00
/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
2020-11-03 16:27:09 +01:00
/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>
2020-03-19 10:46:47 +01:00
/set buffers.color.current_bg white
2020-11-03 16:27:09 +01:00
/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>
2020-03-19 10:46:47 +01:00
/set weechat.bar.title.color_fg black
2020-11-03 16:27:09 +01:00
/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>
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgb1f6943" class="outline-3">
<h3 id="orgb1f6943">Configuration</h3>
<div class="outline-text-3" id="text-orgb1f6943">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1bedc2c" class="outline-3">
<h3 id="org1bedc2c">Multi-line messages</h3>
<div class="outline-text-3" id="text-org1bedc2c">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<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">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/keith/edit-weechat">https://github.com/keith/edit-weechat</a>
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-type">mkdir</span> -p ~/.weechat/python/autoload
<span class="org-type">cd</span> ~/.weechat/python/autoload
2020-03-19 10:46:47 +01:00
wget https://raw.githubusercontent.com/keith/edit-weechat/master/edit.py
</pre>
</div>
<p>
Then, on weechat, type <code>/edit</code>.
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org408ef7a" class="outline-3">
<h3 id="org408ef7a">CheatSheet</h3>
<div class="outline-text-3" id="text-org408ef7a">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org509ffd4" class="outline-3">
<h3 id="org509ffd4">Slack Integration</h3>
<div class="outline-text-3" id="text-org509ffd4">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/wee-slack/wee-slack">https://github.com/wee-slack/wee-slack</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org28dce64" class="outline-4">
<h4 id="org28dce64">Installation</h4>
<div class="outline-text-4" id="text-org28dce64">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S python2-websocket-client
</pre>
</div>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-type">cd</span> ~/.weechat/python
2020-03-19 10:46:47 +01:00
wget https://raw.githubusercontent.com/wee-slack/wee-slack/master/wee_slack.py
2020-11-03 16:27:09 +01:00
<span class="org-type">ln</span> -s ../wee_slack.py autoload
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<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">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org0389f72" class="outline-3">
<h3 id="org0389f72">Aspell</h3>
<div class="outline-text-3" id="text-org0389f72">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org803f4c1" class="outline-3">
<h3 id="org803f4c1">Notifications</h3>
<div class="outline-text-3" id="text-org803f4c1">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/s3rvac/weechat-notify-send">https://github.com/s3rvac/weechat-notify-send</a>
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgbd62665" class="outline-3">
<h3 id="orgbd62665">Deamon and Client</h3>
<div class="outline-text-3" id="text-orgbd62665">
2020-03-19 10:46:47 +01:00
<p>
Weechat is started with the systemd service <code>weechat</code>.
It runs weechat inside tmux.
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgf5e055d" class="outline-2">
<h2 id="orgf5e055d">Redshift</h2>
<div class="outline-text-2" id="text-orgf5e055d">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org819f33a" class="outline-2">
<h2 id="org819f33a">Mail Setup</h2>
<div class="outline-text-2" id="text-org819f33a">
2020-03-19 10:46:47 +01:00
<p>
<a href="mail.html">Link</a> to the mail setup.
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org07df558" class="outline-3">
<h3 id="org07df558">Synchronize Mailboxes - Mbsync</h3>
<div class="outline-text-3" id="text-org07df558">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5b02d08" class="outline-4">
<h4 id="org5b02d08">Installation</h4>
<div class="outline-text-4" id="text-org5b02d08">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S isync
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orge09ed3b" class="outline-4">
<h4 id="orge09ed3b">Configuration</h4>
<div class="outline-text-4" id="text-orge09ed3b">
2020-03-19 10:46:47 +01:00
<p>
<code>~/.mbsyncrc</code>
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1ae519a" class="outline-4">
<h4 id="org1ae519a">Automation using systemd</h4>
<div class="outline-text-4" id="text-org1ae519a">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org0635e65" class="outline-5">
<h5 id="org0635e65">Retreive New mails</h5>
<div class="outline-text-5" id="text-org0635e65">
2020-03-19 10:46:47 +01:00
<ul class="org-ul">
2020-05-26 08:40:15 +02:00
<li><code>checkmail</code></li>
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5ca2dfd" class="outline-5">
<h5 id="org5ca2dfd">Synchronize all the mailboxes</h5>
<div class="outline-text-5" id="text-org5ca2dfd">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org2ad4023" class="outline-3">
<h3 id="org2ad4023">Send Mails - Msmtp</h3>
<div class="outline-text-3" id="text-org2ad4023">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://marlam.de/msmtp/">https://marlam.de/msmtp/</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5585070" class="outline-4">
<h4 id="org5585070">Installation</h4>
<div class="outline-text-4" id="text-org5585070">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S msmtp
</pre>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgc7dc528" class="outline-3">
<h3 id="orgc7dc528">Mail Index, Search and Tagging - Mu</h3>
<div class="outline-text-3" id="text-orgc7dc528">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/djcb/mu">https://github.com/djcb/mu</a>
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgb7cd7ba" class="outline-3">
<h3 id="orgb7cd7ba">Mail Client - NeoMutt</h3>
<div class="outline-text-3" id="text-orgb7cd7ba">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/neomutt/neomutt">https://github.com/neomutt/neomutt</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orge24595f" class="outline-4">
<h4 id="orge24595f">Installation</h4>
<div class="outline-text-4" id="text-orge24595f">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S neomutt
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org7d3dd45" class="outline-4">
<h4 id="org7d3dd45">Display html mails</h4>
<div class="outline-text-4" id="text-org7d3dd45">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S w3m
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org18d6f5c" class="outline-4">
<h4 id="org18d6f5c">Open Url from mail</h4>
<div class="outline-text-4" id="text-org18d6f5c">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S urlview
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1140c6d" class="outline-4">
<h4 id="org1140c6d">Ressources</h4>
<div class="outline-text-4" id="text-org1140c6d">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9998819" class="outline-3">
<h3 id="org9998819">Notification system</h3>
<div class="outline-text-3" id="text-org9998819">
2020-03-19 10:46:47 +01:00
<p>
2020-05-26 08:40:15 +02:00
A script (<code>checkmail</code>) is used to retreive new mails and use <code>notify=send</code> is there are new received mails.
2020-03-19 10:46:47 +01:00
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgbd91c11" class="outline-2">
<h2 id="orgbd91c11">File Manager</h2>
<div class="outline-text-2" id="text-orgbd91c11">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org79b747c" class="outline-3">
<h3 id="org79b747c">Ranger</h3>
<div class="outline-text-3" id="text-org79b747c">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/ranger/ranger">https://github.com/ranger/ranger</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd6f54a8" class="outline-4">
<h4 id="orgd6f54a8">Installation</h4>
<div class="outline-text-4" id="text-orgd6f54a8">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S ranger
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1aedd96" class="outline-4">
<h4 id="org1aedd96">Configuration</h4>
<div class="outline-text-4" id="text-org1aedd96">
2020-03-19 10:46:47 +01:00
<p>
The configuration file is <code>~/.config/ranger/rc.conf</code>.
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orga7f1329" class="outline-4">
<h4 id="orga7f1329">Display pdf</h4>
<div class="outline-text-4" id="text-orga7f1329">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgeefd008" class="outline-3">
<h3 id="orgeefd008">GUI File Manager: pcmanfm</h3>
<div class="outline-text-3" id="text-orgeefd008">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://wiki.archlinux.org/index.php/PCManFM">https://wiki.archlinux.org/index.php/PCManFM</a>
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org84c0792" class="outline-2">
<h2 id="org84c0792">Image viewer</h2>
<div class="outline-text-2" id="text-org84c0792">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgcc19f59" class="outline-3">
<h3 id="orgcc19f59">sxiv</h3>
<div class="outline-text-3" id="text-orgcc19f59">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org2155a68" class="outline-4">
<h4 id="org2155a68">Installation</h4>
<div class="outline-text-4" id="text-org2155a68">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S sxiv
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1d4a585" class="outline-4">
<h4 id="org1d4a585">Open Gif</h4>
<div class="outline-text-4" id="text-org1d4a585">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">sxiv -a file.gif
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orge874327" class="outline-4">
<h4 id="orge874327">Cheatsheet</h4>
<div class="outline-text-4" id="text-orge874327">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org58c88c9" class="outline-2">
<h2 id="org58c88c9">HotKeyManager - SXHKD</h2>
<div class="outline-text-2" id="text-org58c88c9">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1d0b5b8" class="outline-2">
<h2 id="org1d0b5b8">Windows Manager - i3</h2>
<div class="outline-text-2" id="text-org1d0b5b8">
2020-03-19 10:46:47 +01:00
<p>
<a href="i3.html">Link</a> to the documentation
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org67f0eb1" class="outline-3">
<h3 id="org67f0eb1">Installation</h3>
<div class="outline-text-3" id="text-org67f0eb1">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S i3-gaps
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org22a7c8f" class="outline-3">
<h3 id="org22a7c8f">Configuration</h3>
<div class="outline-text-3" id="text-org22a7c8f">
2020-03-19 10:46:47 +01:00
<p>
<code>~/.i3/config</code>
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4783a82" class="outline-2">
<h2 id="org4783a82">Polybar</h2>
<div class="outline-text-2" id="text-org4783a82">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgce9d8af" class="outline-3">
<h3 id="orgce9d8af">Installation</h3>
<div class="outline-text-3" id="text-orgce9d8af">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S polybar
</pre>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4749a35" class="outline-2">
<h2 id="org4749a35">Compositor - Picom</h2>
<div class="outline-text-2" id="text-org4749a35">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgfebe1d3" class="outline-3">
<h3 id="orgfebe1d3">Installation</h3>
<div class="outline-text-3" id="text-orgfebe1d3">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S picom
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orga1ed6b1" class="outline-3">
<h3 id="orga1ed6b1">Configuration</h3>
<div class="outline-text-3" id="text-orga1ed6b1">
2020-03-19 10:46:47 +01:00
<p>
<code>~/.config/picom/picom.conf</code>
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3eda8aa" class="outline-3">
<h3 id="org3eda8aa">Automatic run as daemon</h3>
<div class="outline-text-3" id="text-org3eda8aa">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org40c54af" class="outline-2">
<h2 id="org40c54af">Notification Manager - Dunst</h2>
<div class="outline-text-2" id="text-org40c54af">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org7cb6702" class="outline-3">
<h3 id="org7cb6702">Installation</h3>
<div class="outline-text-3" id="text-org7cb6702">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S dunst dunstify
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orge21df17" class="outline-3">
<h3 id="orge21df17">Configuration</h3>
<div class="outline-text-3" id="text-orge21df17">
2020-03-19 10:46:47 +01:00
<p>
<code>~/.config/dunst/dunstrc</code>
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd88d36b" class="outline-3">
<h3 id="orgd88d36b">Usage</h3>
<div class="outline-text-3" id="text-orgd88d36b">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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>
2020-03-19 10:46:47 +01:00
</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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4178a17" class="outline-2">
<h2 id="org4178a17">Office Suite</h2>
<div class="outline-text-2" id="text-org4178a17">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgef9dc95" class="outline-3">
<h3 id="orgef9dc95">WPS Office</h3>
<div class="outline-text-3" id="text-orgef9dc95">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S wps-office wps-office-extension-french-dictionary ttf-wps-fonts
</pre>
</div>
<p>
Alternatives are:
</p>
<ul class="org-ul">
<li>open-office</li>
</ul>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org107289c" class="outline-3">
<h3 id="org107289c">Minimap SpreadSheet - SC-IM</h3>
<div class="outline-text-3" id="text-org107289c">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3ecd4ec" class="outline-2">
<h2 id="org3ecd4ec">Managing Theme</h2>
<div class="outline-text-2" id="text-org3ecd4ec">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1f9e14f" class="outline-3">
<h3 id="org1f9e14f">GTK Themes</h3>
<div class="outline-text-3" id="text-org1f9e14f">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgf040616" class="outline-4">
<h4 id="orgf040616">Gui Manager</h4>
<div class="outline-text-4" id="text-orgf040616">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orge68fb92" class="outline-4">
<h4 id="orge68fb92">Icons and themes</h4>
<div class="outline-text-4" id="text-orge68fb92">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org2f8f733" class="outline-3">
<h3 id="org2f8f733">QT Themes</h3>
<div class="outline-text-3" id="text-org2f8f733">
2020-03-19 10:46:47 +01:00
<p>
Run <code>qt5ct</code> to manage QT Themes.
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgedbd31d" class="outline-3">
<h3 id="orgedbd31d">XFT Themes</h3>
<div class="outline-text-3" id="text-orgedbd31d">
2020-03-19 10:46:47 +01:00
<p>
Some configuration are located in <code>~/.Xresources</code>.
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgce45d95" class="outline-2">
<h2 id="orgce45d95">Advanced config</h2>
<div class="outline-text-2" id="text-orgce45d95">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4c6eb49" class="outline-3">
<h3 id="org4c6eb49">Printer</h3>
<div class="outline-text-3" id="text-org4c6eb49">
2020-03-19 10:46:47 +01:00
<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
2020-11-03 16:27:09 +01:00
lpq -a <span class="org-comment-delimiter"># </span><span class="org-comment">on all queues</span>
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
Clear the queue
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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>
2020-03-19 10:46:47 +01:00
</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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org75b8fb8" class="outline-3">
<h3 id="org75b8fb8">Kernel Management</h3>
<div class="outline-text-3" id="text-org75b8fb8">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<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>
2020-03-19 10:46:47 +01:00
</tr>
</tbody>
</table>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgf0690fa" class="outline-3">
<h3 id="orgf0690fa">Power Management Tool: Powertop</h3>
<div class="outline-text-3" id="text-orgf0690fa">
2020-03-19 10:46:47 +01:00
<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
2020-11-03 16:27:09 +01:00
<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
2020-03-19 10:46:47 +01:00
</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
2020-11-03 16:27:09 +01:00
<span class="org-type">sudo</span> systemctl enable thermald
<span class="org-type">sudo</span> systemctl start thermald
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgc45653d" class="outline-3">
<h3 id="orgc45653d">Lid open/close</h3>
<div class="outline-text-3" id="text-orgc45653d">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orga5c81f2" class="outline-3">
<h3 id="orga5c81f2">Automatically Mount devices - Udiskie</h3>
<div class="outline-text-3" id="text-orga5c81f2">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org7dc611c" class="outline-3">
<h3 id="org7dc611c">Format disks</h3>
<div class="outline-text-3" id="text-org7dc611c">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgfe5b6b1" class="outline-3">
<h3 id="orgfe5b6b1">Bluetooth</h3>
<div class="outline-text-3" id="text-orgfe5b6b1">
2020-03-19 10:46:47 +01:00
<p>
Bluetooth manager: <a href="https://github.com/blueman-project/blueman">https://github.com/blueman-project/blueman</a>
<code>blueman-manager</code>
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgadcc246" class="outline-2">
<h2 id="orgadcc246">LaTeX</h2>
<div class="outline-text-2" id="text-orgadcc246">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgf54200f" class="outline-3">
<h3 id="orgf54200f">Installation</h3>
<div class="outline-text-3" id="text-orgf54200f">
2020-03-19 10:46:47 +01:00
<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>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgbae1200" class="outline-3">
<h3 id="orgbae1200">Personnal classes/packages</h3>
<div class="outline-text-3" id="text-orgbae1200">
2020-03-19 10:46:47 +01:00
<p>
2021-01-01 20:12:34 +01:00
Every custom class or packages can be put under <code>~/.local/share/texmf/tex/latex/local/</code> folder.
2020-03-19 10:46:47 +01:00
</p>
<p>
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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org03f8c7e" class="outline-3">
<h3 id="org03f8c7e">From screenshot to latex math formula</h3>
<div class="outline-text-3" id="text-org03f8c7e">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://mathpix.com/">https://mathpix.com/</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orga0363e8" class="outline-4">
<h4 id="orga0363e8">Installation</h4>
<div class="outline-text-4" id="text-orga0363e8">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S mathpix-snipping-tool
</pre>
</div>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgb7d846d" class="outline-2">
<h2 id="orgb7d846d">Mathematical Software</h2>
<div class="outline-text-2" id="text-orgb7d846d">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org6057ab6" class="outline-3">
<h3 id="org6057ab6">Insect</h3>
<div class="outline-text-3" id="text-org6057ab6">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/sharkdp/insect">https://github.com/sharkdp/insect</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org7038e45" class="outline-4">
<h4 id="org7038e45">Installation</h4>
<div class="outline-text-4" id="text-org7038e45">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S insect
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org312c0e7" class="outline-4">
<h4 id="org312c0e7">Usage</h4>
<div class="outline-text-4" id="text-org312c0e7">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgc271cf8" class="outline-3">
<h3 id="orgc271cf8">Matlab</h3>
<div class="outline-text-3" id="text-orgc271cf8">
2020-03-19 10:46:47 +01:00
<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>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org49158fb" class="outline-4">
<h4 id="org49158fb">Installation</h4>
<div class="outline-text-4" id="text-org49158fb">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9585ba1" class="outline-3">
<h3 id="org9585ba1">SageMath</h3>
<div class="outline-text-3" id="text-org9585ba1">
2020-03-19 10:46:47 +01:00
<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>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org1f729f1" class="outline-4">
<h4 id="org1f729f1">Installation</h4>
<div class="outline-text-4" id="text-org1f729f1">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S sagemath
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd1ceaf1" class="outline-4">
<h4 id="orgd1ceaf1">Usage</h4>
<div class="outline-text-4" id="text-orgd1ceaf1">
2020-03-19 10:46:47 +01:00
<p>
Run <code>sage -n jupyter</code> to run jupyter notebooks
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org58f7677" class="outline-4">
<h4 id="org58f7677">Documentation</h4>
<div class="outline-text-4" id="text-org58f7677">
2020-03-19 10:46:47 +01:00
<p>
<a href="http://doc.sagemath.org/html/en/reference/plotting/sage/plot/plot.html#sage.plot.plot.plot">http://doc.sagemath.org/html/en/reference/plotting/sage/plot/plot.html#sage.plot.plot.plot</a>
<a href="http://doc.sagemath.org/html/en/reference/calculus/sage/symbolic/expression.html">http://doc.sagemath.org/html/en/reference/calculus/sage/symbolic/expression.html</a>
<a href="http://doc.sagemath.org/html/en/reference/calculus/sage/symbolic/assumptions.html">http://doc.sagemath.org/html/en/reference/calculus/sage/symbolic/assumptions.html</a>
</p>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgdb1801f" class="outline-2">
<h2 id="orgdb1801f">Download Manager</h2>
<div class="outline-text-2" id="text-orgdb1801f">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgdbe5c8c" class="outline-3">
<h3 id="orgdbe5c8c">Torrent Client - deluge</h3>
<div class="outline-text-3" id="text-orgdbe5c8c">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/deluge-torrent/deluge">https://github.com/deluge-torrent/deluge</a>
<a href="https://wiki.archlinux.org/index.php/Deluge">https://wiki.archlinux.org/index.php/Deluge</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org0b13cea" class="outline-4">
<h4 id="org0b13cea">Installation</h4>
<div class="outline-text-4" id="text-org0b13cea">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S deluge
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9af0be9" class="outline-4">
<h4 id="org9af0be9">Configuration</h4>
<div class="outline-text-4" id="text-org9af0be9">
2020-03-19 10:46:47 +01:00
<p>
<code>~/.config/deluge/</code>
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org22f519b" class="outline-4">
<h4 id="org22f519b">Command Line Interface</h4>
<div class="outline-text-4" id="text-org22f519b">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://whatbox.ca/wiki/deluge_console_documentation">https://whatbox.ca/wiki/deluge_console_documentation</a>
</p>
<p>
Start the daemon using <code>deluge -d</code>.
Then run the CLI client using <code>deluge-console</code>.
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org707a33d" class="outline-3">
<h3 id="org707a33d">Youtube-dl</h3>
<div class="outline-text-3" id="text-org707a33d">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S youtube-dl
</pre>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org362e27f" class="outline-4">
<h4 id="org362e27f">Download best audio</h4>
<div class="outline-text-4" id="text-org362e27f">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">youtube-dl -f bestaudio url
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orga9c013f" class="outline-4">
<h4 id="orga9c013f">Download best video with audio</h4>
<div class="outline-text-4" id="text-orga9c013f">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">youtube-dl -f best url
</pre>
</div>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org884e45c" class="outline-2">
<h2 id="org884e45c">Default Applications</h2>
<div class="outline-text-2" id="text-org884e45c">
2020-03-19 10:46:47 +01:00
<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>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5f78b6c" class="outline-3">
<h3 id="org5f78b6c">Mailcap file</h3>
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3871f16" class="outline-3">
<h3 id="org3871f16">XDG-OPEN</h3>
<div class="outline-text-3" id="text-org3871f16">
2020-03-19 10:46:47 +01:00
<p>
<code>~/.config/mimeapps.list</code>
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org16e9c60" class="outline-2">
<h2 id="org16e9c60">Desktop files</h2>
<div class="outline-text-2" id="text-org16e9c60">
2020-03-19 10:46:47 +01:00
<p>
<a href="applications.html">Desktop Applications</a>
</p>
<p>
<code>~/.local/share/applications/</code>
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org718d63c" class="outline-2">
<h2 id="org718d63c">Bibliography Management</h2>
<div class="outline-text-2" id="text-org718d63c">
2020-03-19 10:46:47 +01:00
<ul class="org-ul">
<li><a href="https://github.com/JabRef/jabref">https://github.com/JabRef/jabref</a></li>
<li><a href="https://github.com/t-wissmann/rofi-bibbrowser">https://github.com/t-wissmann/rofi-bibbrowser</a></li>
</ul>
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgdb8f440" class="outline-3">
<h3 id="orgdb8f440">Alternatives:</h3>
<div class="outline-text-3" id="text-orgdb8f440">
2020-03-19 10:46:47 +01:00
<p>
GUI:
</p>
<ul class="org-ul">
<li>Zotero</li>
<li>Mendeley</li>
</ul>
<p>
Command line based:
</p>
<ul class="org-ul">
<li><a href="https://github.com/papis/papis">Papis</a></li>
</ul>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org76a92c2" class="outline-2">
<h2 id="org76a92c2">Calendar</h2>
<div class="outline-text-2" id="text-org76a92c2">
2020-03-19 10:46:47 +01:00
<p>
<a href="calendar.html">Link</a> to configuration
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org6d24a46" class="outline-3">
<h3 id="org6d24a46">Vdirsyncer - Sync calendars</h3>
<div class="outline-text-3" id="text-org6d24a46">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/pimutils/vdirsyncer">https://github.com/pimutils/vdirsyncer</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org65d42a7" class="outline-4">
<h4 id="org65d42a7">Installation</h4>
<div class="outline-text-4" id="text-org65d42a7">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-01 20:12:34 +01:00
<pre class="src src-bash">yay -S vdirsyncer python-requests-oauthlib
2020-03-19 10:46:47 +01:00
</pre>
</div>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-type">sudo</span> pip install requests-oauthlib
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5f2d647" class="outline-4">
<h4 id="org5f2d647">Cheatsheet</h4>
<div class="outline-text-4" id="text-org5f2d647">
2020-03-19 10:46:47 +01:00
<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>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org0544473" class="outline-4">
<h4 id="org0544473">Automation - Systemd</h4>
<div class="outline-text-4" id="text-org0544473">
2020-03-19 10:46:47 +01:00
<p>
First, run
</p>
<div class="org-src-container">
<pre class="src src-bash">vdirsyncer discover google_calendar
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash">systemctl --user enable vdirsyncer.timer
systemctl --user start 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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org12e667b" class="outline-3">
<h3 id="org12e667b">Calendar Client - Khal</h3>
<div class="outline-text-3" id="text-org12e667b">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/pimutils/khal">https://github.com/pimutils/khal</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org7c1bf3f" class="outline-4">
<h4 id="org7c1bf3f">Installation</h4>
<div class="outline-text-4" id="text-org7c1bf3f">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S khal
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org039b134" class="outline-4">
<h4 id="org039b134">Import ICS files</h4>
<div class="outline-text-4" id="text-org039b134">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">khal import even.ics
</pre>
</div>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd7cfcd6" class="outline-2">
<h2 id="orgd7cfcd6">RSS Reader - newsboat</h2>
<div class="outline-text-2" id="text-orgd7cfcd6">
2020-03-19 10:46:47 +01:00
<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>
With Emacs:
</p>
<ul class="org-ul">
<li><a href="http://pragmaticemacs.com/emacs/read-your-rss-feeds-in-emacs-with-elfeed/">http://pragmaticemacs.com/emacs/read-your-rss-feeds-in-emacs-with-elfeed/</a></li>
</ul>
<p>
On the phone:
</p>
<ul class="org-ul">
<li><a href="https://feedly.com/i/my">https://feedly.com/i/my</a></li>
</ul>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org284a5c1" class="outline-3">
<h3 id="org284a5c1">Newsboat</h3>
<div class="outline-text-3" id="text-org284a5c1">
2020-03-19 10:46:47 +01:00
<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>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgc8eeb6c" class="outline-4">
<h4 id="orgc8eeb6c">Installation</h4>
<div class="outline-text-4" id="text-orgc8eeb6c">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S newboat
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgc1423de" class="outline-4">
<h4 id="orgc1423de">Configuration</h4>
<div class="outline-text-4" id="text-orgc1423de">
2020-03-19 10:46:47 +01:00
<p>
<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>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org58be0d2" class="outline-4">
<h4 id="org58be0d2">CheatSheet</h4>
<div class="outline-text-4" id="text-org58be0d2">
2020-03-19 10:46:47 +01:00
<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>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgf8537c2" class="outline-2">
<h2 id="orgf8537c2">Task Manager - Org Mode</h2>
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd6d8ff7" class="outline-2">
<h2 id="orgd6d8ff7">PDF Reader - Zathura</h2>
<div class="outline-text-2" id="text-orgd6d8ff7">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://pwmt.org/projects/zathura/">https://pwmt.org/projects/zathura/</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org2d317e6" class="outline-3">
<h3 id="org2d317e6">Installation</h3>
<div class="outline-text-3" id="text-org2d317e6">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4087693" class="outline-3">
<h3 id="org4087693">Configuration</h3>
<div class="outline-text-3" id="text-org4087693">
2020-03-19 10:46:47 +01:00
<p>
<code>~/.config/zathura/zathurarc</code>
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd71b7d7" class="outline-3">
<h3 id="orgd71b7d7">Cheatsheet</h3>
<div class="outline-text-3" id="text-orgd71b7d7">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<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">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3f4846d" class="outline-4">
<h4 id="org3f4846d">Installation</h4>
<div class="outline-text-4" id="text-org3f4846d">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S pdfpc
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orge1b13e7" class="outline-4">
<h4 id="orge1b13e7">Video support</h4>
<div class="outline-text-4" id="text-orge1b13e7">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org8fa7589" class="outline-4">
<h4 id="org8fa7589">Usage</h4>
<div class="outline-text-4" id="text-org8fa7589">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">pdfpc filename.pdf
</pre>
</div>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org20664de" class="outline-2">
<h2 id="org20664de">DisplayManager - None</h2>
<div class="outline-text-2" id="text-org20664de">
<p>
Before, I was using lightDM, 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-orgcbe48bb" class="outline-2">
<h2 id="orgcbe48bb">Theme manager</h2>
<div class="outline-text-2" id="text-orgcbe48bb">
2020-03-19 10:46:47 +01:00
<p>
The idea would be to have a command that changes the theme of all the system.
</p>
<p>
There would be at least one light and one dark theme.
It seems the color is due to this part of the script. Should then source this file somehow.
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-variable-name">BASE16_SHELL</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">HOME</span></span><span class="org-string">/.base16-manager/chriskempson/base16-shell/"</span>
<span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PS1</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
<span class="org-rainbow-delimiters-depth-1">[</span> -s <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">BASE16_SHELL</span></span><span class="org-string">/profile_helper.sh"</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
<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-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">BASE16_SHELL</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">/profile_helper.sh")</span></span><span class="org-string">"</span>
2020-03-19 10:46:47 +01:00
</pre>
</div>
<ul class="org-ul">
<li class="on"><code>[X]</code> shell: <a href="https://github.com/chriskempson/base16-shell">https://github.com/chriskempson/base16-shell</a></li>
<li class="on"><code>[X]</code> ranger: uses colors of the shell</li>
<li class="on"><code>[X]</code> vim: <a href="https://github.com/chriskempson/base16-vim">https://github.com/chriskempson/base16-vim</a></li>
<li class="off"><code>[&#xa0;]</code> emacs: <a href="https://github.com/belak/base16-emacs">https://github.com/belak/base16-emacs</a></li>
<li class="on"><code>[X]</code> zathura: <a href="https://github.com/nicodebo/base16-zathura">https://github.com/nicodebo/base16-zathura</a></li>
<li class="off"><code>[&#xa0;]</code> neomutt: <a href="https://github.com/josephholsten/base16-mutt">https://github.com/josephholsten/base16-mutt</a></li>
<li class="on"><code>[X]</code> ncmpcpp: uses colors of terminal (termite) defined in <code>~/.config/termite/config</code></li>
<li class="on"><code>[X]</code> polybar: uses colors of Xresources: <code>~/.Xressources.d/colors</code></li>
<li class="off"><code>[&#xa0;]</code> dunst: <a href="https://github.com/khamer/base16-dunst">https://github.com/khamer/base16-dunst</a></li>
<li class="off"><code>[&#xa0;]</code> fzf: <a href="https://github.com/nicodebo/base16-fzf">https://github.com/nicodebo/base16-fzf</a></li>
<li class="off"><code>[&#xa0;]</code> i3: <a href="https://github.com/khamer/base16-i3">https://github.com/khamer/base16-i3</a></li>
<li class="off"><code>[&#xa0;]</code> qutebrowser: <a href="https://github.com/theova/base16-qutebrowser">https://github.com/theova/base16-qutebrowser</a></li>
<li class="off"><code>[&#xa0;]</code> rofi: <a href="https://gitlab.com/0xdec/base16-rofi">https://gitlab.com/0xdec/base16-rofi</a></li>
<li class="off"><code>[&#xa0;]</code> background: use custom script</li>
<li class="off"><code>[&#xa0;]</code> tmux</li>
<li class="off"><code>[&#xa0;]</code> GUI file manager?</li>
</ul>
<p>
Possible theme managers:
</p>
<ul class="org-ul">
<li><a href="https://github.com/mjswensen/themer">https://github.com/mjswensen/themer</a></li>
<li><a href="https://github.com/dylanaraps/pywal">https://github.com/dylanaraps/pywal</a></li>
</ul>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org269f3c0" class="outline-3">
<h3 id="org269f3c0">Base16</h3>
<div class="outline-text-3" id="text-org269f3c0">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/chriskempson/base16">https://github.com/chriskempson/base16</a>
<a href="http://chriskempson.com/projects/base16/">http://chriskempson.com/projects/base16/</a>
<a href="https://www.youtube.com/watch?v=QcOxU1sOOuw">https://www.youtube.com/watch?v=QcOxU1sOOuw</a>
</p>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org311a3b1" class="outline-4">
<h4 id="org311a3b1">Base16 Philosophy</h4>
<div class="outline-text-4" id="text-org311a3b1">
2020-03-19 10:46:47 +01:00
<p>
Define colors according to rules: <a href="http://chriskempson.com/projects/base16/">http://chriskempson.com/projects/base16/</a>
Then we can use these colors multiple applications.
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org27d1f51" class="outline-4">
<h4 id="org27d1f51">Base16-shell</h4>
<div class="outline-text-4" id="text-org27d1f51">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/chriskempson/base16-shell">https://github.com/chriskempson/base16-shell</a>
</p>
<p>
This changes the shell colors. This should be added to <code>~/.bashrc</code>:
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Base16 Shell</span>
<span class="org-variable-name">BASE16_SHELL</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">HOME</span></span><span class="org-string">/.config/base16-shell/"</span>
<span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PS1</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
<span class="org-rainbow-delimiters-depth-1">[</span> -s <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">BASE16_SHELL</span></span><span class="org-string">/profile_helper.sh"</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
<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-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">BASE16_SHELL</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">/profile_helper.sh")</span></span><span class="org-string">"</span>
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4e8f23c" class="outline-4">
<h4 id="org4e8f23c">Base16-manager</h4>
<div class="outline-text-4" id="text-org4e8f23c">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/AuditeMarlow/base16-manager">https://github.com/AuditeMarlow/base16-manager</a>
</p>
<p>
This help changes many applications colors at once.
</p>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org40eaae9" class="outline-2">
<h2 id="org40eaae9">Streaming - OBS</h2>
<div class="outline-text-2" id="text-org40eaae9">
2020-11-03 16:27:09 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org427ca9a" class="outline-2">
<h2 id="org427ca9a">Use Android phone as webcam - Droidcam</h2>
<div class="outline-text-2" id="text-org427ca9a">
<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-orgb0767d7" class="outline-2">
<h2 id="orgb0767d7">Graphical Editor - Inskape</h2>
<div class="outline-text-2" id="text-orgb0767d7">
2020-03-19 10:46:47 +01:00
<ul class="org-ul">
<li><a href="https://inkscape.org/">https://inkscape.org/</a></li>
<li>Tikz</li>
</ul>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org8f31735" class="outline-2">
<h2 id="org8f31735">Remote Desktop - Anydesk</h2>
<div class="outline-text-2" id="text-org8f31735">
<div class="org-src-container">
<pre class="src src-bash">yay -S anydesk-bin
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd0d53df" class="outline-2">
<h2 id="orgd0d53df">Wireguard</h2>
<div class="outline-text-2" id="text-orgd0d53df">
<div class="org-src-container">
<pre class="src src-bash">yay -S wireguard-tools
</pre>
</div>
</div>
</div>
<div id="outline-container-org84932a0" class="outline-2">
<h2 id="org84932a0">VPN Setup with NordVPN</h2>
<div class="outline-text-2" id="text-org84932a0">
2020-03-19 10:46:47 +01:00
<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>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd5db64e" class="outline-3">
<h3 id="orgd5db64e">Installation</h3>
<div class="outline-text-3" id="text-orgd5db64e">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
<pre class="src src-bash">yay -S nordvpn-bin
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3890da4" class="outline-3">
<h3 id="org3890da4">Configuration</h3>
<div class="outline-text-3" id="text-org3890da4">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-type">sudo</span> systemctl enable nordvpnd.service
<span class="org-type">sudo</span> systemctl start nordvpnd.service
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd749bbf" class="outline-3">
<h3 id="orgd749bbf">Usage</h3>
<div class="outline-text-3" id="text-orgd749bbf">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org706944a" class="outline-3">
<h3 id="org706944a">Alternative: Use NordVPM with openVPN Instead</h3>
<div class="outline-text-3" id="text-org706944a">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/nstinus/nordvpn">https://github.com/nstinus/nordvpn</a>
<a href="https://github.com/jotyGill/openpyn-nordvpn">https://github.com/jotyGill/openpyn-nordvpn</a>
<a href="https://nordvpn.com/fr/tutorials/linux/openvpn/">https://nordvpn.com/fr/tutorials/linux/openvpn/</a>
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org203f672" class="outline-2">
<h2 id="org203f672">Others</h2>
<div class="outline-text-2" id="text-org203f672">
2020-04-05 11:30:26 +02:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org0f3a494" class="outline-3">
<h3 id="org0f3a494">Wallpaper: <code>xwallpaper</code></h3>
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org0688c8f" class="outline-3">
<h3 id="org0688c8f">Interact with API</h3>
<div class="outline-text-3" id="text-org0688c8f">
2020-03-19 10:46:47 +01:00
<ul class="org-ul">
<li>GUI: <a href="https://github.com/getinsomnia/insomnia">https://github.com/getinsomnia/insomnia</a></li>
<li>CLI: <a href="https://github.com/jakubroztocil/httpie">https://github.com/jakubroztocil/httpie</a></li>
</ul>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3fed8ac" class="outline-3">
<h3 id="org3fed8ac">Take Screenshot</h3>
<div class="outline-text-3" id="text-org3fed8ac">
2020-05-26 08:40:15 +02:00
<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>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-05-26 08:40:15 +02:00
<pre class="src src-bash">yay -S maim flameshot
2020-03-19 10:46:47 +01:00
</pre>
</div>
2020-05-26 08:40:15 +02:00
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgf0214e7" class="outline-3">
<h3 id="orgf0214e7">Show pressed keys</h3>
<div class="outline-text-3" id="text-orgf0214e7">
<div class="org-src-container">
<pre class="src src-bash">yay -S screenkey
</pre>
</div>
</div>
</div>
<div id="outline-container-org45d5d7c" class="outline-3">
<h3 id="org45d5d7c">File transfer</h3>
<div class="outline-text-3" id="text-org45d5d7c">
2020-05-26 08:40:15 +02:00
<p>
<a href="https://github.com/schollz/croc">https://github.com/schollz/croc</a>
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-05-26 08:40:15 +02:00
<pre class="src src-bash">yay -S croc
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org543e569" class="outline-3">
<h3 id="org543e569">Utilities</h3>
<div class="outline-text-3" id="text-org543e569">
2020-05-26 08:40:15 +02:00
<ul class="org-ul">
<li><a href="https://github.com/BurntSushi/ripgrep">https://github.com/BurntSushi/ripgrep</a></li>
<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>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash">yay -S fd ripgrep pdf2svg pdftk unclutter pdfarranger
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org635c3c6" class="outline-3">
<h3 id="org635c3c6">Trash</h3>
<div class="outline-text-3" id="text-org635c3c6">
2020-03-19 10:46:47 +01:00
<p>
<code>trash-cli</code> is used to manage the trash.
It is integrated with Ranger.
</p>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgdab3895" class="outline-2">
<h2 id="orgdab3895">Usefull commands</h2>
<div class="outline-text-2" id="text-orgdab3895">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9d08310" class="outline-3">
<h3 id="org9d08310">Find files or directories</h3>
<div class="outline-text-3" id="text-org9d08310">
2020-03-19 10:46:47 +01:00
<ul class="org-ul">
<li><a href="https://github.com/sharkdp/fd">https://github.com/sharkdp/fd</a></li>
<li><a href="https://github.com/BurntSushi/ripgrep">https://github.com/BurntSushi/ripgrep</a></li>
<li><a href="https://github.com/ggreer/the%5C_silver%5C_searcher">https://github.com/ggreer/the%5C_silver%5C_searcher</a></li>
<li>find</li>
<li>fzf</li>
</ul>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org75d3c9c" class="outline-3">
<h3 id="org75d3c9c">Show informations about the machine</h3>
<div class="outline-text-3" id="text-org75d3c9c">
2020-03-19 10:46:47 +01:00
<ul class="org-ul">
<li><a href="https://github.com/dylanaraps/neofetch">neofetch</a></li>
</ul>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgf6a3aed" class="outline-3">
<h3 id="orgf6a3aed">Work with PDF</h3>
<div class="outline-text-3" id="text-orgf6a3aed">
2020-03-19 10:46:47 +01:00
<p>
<code>pdftk</code>
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org90a5544" class="outline-3">
<h3 id="org90a5544">Separate PDF</h3>
<div class="outline-text-3" id="text-org90a5544">
2020-03-19 10:46:47 +01:00
<p>
<code>pdfseparate -f 1 -l 6 file.pdf split%d.pdf</code>
Will create <code>split1.pdf</code> to <code>split6.pdf</code> files corresponding to correct pages of <code>file.pdf</code>.
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orge958130" class="outline-3">
<h3 id="orge958130">Readline</h3>
<div class="outline-text-3" id="text-orge958130">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgee32033" class="outline-4">
<h4 id="orgee32033">Cursor Movement</h4>
<div class="outline-text-4" id="text-orgee32033">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org7a382e9" class="outline-4">
<h4 id="org7a382e9">Copy &amp; Paste</h4>
<div class="outline-text-4" id="text-org7a382e9">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9790ec4" class="outline-4">
<h4 id="org9790ec4">History</h4>
<div class="outline-text-4" id="text-org9790ec4">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org317c04c" class="outline-4">
<h4 id="org317c04c">Completion</h4>
<div class="outline-text-4" id="text-org317c04c">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<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">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgf0be421" class="outline-3">
<h3 id="orgf0be421">Others</h3>
<div class="outline-text-3" id="text-orgf0be421">
2020-03-19 10:46:47 +01:00
<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/dutchcoders/transfer.sh">transfer.sh</a></td>
<td class="org-left">upload and share files from the command line</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/timvisee/ffsend">ffsend</a></td>
<td class="org-left">share files from the command line</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/mrzool/bash-sensible">bash-sensible</a></td>
<td class="org-left">An attempt at saner Bash defaults</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/greg-js/arch-wiki-man">awman</a></td>
<td class="org-left">Arch Wiki man pages - Arch wiki offline</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/haikarainen/light">light</a></td>
<td class="org-left">Program to easily change brightness on backlight-controllers</td>
</tr>
<tr>
<td class="org-left"><a href="https://github.com/naelstrof/maim">maim</a></td>
<td class="org-left">Take screenshots</td>
</tr>
2020-11-03 16:27:09 +01:00
<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>
<tr>
<td class="org-left"><a href="https://github.com/smxi/inxi">inxi</a></td>
<td class="org-left">CLI tool to get system information</td>
</tr>
2020-03-19 10:46:47 +01:00
</tbody>
</table>
<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">Description</th>
</tr>
</thead>
<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>rsync -a --progress source dest</code></td>
<td class="org-left">Copy folders with stats</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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org042d8d2" class="outline-3">
<h3 id="org042d8d2">Archive and Extract</h3>
<div class="outline-text-3" id="text-org042d8d2">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd465654" class="outline-3">
<h3 id="orgd465654">Hardware</h3>
<div class="outline-text-3" id="text-orgd465654">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd0eebf3" class="outline-3">
<h3 id="orgd0eebf3">Network</h3>
<div class="outline-text-3" id="text-orgd0eebf3">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgc1b5497" class="outline-2">
<h2 id="orgc1b5497">Enable TRIM (SSD only)</h2>
<div class="outline-text-2" id="text-orgc1b5497">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-01 20:12:34 +01:00
<pre class="src src-bash"><span class="org-type">sudo</span> systemctl enable --now fstrim.timer
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org66408ed" class="outline-2">
<h2 id="org66408ed">Set the fastest mirror for Pacman</h2>
<div class="outline-text-2" id="text-org66408ed">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> pacman-mirrors --fasttrack
</pre>
</div>
</div>
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org73b11c0" class="outline-2">
<h2 id="org73b11c0">Some notes - Systemd</h2>
<div class="outline-text-2" id="text-org73b11c0">
2020-03-19 10:46:47 +01:00
<p>
To improve the startup time.
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
To see next timers
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-matlab">systemctl <span class="org-type">--</span>user list<span class="org-type">-</span>timers
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org4f5046a" class="outline-2">
<h2 id="org4f5046a">Ressources</h2>
<div class="outline-text-2" id="text-org4f5046a">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org24c5a0a" class="outline-3">
<h3 id="org24c5a0a">Dotfiles</h3>
<div class="outline-text-3" id="text-org24c5a0a">
2020-03-19 10:46:47 +01:00
<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>
2020-01-12 00:19:16 +01:00
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgfe7316a" class="outline-3">
<h3 id="orgfe7316a">Linux Softwares</h3>
<div class="outline-text-3" id="text-orgfe7316a">
2020-03-19 10:46:47 +01:00
<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>
2021-01-01 20:12:34 +01:00
<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">
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orge1acb68" class="outline-3">
<h3 id="orge1acb68">Tmux</h3>
<div class="outline-text-3" id="text-orge1acb68">
2020-01-12 00:19:16 +01:00
<p>
tmux - Terminal multiplexer
reattach-to-user-namespace - Reattach process (e.g., tmux) to background
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9a19c5f" class="outline-3">
<h3 id="org9a19c5f">Git</h3>
<div class="outline-text-3" id="text-org9a19c5f">
2020-01-12 00:19:16 +01:00
<p>
bfg - Removes large or troublesome blobs like git-filter-branch does, but faster
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9bed9c7" class="outline-3">
<h3 id="org9bed9c7">Text Editors</h3>
<div class="outline-text-3" id="text-org9bed9c7">
2020-01-12 00:19:16 +01:00
<p>
aspell - Spell checker with better logic than ispell
vim - Vi &rsquo;workalike&rsquo; with many additional features
neovim - Ambitious Vim-fork focused on extensibility and agility
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5cfb55f" class="outline-3">
<h3 id="org5cfb55f">LaTeX</h3>
2020-01-12 00:19:16 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgfe37c2c" class="outline-3">
<h3 id="orgfe37c2c">Mutt</h3>
<div class="outline-text-3" id="text-orgfe37c2c">
2020-01-12 00:19:16 +01:00
<p>
neomutt - Teaching an Old Dog New Tricks
msmtp - SMTP client that can be used as an SMTP plugin for Mutt
isync - Synchronize a maildir with an IMAP server
vdirsyncer - Synchronize calendars and contacts
urlview - URL extractor/launcher
w3m - Pager/text based browser
abook - Address book with mutt support
elinks - Text mode web browser
lbdb - Little brother&rsquo;s database for the mutt mail reader
mu - Tool for searching e-mail messages stored in the maildir-format
ripmime - Extract attachments out of MIME encoded email packages
shared-mime-info - Database of common MIME types
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgd197f0b" class="outline-3">
<h3 id="orgd197f0b">Micro controllers</h3>
<div class="outline-text-3" id="text-orgd197f0b">
2020-01-12 00:19:16 +01:00
<p>
avrdude - Atmel AVR MCU programmer
bootloadhid - USB boot loader for AVR microcontrollers
dfu-programmer - Device firmware update based USB programmer for Atmel chips
platformio - Ecosystem for IoT development (Arduino and ARM mbed compatible)
micropython - Python implementation for microcontrollers and constrained systems
arduino-mk - Makefile for Arduino sketches
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org2313020" class="outline-3">
<h3 id="org2313020">File Management</h3>
<div class="outline-text-3" id="text-org2313020">
2020-01-12 00:19:16 +01:00
<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>fzf</code></td>
<td class="org-left">Command-line fuzzy finder written in Go</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>
2020-01-28 21:32:38 +01:00
<td class="org-left"><code>atool</code> <code>zip</code></td>
2020-01-12 00:19:16 +01:00
<td class="org-left">script for managing file archives of various types</td>
</tr>
</tbody>
</table>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org3aea9f0" class="outline-3">
<h3 id="org3aea9f0">File Downloader</h3>
<div class="outline-text-3" id="text-org3aea9f0">
2020-01-12 00:19:16 +01:00
<p>
wget - Internet file retriever
you-get - Dumb downloader that scrapes the web
htop - Improved top (interactive process viewer)
httpie - User-friendly cURL replacement (command-line HTTP client)
curl - Get a file from an HTTP, HTTPS or FTP server
httpstat - curl statistics made simple
transmission - Lightweight BitTorrent client
aria2 - lightweight download utility
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org9abcbea" class="outline-3">
<h3 id="org9abcbea">Utils</h3>
<div class="outline-text-3" id="text-org9abcbea">
2020-01-12 00:19:16 +01:00
<p>
binutils - GNU Binary Utilities
coreutils - GNU File, Shell, and Text utilities
gnome-doc-utils - Documentation utilities for the GNOME project
moreutils - Collection of tools that nobody wrote when UNIX was young
</p>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org5fbbfa3" class="outline-3">
<h3 id="org5fbbfa3">A trier</h3>
<div class="outline-text-3" id="text-org5fbbfa3">
2020-01-12 00:19:16 +01:00
<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>cowsay</code></td>
<td class="org-left">Configurable talking characters in ASCII art</td>
</tr>
<tr>
<td class="org-left"><code>cppcheck</code></td>
<td class="org-left">Static analysis of C and C++ code</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>musikcube</code></td>
<td class="org-left">A cross-platform, terminal-based music player</td>
</tr>
<tr>
<td class="org-left"><code>openssl</code></td>
<td class="org-left">Cryptography and SSL/TLS Toolkit</td>
</tr>
<tr>
<td class="org-left"><code>openvpn</code></td>
<td class="org-left">SSL/TLS VPN implementing OSI layer 2 or 3 secure network extension</td>
</tr>
<tr>
<td class="org-left"><code>sdl</code></td>
<td class="org-left">Low-level access to audio, keyboard, mouse, joystick and graphics</td>
</tr>
<tr>
<td class="org-left"><code>texinfo</code></td>
<td class="org-left">Official documentation format of the GNU project</td>
</tr>
<tr>
<td class="org-left"><code>weechat</code></td>
<td class="org-left">Extensible IRC client</td>
</tr>
<tr>
<td class="org-left"><code>wego</code></td>
<td class="org-left">Weather app for the terminal</td>
</tr>
<tr>
<td class="org-left"><code>wifi</code></td>
<td class="org-left">password - Show the current WiFi network password</td>
</tr>
<tr>
<td class="org-left"><code>imagemagick</code></td>
<td class="org-left">Tools and libraries to manipulate images in many formats</td>
</tr>
<tr>
<td class="org-left"><code>glances</code></td>
<td class="org-left">Alternative to top/htop</td>
</tr>
<tr>
<td class="org-left"><code>pandoc</code></td>
<td class="org-left">Swiss-army knife of markup format conversion</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
2020-03-19 10:46:47 +01:00
</div>
2020-01-12 00:19:16 +01:00
<div id="postamble" class="status">
2021-01-01 20:12:34 +01:00
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-01-01 ven. 20:09</p>
2020-01-12 00:19:16 +01:00
</div>
</body>
</html>