literate-dotfiles/docs/install.html

4496 lines
121 KiB
HTML
Raw Permalink 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-10-25 14:37:10 +02:00
<!-- 2021-06-20 dim. 14:21 -->
2020-01-12 00:19:16 +01:00
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Installation</title>
2021-01-01 20:12:34 +01:00
<meta name="author" content="Dehaeze Thomas" />
2021-04-25 19:10:57 +02:00
<meta name="generator" content="Org Mode" />
2021-01-01 20:12:34 +01:00
<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-03 22:52:53 +01:00
<li><a href="#org6d375e1"><code>yay</code> - Package Manager</a></li>
<li><a href="#orgfd098ac"><code>git</code> - Version Control System</a></li>
2021-10-25 14:37:10 +02:00
<li><a href="#org374a65d"><code>alacritty</code> - Terminal</a></li>
2021-01-03 22:52:53 +01:00
<li><a href="#orgfeefb67"><code>bash</code> - Shell</a></li>
<li><a href="#orge245cf3"><code>tmux</code> - Terminal Multiplexer</a></li>
<li><a href="#org7ff3a78">Fonts</a></li>
<li><a href="#org58bb452"><code>emacs</code> and <code>vim</code> - Text Editors</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-03 22:52:53 +01:00
<li><a href="#orgb587381">Neovim</a></li>
<li><a href="#org35b5ea5">Emacs</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#org206b33a">SSH setup</a></li>
<li><a href="#orgb847de8">GnuPG</a></li>
<li><a href="#org279ee0b"><code>rofi</code> - Application Launcher</a></li>
<li><a href="#orgce1f32d"><code>pass</code> - Password Manager</a>
2020-03-19 10:46:47 +01:00
<ul>
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-03 22:52:53 +01:00
<li><a href="#org3faed1a"><code>buku</code> - Bookmark Manager</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org23fe870">Installation</a></li>
2021-01-03 22:52:53 +01:00
<li><a href="#org66b2873">Integration with Rofi</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org5acbeff">Installation</a></li>
<li><a href="#orgfde4198">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>
2021-10-25 14:37:10 +02:00
<li><a href="#orgfbd6615">Cheatsheet</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#org5949612">Alternatives</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#orga55a047"><code>qutebrowser</code> - Browser</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org75892ae">Installation</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#org39f7a62">View Pdf inside qutebrowser with pdfjs</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#orgaac4732">Installation</a></li>
<li><a href="#orgd8c9a20">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>
2021-01-03 22:52:53 +01:00
<li><a href="#org90df920"><code>firefox</code></a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#org3a38ac4"><code>xrandr</code> - Monitor Manager</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#org79fe3ff">Music Setup</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-03 22:52:53 +01:00
<li><a href="#org647a9df"><code>pulseaudio</code> - Sound Server</a></li>
<li><a href="#org080e610"><code>pavucontrol</code> - Sound Manager</a></li>
<li><a href="#org1d788c5"><code>mopidy</code> - Audio Server</a></li>
<li><a href="#org584e599"><code>ncmpcpp</code> - MPD Client</a></li>
<li><a href="#org095bf00"><code>beets</code> - Library Manager</a></li>
2020-03-19 10:46:47 +01:00
</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-03 22:52:53 +01:00
<li><a href="#org7b6c5d8"><code>mpv</code> - Media Player</a></li>
<li><a href="#org1057c89"><code>catt</code> - Chromecast</a></li>
2020-03-19 10:46:47 +01:00
</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-03 22:52:53 +01:00
<li><a href="#orgc6d2e29"><code>khard</code> - Google Conctacts</a></li>
<li><a href="#orga996c19"><code>mu</code> - Index Emails</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#org3b6c55a"><code>weechat</code> - Chat Application</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org0d061b7">Installation</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgce5f866">Enable mouse support</a></li>
<li><a href="#org2e3ae2e">Scripts</a></li>
<li><a href="#orgc35ab72">Theme</a></li>
2021-10-25 14:37:10 +02:00
<li><a href="#org758eae0">Configuration</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#org1bedc2c">Multi-line messages</a></li>
<li><a href="#orgdabe0b1">Send message using <code>$EDITOR</code></a></li>
2021-01-03 22:52:53 +01:00
<li><a href="#org58be0d2">CheatSheet</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#org509ffd4">Slack Integration</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org901c88c">Installation</a></li>
2021-01-01 20:12:34 +01:00
<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-03 22:52:53 +01:00
<li><a href="#org82e306e"><code>redshift</code></a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#org819f33a">Mail Setup</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-03 22:52:53 +01:00
<li><a href="#org12c74b1"><code>mbsync</code> - Synchronize Mailboxes</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org4766930">Installation</a></li>
<li><a href="#org1f7cdd9">Configuration</a></li>
2021-01-01 20:12:34 +01:00
<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-03 22:52:53 +01:00
<li><a href="#org6772b74"><code>msmtp</code> - Send Mails</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org9922807">Installation</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#org4b6cea1"><code>mu</code> - Mail Index, Search and Tagging</a></li>
<li><a href="#orge78a982"><code>neomutt</code> - Mail Client</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org7cc5df0">Installation</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#org7d3dd45">Display html mails</a></li>
<li><a href="#org18d6f5c">Open Url from mail</a></li>
2021-04-25 19:10:57 +02:00
<li><a href="#orgcb95e75">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-03 22:52:53 +01:00
<li><a href="#org523367b"><code>ranger=/=pcmanfm</code> - 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-10-25 14:37:10 +02:00
<li><a href="#orgc441ad0">Installation</a></li>
<li><a href="#org17fff96">Configuration</a></li>
2021-01-01 20:12:34 +01:00
<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-03 22:52:53 +01:00
<li><a href="#org0ceb81d"><code>sxiv</code> - Image viewer</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org2c7eece">Installation</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#org1d4a585">Open Gif</a></li>
2021-10-25 14:37:10 +02:00
<li><a href="#org6859b45">Cheatsheet</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#orga293c83"><code>sxhkd</code> - HotKey Manager</a></li>
<li><a href="#orgb9ddb93"><code>i3</code> - Windows Manager</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#orgb26157b">Installation</a></li>
<li><a href="#org8bfbbb6">Configuration</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#org2021f80"><code>polybar</code> - Top Bar</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org565f843">Installation</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#orgc4420f9"><code>picom</code> - Compositor</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org87613b5">Installation</a></li>
<li><a href="#orge0acd99">Configuration</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#org3eda8aa">Automatic run as daemon</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#org2f8f940"><code>dunst</code> - Notification Manager</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#orgb686d22">Installation</a></li>
<li><a href="#orga95be89">Configuration</a></li>
<li><a href="#orgf11ba75">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-03 22:52:53 +01:00
<li><a href="#org1a964eb"><code>libreoffice</code></a></li>
<li><a href="#org1011bb3"><code>wps</code> Office</a></li>
<li><a href="#org9425908"><code>sc-im</code> - Minimap SpreadSheet</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#org6da3f70"><code>blueman</code> - Bluetooth Manager</a></li>
<li><a href="#org47b286b"><code>udiskie</code> - Automatically Mount devices</a></li>
<li><a href="#org5cfb55f">LaTeX</a></li>
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-03 22:52:53 +01:00
<li><a href="#org6057ab6">Insect</a></li>
<li><a href="#orgc271cf8">Matlab</a></li>
<li><a href="#org9585ba1">SageMath</a></li>
<li><a href="#orgc62519c">Python and Jupyter-notebook</a></li>
2020-03-19 10:46:47 +01:00
</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-03 22:52:53 +01:00
<li><a href="#orgac3b220"><code>aria2</code> and <code>aria2p</code></a></li>
<li><a href="#orgfd450d2"><code>transmission</code> and <code>tremc</code></a></li>
<li><a href="#org8a629cb"><code>youtube-dl</code></a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#org884e45c">Default Applications</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#org16e9c60">Desktop files</a></li>
2021-01-03 22:52:53 +01:00
<li><a href="#org718d63c">Bibliography Management</a></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-03 22:52:53 +01:00
<li><a href="#org637a251"><code>vdirsyncer</code> - Sync calendars</a></li>
<li><a href="#org7e41a40"><code>khal</code> - Calendar Client</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#orgc55bbf2"><code>newsboat</code> - RSS Reader</a></li>
<li><a href="#org6a8646d"><code>orgmode</code> - Task Manager</a></li>
<li><a href="#orga841f53"><code>zathura</code> - PDF Reader</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#orgdaea54d">Installation</a></li>
<li><a href="#orgba59e57">Configuration</a></li>
<li><a href="#org7f90b87">Cheatsheet</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#orgf6c7dea">Multi-monitor pdf presentation - pdfpc</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-10-25 14:37:10 +02:00
<li><a href="#org0f602b9">Installation</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#orge1b13e7">Video support</a></li>
2021-10-25 14:37:10 +02:00
<li><a href="#orgc19d52b">Usage</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#org403120a">Display Manager</a></li>
<li><a href="#org6f8e56a"><code>gtk=/=qt</code> - Managing Theme</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-03 22:52:53 +01:00
<li><a href="#org1f9e14f">GTK Themes</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-03 22:52:53 +01:00
<li><a href="#orgb4295ec">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-03 22:52:53 +01:00
<li><a href="#org2f8f733">QT Themes</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#org58260ec"><code>droidcam</code> - Use Android phone as webcam</a></li>
<li><a href="#org34f9882"><code>inkscape</code> - Graphical Editor</a></li>
<li><a href="#orgb418d4c"><code>kdenlive</code> - Video Editor</a></li>
<li><a href="#org276a30b"><code>kazam</code> - Screen Recorder</a></li>
<li><a href="#org100211a"><code>obs-studio</code> - Live streaming and screen recording</a></li>
<li><a href="#org64fd10c"><code>anydesk</code> - Remote Desktop</a></li>
<li><a href="#orgfbeddca"><code>wireguard</code> - VPN</a></li>
<li><a href="#orgd48246b"><code>nordvpn</code> - VPN</a></li>
2021-10-25 14:37:10 +02:00
<li><a href="#org2fc3118">Others</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-03 22:52:53 +01:00
<li><a href="#orgf054688"><code>maim=/=flameshot</code> - Take Screenshots</a></li>
<li><a href="#org72b76b6"><code>screenkey</code> - Show pressed keys</a></li>
<li><a href="#org530b4e7"><code>croc</code> - File transfer</a></li>
<li><a href="#orgd26025d">Find Files</a></li>
<li><a href="#orgbd7a136">PDF/Image Utilities</a></li>
2021-01-01 20:12:34 +01:00
<li><a href="#org635c3c6">Trash</a></li>
2021-01-03 22:52:53 +01:00
<li><a href="#org8f32507">Google translate from the command line</a></li>
<li><a href="#org477d50a">Show information about the machine</a></li>
2020-03-19 10:46:47 +01:00
</ul>
</li>
2021-01-03 22:52:53 +01:00
<li><a href="#org4c6eb49">Printer</a></li>
<li><a href="#org75b8fb8">Kernel Management</a></li>
<li><a href="#org7dc611c">Format disks</a></li>
2021-04-25 19:10:57 +02:00
<li><a href="#org2644b6d">Useful commands</a>
2020-03-19 10:46:47 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<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-10-25 14:37:10 +02:00
<li><a href="#orga497aaa">Others</a></li>
2021-01-01 20:12:34 +01:00
<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-03 22:52:53 +01:00
<li><a href="#org87ca48f">After Install</a></li>
<li><a href="#orgb41f3b1">Configuration for Laptops</a>
<ul>
<li><a href="#orgf0690fa">Power Management Tool: Powertop</a></li>
<li><a href="#orgc45653d">Lid open/close</a></li>
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#org73b11c0">Some notes - Systemd</a></li>
2021-04-25 19:10:57 +02:00
<li><a href="#orgf798b8d">Resources</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="#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-03 22:52:53 +01:00
<div id="outline-container-org6d375e1" class="outline-2">
<h2 id="org6d375e1"><code>yay</code> - Package Manager</h2>
<div class="outline-text-2" id="text-org6d375e1">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/Jguer/yay">https://github.com/Jguer/yay</a>
</p>
2021-01-03 22:52:53 +01:00
<p>
Installation:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +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>
2021-01-08 01:43:48 +01:00
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
2021-01-03 22:52:53 +01:00
<caption class="t-above"><span class="table-number">Table 1:</span> <code>yay</code> - Cheatsheet</caption>
2020-03-19 10:46:47 +01:00
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Command</th>
<th scope="col" class="org-left">Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>yay</code></td>
<td class="org-left">Perform system upgrade</td>
</tr>
<tr>
<td class="org-left"><code>yay -Ss &lt;package&gt;</code></td>
<td class="org-left">Search</td>
</tr>
<tr>
<td class="org-left"><code>yay -S &lt;package&gt;</code></td>
<td class="org-left">Install</td>
</tr>
<tr>
<td class="org-left"><code>yay -Si &lt;package&gt;</code></td>
<td class="org-left">Get informations</td>
</tr>
<tr>
<td class="org-left"><code>yay -Rs &lt;package&gt;</code></td>
<td class="org-left">Uninstall</td>
</tr>
<tr>
<td class="org-left"><code>yay -Yc</code></td>
<td class="org-left">Clean unneeded dependencies</td>
</tr>
</tbody>
</table>
<p>
To check all installed packages:
</p>
2021-01-03 22:52:53 +01:00
<div class="org-src-container">
<pre class="src src-bash"> pacman -Qq | fzf --preview <span class="org-string">'pacman -Qil {}'</span> --layout=reverse --bind <span class="org-string">'enter:execute(pacman -Qil {} | </span><span class="org-type"><span class="org-string">less</span></span><span class="org-string">)'</span>
</pre>
2020-03-19 10:46:47 +01:00
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgfd098ac" class="outline-2">
<h2 id="orgfd098ac"><code>git</code> - Version Control System</h2>
<div class="outline-text-2" id="text-orgfd098ac">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
Installation:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +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>
<p>
<a href="git.html">Git</a> Configuration:
</p>
<ul class="org-ul">
<li><code>~/.gitconfig</code></li>
<li><code>~/.gitignore_global</code></li>
</ul>
<p>
2021-01-03 22:52:53 +01:00
<a href="https://github.com/so-fancy/diff-so-fancy">Diff-So-Fancy</a> is a nice addition to have good-looking diffs.
It can be installed like so:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S diff-so-fancy
2020-03-19 10:46:47 +01:00
</pre>
</div>
2021-01-03 22:52:53 +01:00
<p>
And configured with the following command:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +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>
<p>
2021-01-03 22:52:53 +01:00
<code>pass</code> can be used as credential helper for git repositories.
2020-03-19 10:46:47 +01:00
</p>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-org374a65d" class="outline-2">
<h2 id="org374a65d"><code>alacritty</code> - Terminal</h2>
<div class="outline-text-2" id="text-org374a65d">
2020-03-19 10:46:47 +01:00
<p>
2021-10-25 14:37:10 +02:00
<a href="https://github.com/alacritty/alacritty">Alacritty</a> is a very nice keyboard-centric terminal.
2021-01-03 22:52:53 +01:00
</p>
<p>
It can be installed like so:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-10-25 14:37:10 +02:00
<pre class="src src-bash"> yay -S alacritty
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
2021-10-25 14:37:10 +02:00
Its configuration file is described <a href="alacritty.html">here</a>.
2020-03-19 10:46:47 +01:00
</p>
2021-01-08 01:43:48 +01:00
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
2021-10-25 14:37:10 +02:00
<caption class="t-above"><span class="table-number">Table 2:</span> <code>alacritty</code> - Cheatsheet</caption>
2020-03-19 10:46:47 +01:00
<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>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgfeefb67" class="outline-2">
<h2 id="orgfeefb67"><code>bash</code> - Shell</h2>
<div class="outline-text-2" id="text-orgfeefb67">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
<a href="https://wiki.archlinux.org/index.php/Bash">https://wiki.archlinux.org/index.php/Bash</a>
2020-03-19 10:46:47 +01:00
</p>
<p>
2021-01-03 22:52:53 +01:00
Installation:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S bash bash-completion zsh
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
<a href="bash.html">Bash</a> configuration:
</p>
<ul class="org-ul">
<li><code>~/.bashrc</code></li>
<li><code>~/.bash_profile</code></li>
<li><code>~/.config/bash/</code></li>
<li><code>~/.profile</code></li>
</ul>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orge245cf3" class="outline-2">
<h2 id="orge245cf3"><code>tmux</code> - Terminal Multiplexer</h2>
<div class="outline-text-2" id="text-orge245cf3">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/tmux/tmux">https://github.com/tmux/tmux</a>
</p>
2021-01-03 22:52:53 +01:00
<p>
Installation:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S tmux
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
<a href="tmux.html">TMUX</a> configuration
</p>
2021-01-03 22:52:53 +01:00
<p>
Ressources:
</p>
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>
2021-01-08 01:43:48 +01:00
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
2021-01-03 22:52:53 +01:00
<caption class="t-above"><span class="table-number">Table 3:</span> <code>tmux</code> - Cheatsheet</caption>
2020-03-19 10:46:47 +01:00
<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>
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
<p>
2021-01-03 22:52:53 +01:00
My font of choice is <code>nerd-fonts-hack</code> which can be installed as so:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S nerd-fonts-hack
2020-03-19 10:46:47 +01:00
</pre>
</div>
2020-04-05 11:30:26 +02:00
<p>
2021-01-03 22:52:53 +01:00
For emojis, use:
2020-04-05 11:30:26 +02:00
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S noto-fonts-emoji
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
Default font used:
</p>
2021-04-25 19:10:57 +02:00
2020-03-19 10:46:47 +01:00
<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>
2021-01-03 22:52:53 +01:00
To list all fonts available:
2020-03-19 10:46:47 +01:00
</p>
2021-01-03 22:52:53 +01:00
<div class="org-src-container">
<pre class="src src-bash"> fc-list
</pre>
2020-03-19 10:46:47 +01:00
</div>
2021-01-03 22:52:53 +01:00
<p>
To select fonts using a GUI, <code>gtk2fontsel</code> can be used:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S gtk2fontsel
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org58bb452" class="outline-2">
<h2 id="org58bb452"><code>emacs</code> and <code>vim</code> - Text Editors</h2>
<div class="outline-text-2" id="text-org58bb452">
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>
2021-01-03 22:52:53 +01:00
I use <a href="https://github.com/neovim/neovim">Neovim</a> for all the small edits.
2020-03-19 10:46:47 +01:00
</p>
2021-01-03 22:52:53 +01:00
<p>
Installation:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S neovim
2020-03-19 10:46:47 +01:00
</pre>
</div>
2021-01-03 22:52:53 +01:00
<p>
The Neovim configuration can be found <a href="vim.html">here</a>.
</p>
<p>
Then install the plugin manager <a href="https://github.com/junegunn/vim-plug">plug</a>:
</p>
<div class="org-src-container">
<pre class="src src-bash"> sh -c <span class="org-string">'</span><span class="org-type"><span class="org-string">curl</span></span><span class="org-string"> -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \</span>
<span class="org-string"> https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'</span>
</pre>
2020-03-19 10:46:47 +01:00
</div>
<p>
2021-01-03 22:52:53 +01:00
And to install/setup all the plugins:
2020-03-19 10:46:47 +01:00
</p>
2021-01-03 22:52:53 +01:00
<div class="org-src-container">
<pre class="src src-bash"> nvim +PlugInstall
nvim +UpdateRemotePlugins
</pre>
2020-03-19 10:46:47 +01:00
</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>
2021-01-03 22:52:53 +01:00
I use <a href="https://www.gnu.org/software/emacs/">Emacs</a> and the <a href="https://github.com/hlissner/doom-emacs">Doom</a> framework.
2020-03-19 10:46:47 +01:00
</p>
2021-01-03 22:52:53 +01:00
<p>
Install Emacs:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S emacs
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
2021-01-03 22:52:53 +01:00
And then the Doom framework:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> <span class="org-type">git</span> clone --depth <span class="org-highlight-numbers-number">1</span> https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install
2020-03-19 10:46:47 +01:00
</pre>
</div>
2021-01-03 22:52:53 +01:00
<p>
The Emacs configuration can be found <a href="./doom.html">here</a>.
</p>
<p>
SpellCheck with Aspell:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S aspell aspell-en aspell-fr
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
</div>
2020-03-19 10:46:47 +01:00
2021-01-03 22:52:53 +01:00
<div id="outline-container-org206b33a" class="outline-2">
<h2 id="org206b33a">SSH setup</h2>
<div class="outline-text-2" id="text-org206b33a">
<p>
Generate a new SSH key:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +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>
2021-01-03 22:52:53 +01:00
<p>
Start the ssh-agent in the background:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +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>
2021-01-03 22:52:53 +01:00
<p>
Add the SSH key to the ssh-agent:
</p>
<div class="org-src-container">
<pre class="src src-bash"> ssh-add ~/.ssh/id_rsa
</pre>
2020-03-19 10:46:47 +01:00
</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>
2021-01-03 22:52:53 +01:00
<p>
Install the gnupg package:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S gnupg
2020-03-19 10:46:47 +01:00
</pre>
</div>
2021-01-03 22:52:53 +01:00
<p>
Create a key pair:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> gpg --full-gen-key
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
2021-01-03 22:52:53 +01:00
To configure the <code>gpg-agent</code> to cache the passphrase, edit the following file <code>~/.gnupg/gpg-agent.conf</code>:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +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>
<p>
2021-01-03 22:52:53 +01:00
Install <code>Gnome-Keyring</code> to automatically unlock the GnuPG keys:
2020-03-19 10:46:47 +01:00
</p>
2021-01-03 22:52:53 +01:00
<div class="org-src-container">
<pre class="src src-bash"> yay -S gnome-keyring
</pre>
2020-03-19 10:46:47 +01:00
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org279ee0b" class="outline-2">
<h2 id="org279ee0b"><code>rofi</code> - Application Launcher</h2>
<div class="outline-text-2" id="text-org279ee0b">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
<a href="https://github.com/DaveDavenport/rofi">Rofi</a> is a very nice alternative to <a href="https://tools.suckless.org/dmenu/">dmenu</a>.
2020-03-19 10:46:47 +01:00
</p>
<p>
2021-01-03 22:52:53 +01:00
Installation:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S dmenu rofi rofi-calc
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
2021-01-03 22:52:53 +01:00
To be able to run sudo commands with <code>rofi</code> (<a href="https://github.com/DaveDavenport/rofi/issues/584#issuecomment-384555551">github issue</a>), the command <code>sudo -A</code> can be used: it opens a <code>rofi</code> prompt to ask for the password.
2020-03-19 10:46:47 +01:00
</p>
<p>
For that to work, we need to add the following code to <code>~/.profile</code>:
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> <span class="org-comment-delimiter">#</span><span class="org-comment">!/bin/sh</span>
2020-03-19 10:46:47 +01:00
2021-01-03 22:52:53 +01:00
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>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgce1f32d" class="outline-2">
<h2 id="orgce1f32d"><code>pass</code> - Password Manager</h2>
<div class="outline-text-2" id="text-orgce1f32d">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://www.passwordstore.org/">https://www.passwordstore.org/</a>
</p>
<p>
2021-01-03 22:52:53 +01:00
Installation:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S pass
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
2021-01-03 22:52:53 +01:00
Initialize the password store as a git repository
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +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>
<p>
2021-01-03 22:52:53 +01:00
Gui Manager: <a href="https://github.com/IJHack/qtpass">qtpass</a>
2020-03-19 10:46:47 +01:00
</p>
2021-01-03 22:52:53 +01:00
<div class="org-src-container">
<pre class="src src-bash"> yay -S qtpass
</pre>
2020-03-19 10:46:47 +01:00
</div>
<p>
2021-01-03 22:52:53 +01:00
Integration with Rofi: <a href="https://github.com/carnager/rofi-pass">rofi-pass</a>
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S rofi-pass
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
2021-01-03 22:52:53 +01:00
Then we can add a shortcut to <code>rofi-pass</code> on i3 config.
2020-03-19 10:46:47 +01:00
</p>
<p>
2021-01-03 22:52:53 +01:00
Integration with Git: <a href="https://github.com/languitar/pass-git-helper">pass-git-helper</a>
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S pass-git-helper
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
First, add the relation between repository addresses and entries in <code>pass</code>. This is done in the following config file <code>.config/pass-git-helper/git-pass-mapping.ini</code>:
</p>
<pre class="example">
[github.com*]
target=github.com/tdehaeze
</pre>
<p>
Then, add the credential helper on the git configuration file <code>~/.gitconfig</code> and add the default username for the repositories adresses.
</p>
<pre class="example">
[credential]
helper = !pass-git-helper $@
[credential "https://github.com"]
username = tdehaeze
</pre>
</div>
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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -Ss bitwarden-bin bitwarden-cli-bin
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org3faed1a" class="outline-2">
<h2 id="org3faed1a"><code>buku</code> - Bookmark Manager</h2>
<div class="outline-text-2" id="text-org3faed1a">
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-10-25 14:37:10 +02:00
<div id="outline-container-org23fe870" class="outline-3">
<h3 id="org23fe870">Installation</h3>
<div class="outline-text-3" id="text-org23fe870">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S buku
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org66b2873" class="outline-3">
<h3 id="org66b2873">Integration with Rofi</h3>
<div class="outline-text-3" id="text-org66b2873">
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-10-25 14:37:10 +02:00
<div id="outline-container-org5acbeff" class="outline-4">
<h4 id="org5acbeff">Installation</h4>
<div class="outline-text-4" id="text-org5acbeff">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> wget https://raw.githubusercontent.com/carnager/buku_run/master/buku_run -o ~/.local/bin/buku_run
<span class="org-type">chmod</span> +x ~/.local/bin/buku_run
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-orgfde4198" class="outline-4">
<h4 id="orgfde4198">Configuration</h4>
<div class="outline-text-4" id="text-orgfde4198">
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">
2021-01-03 22:52:53 +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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> systemctl --user start --now bukugit.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-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">
2021-01-03 22:52:53 +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-10-25 14:37:10 +02:00
<div id="outline-container-orgfbd6615" class="outline-3">
<h3 id="orgfbd6615">Cheatsheet</h3>
<div class="outline-text-3" id="text-orgfbd6615">
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-03 22:52:53 +01:00
<div id="outline-container-orga55a047" class="outline-2">
<h2 id="orga55a047"><code>qutebrowser</code> - Browser</h2>
<div class="outline-text-2" id="text-orga55a047">
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-10-25 14:37:10 +02:00
<div id="outline-container-org75892ae" class="outline-3">
<h3 id="org75892ae">Installation</h3>
<div class="outline-text-3" id="text-org75892ae">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S qutebrowser
2020-03-19 10:46:47 +01:00
</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-10-25 14:37:10 +02:00
<div id="outline-container-orgaac4732" class="outline-4">
<h4 id="orgaac4732">Installation</h4>
<div class="outline-text-4" id="text-orgaac4732">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S pdfjs
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-orgd8c9a20" class="outline-4">
<h4 id="orgd8c9a20">Usage</h4>
<div class="outline-text-4" id="text-orgd8c9a20">
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">
2021-01-03 22:52:53 +01:00
config.bind(',p', 'spawn --userscript password_fill')
2020-03-19 10:46:47 +01:00
</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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> /usr/share/qutebrowser/scripts/dictcli.py install fr-FR
/usr/share/qutebrowser/scripts/dictcli.py install en-US
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org90df920" class="outline-3">
<h3 id="org90df920"><code>firefox</code></h3>
<div class="outline-text-3" id="text-org90df920">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S firefox-developer-edition
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
2021-01-03 22:52:53 +01:00
Addons:
2020-03-19 10:46:47 +01:00
</p>
2021-01-03 22:52:53 +01:00
<ul class="org-ul">
<li><a href="https://addons.mozilla.org/fr/firefox/addon/ublock-origin/">uBlock Origin</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/">Adblock Plus</a></li>
<li><a href="https://addons.mozilla.org/fr/firefox/addon/bukubrow/">Bukurow</a></li>
2021-01-08 01:43:48 +01:00
<li><a href="https://addons.mozilla.org/fr/firefox/addon/i-dont-care-about-cookies/">I don&rsquo;t care about cookies</a></li>
2021-01-03 22:52:53 +01:00
</ul>
</div>
2020-03-19 10:46:47 +01:00
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org3a38ac4" class="outline-2">
<h2 id="org3a38ac4"><code>xrandr</code> - Monitor Manager</h2>
<div class="outline-text-2" id="text-org3a38ac4">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S xorg-xrandr arandr
2020-03-19 10:46:47 +01:00
</pre>
</div>
2021-01-03 22:52:53 +01:00
<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>
2020-03-19 10:46:47 +01:00
</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-03 22:52:53 +01:00
<div id="outline-container-org647a9df" class="outline-3">
<h3 id="org647a9df"><code>pulseaudio</code> - Sound Server</h3>
<div class="outline-text-3" id="text-org647a9df">
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>
2021-01-03 22:52:53 +01:00
Installation:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S pulseaudio pulseaudio-alsa pulseaudio-bluetooth
2020-03-19 10:46:47 +01:00
</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-03 22:52:53 +01:00
<div id="outline-container-org080e610" class="outline-3">
<h3 id="org080e610"><code>pavucontrol</code> - Sound Manager</h3>
<div class="outline-text-3" id="text-org080e610">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
<code>pavucontrol</code> is used as a sound manager:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S pavucontrol
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org1d788c5" class="outline-3">
<h3 id="org1d788c5"><code>mopidy</code> - Audio Server</h3>
<div class="outline-text-3" id="text-org1d788c5">
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-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S mopidy
2021-01-01 20:12:34 +01:00
</pre>
</div>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> mopidy local scan
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
If mopidy is used, MPD should be disabled. (<code>systemctl disable --user mpd.service</code>)
</p>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org584e599" class="outline-3">
<h3 id="org584e599"><code>ncmpcpp</code> - MPD Client</h3>
<div class="outline-text-3" id="text-org584e599">
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>
2021-01-03 22:52:53 +01:00
<p>
Installation:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S ncmpcpp
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
The main config is located here: <code>~/.ncmpcpp/config</code>.
The key bindings can be configured here: <code>~/.ncmpcpp/bindings</code>.
</p>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org095bf00" class="outline-3">
<h3 id="org095bf00"><code>beets</code> - Library Manager</h3>
<div class="outline-text-3" id="text-org095bf00">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
<a href="https://github.com/beetbox/beets">https://github.com/beetbox/beets</a>
2020-03-19 10:46:47 +01:00
</p>
<p>
2021-01-03 22:52:53 +01:00
Installation;
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S beets
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
Configuration folder: <code>~/.config/beets/</code>
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Command</th>
<th scope="col" class="org-left">Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>beet import &lt;folder&gt;</code></td>
<td class="org-left">Import folder to Music folder</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
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-03 22:52:53 +01:00
<div id="outline-container-org7b6c5d8" class="outline-3">
<h3 id="org7b6c5d8"><code>mpv</code> - Media Player</h3>
<div class="outline-text-3" id="text-org7b6c5d8">
<p>
Installation:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S mpv
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
The configuration is set in <code>/.config/mpv/input.conf</code>.
</p>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org1057c89" class="outline-3">
<h3 id="org1057c89"><code>catt</code> - Chromecast</h3>
<div class="outline-text-3" id="text-org1057c89">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/skorokithakis/catt">https://github.com/skorokithakis/catt</a>
</p>
2021-01-03 22:52:53 +01:00
<p>
Installation:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S catt
2020-03-19 10:46:47 +01:00
</pre>
</div>
2021-01-03 22:52:53 +01:00
<p>
Usage to cast videos to chromecast
</p>
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>
2021-01-03 22:52:53 +01:00
<p>
Usage for controlling the device
</p>
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>
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-03 22:52:53 +01:00
<div id="outline-container-orgc6d2e29" class="outline-3">
<h3 id="orgc6d2e29"><code>khard</code> - Google Conctacts</h3>
<div class="outline-text-3" id="text-orgc6d2e29">
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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -Ss khard
2020-03-19 10:46:47 +01:00
</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-03 22:52:53 +01:00
<div id="outline-container-orga996c19" class="outline-3">
<h3 id="orga996c19"><code>mu</code> - Index Emails</h3>
<div class="outline-text-3" id="text-orga996c19">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -Ss mu
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
This looks for contacts in all indexed emails.
<code>mu cfind &lt;name&gt;</code>
</p>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org3b6c55a" class="outline-2">
<h2 id="org3b6c55a"><code>weechat</code> - Chat Application</h2>
<div class="outline-text-2" id="text-org3b6c55a">
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-10-25 14:37:10 +02:00
<div id="outline-container-org0d061b7" class="outline-3">
<h3 id="org0d061b7">Installation</h3>
<div class="outline-text-3" id="text-org0d061b7">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S weechat
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
Then we install some dependencies
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S tcl lua ruby
2020-03-19 10:46:47 +01:00
</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">
2021-01-03 22:52:53 +01:00
<pre class="src src-text"> /mouse enable
2020-03-19 10:46:47 +01:00
</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">
2021-01-03 22:52:53 +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>
/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
/set weechat.color.separator <span class="org-highlight-numbers-number">31</span>
/set buffers.color.current_fg <span class="org-highlight-numbers-number">31</span>
/set buffers.color.current_bg white
/set buffers.color.hotlist_message_fg <span class="org-highlight-numbers-number">229</span>
/set buffers.color.hotlist_private_fg <span class="org-highlight-numbers-number">121</span>
/set buffers.color.hotlist_highlight_fg <span class="org-highlight-numbers-number">163</span>
/set buffers.color.number <span class="org-highlight-numbers-number">239</span>
/set buffers.color.number_char <span class="org-highlight-numbers-number">245</span>
/set weechat.bar.title.conditions <span class="org-string">"${inactive}"</span>
/set weechat.bar.title.color_fg black
/set weechat.bar.title.color_bg <span class="org-highlight-numbers-number">31</span> <span class="org-comment-delimiter">#</span><span class="org-comment">Or white if 31 does nothing</span>
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-org758eae0" class="outline-3">
<h3 id="org758eae0">Configuration</h3>
<div class="outline-text-3" id="text-org758eae0">
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">
2021-01-03 22:52:53 +01:00
<pre class="src src-conf"> /set plugins.var.perl.multiline.magic_paste_only on
/key bind meta-ctrl-M /input insert \x0a
2020-03-19 10:46:47 +01:00
</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">
2021-01-03 22:52:53 +01:00
<pre class="src src-conf"> /key bind ctrl-M /input magic_enter
2020-03-19 10:46:47 +01:00
</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">
2021-01-03 22:52:53 +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
wget https://raw.githubusercontent.com/keith/edit-weechat/master/edit.py
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
Then, on weechat, type <code>/edit</code>.
</p>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org58be0d2" class="outline-3">
<h3 id="org58be0d2">CheatSheet</h3>
<div class="outline-text-3" id="text-org58be0d2">
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-10-25 14:37:10 +02:00
<div id="outline-container-org901c88c" class="outline-4">
<h4 id="org901c88c">Installation</h4>
<div class="outline-text-4" id="text-org901c88c">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S python2-websocket-client
2020-03-19 10:46:47 +01:00
</pre>
</div>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> <span class="org-type">cd</span> ~/.weechat/python
wget https://raw.githubusercontent.com/wee-slack/wee-slack/master/wee_slack.py
<span class="org-type">ln</span> -s ../wee_slack.py autoload
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">
2021-01-03 22:52:53 +01:00
<pre class="src src-conf"> /slack register
2020-03-19 10:46:47 +01:00
</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">
2021-01-03 22:52:53 +01:00
<pre class="src src-conf"> /slack register [CODE_FROM_URL]
2020-03-19 10:46:47 +01:00
</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">
2021-01-03 22:52:53 +01:00
<pre class="src src-conf"> /python reload slack
2020-03-19 10:46:47 +01:00
</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">
2021-01-03 22:52:53 +01:00
<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}
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-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-03 22:52:53 +01:00
<div id="outline-container-org82e306e" class="outline-2">
<h2 id="org82e306e"><code>redshift</code></h2>
<div class="outline-text-2" id="text-org82e306e">
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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S redshift
2020-03-19 10:46:47 +01:00
</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-03 22:52:53 +01:00
<div id="outline-container-org12c74b1" class="outline-3">
<h3 id="org12c74b1"><code>mbsync</code> - Synchronize Mailboxes</h3>
<div class="outline-text-3" id="text-org12c74b1">
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-10-25 14:37:10 +02:00
<div id="outline-container-org4766930" class="outline-4">
<h4 id="org4766930">Installation</h4>
<div class="outline-text-4" id="text-org4766930">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S isync
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-org1f7cdd9" class="outline-4">
<h4 id="org1f7cdd9">Configuration</h4>
<div class="outline-text-4" id="text-org1f7cdd9">
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-03 22:52:53 +01:00
<div id="outline-container-org6772b74" class="outline-3">
<h3 id="org6772b74"><code>msmtp</code> - Send Mails</h3>
<div class="outline-text-3" id="text-org6772b74">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://marlam.de/msmtp/">https://marlam.de/msmtp/</a>
</p>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-org9922807" class="outline-4">
<h4 id="org9922807">Installation</h4>
<div class="outline-text-4" id="text-org9922807">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S msmtp
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org4b6cea1" class="outline-3">
<h3 id="org4b6cea1"><code>mu</code> - Mail Index, Search and Tagging</h3>
<div class="outline-text-3" id="text-org4b6cea1">
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-03 22:52:53 +01:00
<div id="outline-container-orge78a982" class="outline-3">
<h3 id="orge78a982"><code>neomutt</code> - Mail Client</h3>
<div class="outline-text-3" id="text-orge78a982">
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-10-25 14:37:10 +02:00
<div id="outline-container-org7cc5df0" class="outline-4">
<h4 id="org7cc5df0">Installation</h4>
<div class="outline-text-4" id="text-org7cc5df0">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S neomutt
2020-03-19 10:46:47 +01:00
</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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S w3m
2020-03-19 10:46:47 +01:00
</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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S urlview
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-04-25 19:10:57 +02:00
<div id="outline-container-orgcb95e75" class="outline-4">
<h4 id="orgcb95e75">Ressources</h4>
<div class="outline-text-4" id="text-orgcb95e75">
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-03 22:52:53 +01:00
<div id="outline-container-org523367b" class="outline-2">
<h2 id="org523367b"><code>ranger=/=pcmanfm</code> - File Manager</h2>
<div class="outline-text-2" id="text-org523367b">
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-10-25 14:37:10 +02:00
<div id="outline-container-orgc441ad0" class="outline-4">
<h4 id="orgc441ad0">Installation</h4>
<div class="outline-text-4" id="text-orgc441ad0">
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-10-25 14:37:10 +02:00
<div id="outline-container-org17fff96" class="outline-4">
<h4 id="org17fff96">Configuration</h4>
<div class="outline-text-4" id="text-org17fff96">
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-03 22:52:53 +01:00
<div id="outline-container-org0ceb81d" class="outline-2">
<h2 id="org0ceb81d"><code>sxiv</code> - Image viewer</h2>
<div class="outline-text-2" id="text-org0ceb81d">
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-10-25 14:37:10 +02:00
<div id="outline-container-org2c7eece" class="outline-3">
<h3 id="org2c7eece">Installation</h3>
<div class="outline-text-3" id="text-org2c7eece">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S sxiv
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org1d4a585" class="outline-3">
<h3 id="org1d4a585">Open Gif</h3>
<div class="outline-text-3" id="text-org1d4a585">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> sxiv -a file.gif
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-org6859b45" class="outline-3">
<h3 id="org6859b45">Cheatsheet</h3>
<div class="outline-text-3" id="text-org6859b45">
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>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orga293c83" class="outline-2">
<h2 id="orga293c83"><code>sxhkd</code> - HotKey Manager</h2>
<div class="outline-text-2" id="text-orga293c83">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S sxhkd
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
Configuration file: <a href="sxhkd.html">SXHKD</a>.
</p>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgb9ddb93" class="outline-2">
<h2 id="orgb9ddb93"><code>i3</code> - Windows Manager</h2>
<div class="outline-text-2" id="text-orgb9ddb93">
2020-03-19 10:46:47 +01:00
<p>
<a href="i3.html">Link</a> to the documentation
</p>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-orgb26157b" class="outline-3">
<h3 id="orgb26157b">Installation</h3>
<div class="outline-text-3" id="text-orgb26157b">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S i3-gaps
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-org8bfbbb6" class="outline-3">
<h3 id="org8bfbbb6">Configuration</h3>
<div class="outline-text-3" id="text-org8bfbbb6">
2020-03-19 10:46:47 +01:00
<p>
<code>~/.i3/config</code>
</p>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org2021f80" class="outline-2">
<h2 id="org2021f80"><code>polybar</code> - Top Bar</h2>
<div class="outline-text-2" id="text-org2021f80">
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-10-25 14:37:10 +02:00
<div id="outline-container-org565f843" class="outline-3">
<h3 id="org565f843">Installation</h3>
<div class="outline-text-3" id="text-org565f843">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S polybar
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgc4420f9" class="outline-2">
<h2 id="orgc4420f9"><code>picom</code> - Compositor</h2>
<div class="outline-text-2" id="text-orgc4420f9">
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-10-25 14:37:10 +02:00
<div id="outline-container-org87613b5" class="outline-3">
<h3 id="org87613b5">Installation</h3>
<div class="outline-text-3" id="text-org87613b5">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S picom
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-orge0acd99" class="outline-3">
<h3 id="orge0acd99">Configuration</h3>
<div class="outline-text-3" id="text-orge0acd99">
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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> picom --daemon
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org2f8f940" class="outline-2">
<h2 id="org2f8f940"><code>dunst</code> - Notification Manager</h2>
<div class="outline-text-2" id="text-org2f8f940">
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-10-25 14:37:10 +02:00
<div id="outline-container-orgb686d22" class="outline-3">
<h3 id="orgb686d22">Installation</h3>
<div class="outline-text-3" id="text-orgb686d22">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S dunst dunstify
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-orga95be89" class="outline-3">
<h3 id="orga95be89">Configuration</h3>
<div class="outline-text-3" id="text-orga95be89">
2020-03-19 10:46:47 +01:00
<p>
<code>~/.config/dunst/dunstrc</code>
</p>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-orgf11ba75" class="outline-3">
<h3 id="orgf11ba75">Usage</h3>
<div class="outline-text-3" id="text-orgf11ba75">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +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-03 22:52:53 +01:00
<div id="outline-container-org1a964eb" class="outline-3">
<h3 id="org1a964eb"><code>libreoffice</code></h3>
<div class="outline-text-3" id="text-org1a964eb">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S libreoffice-fresh libreoffice-fresh-fr
2020-03-19 10:46:47 +01:00
</pre>
</div>
2021-01-03 22:52:53 +01:00
</div>
</div>
2020-03-19 10:46:47 +01:00
2021-01-03 22:52:53 +01:00
<div id="outline-container-org1011bb3" class="outline-3">
<h3 id="org1011bb3"><code>wps</code> Office</h3>
<div class="outline-text-3" id="text-org1011bb3">
<div class="org-src-container">
<pre class="src src-bash"> yay -S wps-office wps-office-extension-french-dictionary ttf-wps-fonts
</pre>
</div>
2020-03-19 10:46:47 +01:00
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org9425908" class="outline-3">
<h3 id="org9425908"><code>sc-im</code> - Minimap SpreadSheet</h3>
<div class="outline-text-3" id="text-org9425908">
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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S sc-im
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org6da3f70" class="outline-2">
<h2 id="org6da3f70"><code>blueman</code> - Bluetooth Manager</h2>
<div class="outline-text-2" id="text-org6da3f70">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
Bluetooth manager: <a href="https://github.com/blueman-project/blueman">https://github.com/blueman-project/blueman</a>
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -Ss blueman
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org47b286b" class="outline-2">
<h2 id="org47b286b"><code>udiskie</code> - Automatically Mount devices</h2>
<div class="outline-text-2" id="text-org47b286b">
<p>
udiskie - Mount and unmount disks (<a href="https://github.com/coldfix/udiskie">https://github.com/coldfix/udiskie</a>)
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S udiskie
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
Automatically run <code>udiskie</code> on startup.
</p>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org5cfb55f" class="outline-2">
<h2 id="org5cfb55f">LaTeX</h2>
<div class="outline-text-2" id="text-org5cfb55f">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
Installation
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S texlive-most
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
Biber support for the bibliography:
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S biber
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
Support for source code using minted:
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S minted
2020-03-19 10:46:47 +01:00
</pre>
</div>
<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
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-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>
2021-01-03 22:52:53 +01:00
<p>
Installation
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S insect
2020-03-19 10:46:47 +01:00
</pre>
</div>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Command</th>
<th scope="col" class="org-left">Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>3 m/s to km/h</code></td>
<td class="org-left">Convert Unit</td>
</tr>
</tbody>
</table>
</div>
</div>
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>
2021-01-03 22:52:53 +01:00
<p>
Installation
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S matlab
2020-03-19 10:46:47 +01:00
</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>
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>
2021-01-03 22:52:53 +01:00
<p>
Installation
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S sagemath
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
Run <code>sage -n jupyter</code> to run jupyter notebooks
</p>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgc62519c" class="outline-3">
<h3 id="orgc62519c">Python and Jupyter-notebook</h3>
2020-03-19 10:46:47 +01:00
</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-03 22:52:53 +01:00
<div id="outline-container-orgac3b220" class="outline-3">
<h3 id="orgac3b220"><code>aria2</code> and <code>aria2p</code></h3>
<div class="outline-text-3" id="text-orgac3b220">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S aria2
2020-03-19 10:46:47 +01:00
</pre>
</div>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> python3 -m pip install --user aria2p<span class="org-rainbow-delimiters-depth-1">[</span>tui<span class="org-rainbow-delimiters-depth-1">]</span>
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
2021-01-03 22:52:53 +01:00
</div>
2020-03-19 10:46:47 +01:00
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgfd450d2" class="outline-3">
<h3 id="orgfd450d2"><code>transmission</code> and <code>tremc</code></h3>
<div class="outline-text-3" id="text-orgfd450d2">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S tremc
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org8a629cb" class="outline-3">
<h3 id="org8a629cb"><code>youtube-dl</code></h3>
<div class="outline-text-3" id="text-org8a629cb">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S youtube-dl
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-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>
2021-01-03 22:52:53 +01:00
2020-03-19 10:46:47 +01:00
<p>
<code>~/.config/mimeapps.list</code>
</p>
</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
<p>
I am using a plain bibtex file with <code>org-ref</code> (<a href="https://github.com/jkitchin/org-ref">link</a>).
</p>
</div>
</div>
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>
2021-04-25 19:10:57 +02:00
<a href="calendar-contact.html">Link</a> to configuration
2020-03-19 10:46:47 +01:00
</p>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org637a251" class="outline-3">
<h3 id="org637a251"><code>vdirsyncer</code> - Sync calendars</h3>
<div class="outline-text-3" id="text-org637a251">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/pimutils/vdirsyncer">https://github.com/pimutils/vdirsyncer</a>
</p>
2021-01-03 22:52:53 +01:00
<p>
Installation:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +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">
2021-01-03 22:52:53 +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>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Command</th>
<th scope="col" class="org-left">Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>vdirsyncer sync</code></td>
<td class="org-left">Synchronize</td>
</tr>
</tbody>
</table>
<p>
2021-01-03 22:52:53 +01:00
Setup the <code>google_calendar</code>:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> vdirsyncer discover google_calendar
2020-03-19 10:46:47 +01:00
</pre>
</div>
2021-01-03 22:52:53 +01:00
<p>
And start the <code>systemd</code> timer that automatically synchronize the calendars;
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> systemctl --user enable --now vdirsyncer.timer
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
To check the status of the service:
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> systemctl --user status vdirsyncer.service
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org7e41a40" class="outline-3">
<h3 id="org7e41a40"><code>khal</code> - Calendar Client</h3>
<div class="outline-text-3" id="text-org7e41a40">
2020-03-19 10:46:47 +01:00
<p>
<a href="https://github.com/pimutils/khal">https://github.com/pimutils/khal</a>
</p>
2021-01-03 22:52:53 +01:00
<p>
Installation:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S khal
2020-03-19 10:46:47 +01:00
</pre>
</div>
2021-01-03 22:52:53 +01:00
<p>
Import ICS files:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> khal import even.ics
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgc55bbf2" class="outline-2">
<h2 id="orgc55bbf2"><code>newsboat</code> - RSS Reader</h2>
<div class="outline-text-2" id="text-orgc55bbf2">
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>
<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>
2021-01-03 22:52:53 +01:00
<p>
Installation:
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S newboat
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
2021-01-03 22:52:53 +01:00
Configuration:
2020-03-19 10:46:47 +01:00
<a href="https://newsboat.org/releases/2.12/docs/newsboat.html">https://newsboat.org/releases/2.12/docs/newsboat.html</a>
<code>~/.newsboat/</code>
</p>
<p>
<a href="https://newsboat.org/releases/2.12/docs/newsboat.html#available-operations">https://newsboat.org/releases/2.12/docs/newsboat.html#available-operations</a>
</p>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org6a8646d" class="outline-2">
<h2 id="org6a8646d"><code>orgmode</code> - Task Manager</h2>
2020-03-19 10:46:47 +01:00
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orga841f53" class="outline-2">
<h2 id="orga841f53"><code>zathura</code> - PDF Reader</h2>
<div class="outline-text-2" id="text-orga841f53">
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-10-25 14:37:10 +02:00
<div id="outline-container-orgdaea54d" class="outline-3">
<h3 id="orgdaea54d">Installation</h3>
<div class="outline-text-3" id="text-orgdaea54d">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S zathura
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
Then add dependecies to view specific files:
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S zathura-pdf-mupdf zathura-djvu zathura-ps zathura-cb
2020-03-19 10:46:47 +01:00
</pre>
</div>
<p>
It seems that mupdf is better that poppler to view pdf.
</p>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-orgba59e57" class="outline-3">
<h3 id="orgba59e57">Configuration</h3>
<div class="outline-text-3" id="text-orgba59e57">
2020-03-19 10:46:47 +01:00
<p>
<code>~/.config/zathura/zathurarc</code>
</p>
</div>
</div>
2021-10-25 14:37:10 +02:00
<div id="outline-container-org7f90b87" class="outline-3">
<h3 id="org7f90b87">Cheatsheet</h3>
<div class="outline-text-3" id="text-org7f90b87">
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-10-25 14:37:10 +02:00
<div id="outline-container-org0f602b9" class="outline-4">
<h4 id="org0f602b9">Installation</h4>
<div class="outline-text-4" id="text-org0f602b9">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S pdfpc
2020-03-19 10:46:47 +01:00
</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">
2021-01-03 22:52:53 +01:00
<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
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
2021-10-25 14:37:10 +02:00
<div id="outline-container-orgc19d52b" class="outline-4">
<h4 id="orgc19d52b">Usage</h4>
<div class="outline-text-4" id="text-orgc19d52b">
2021-01-01 20:12:34 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> pdfpc filename.pdf
2021-01-01 20:12:34 +01:00
</pre>
</div>
2021-01-03 22:52:53 +01:00
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org403120a" class="outline-2">
<h2 id="org403120a">Display Manager</h2>
<div class="outline-text-2" id="text-org403120a">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
Before, I was using <code>lightDM</code>, but a single tty is enough.
2020-03-19 10:46:47 +01:00
</p>
<p>
2021-01-03 22:52:53 +01:00
However, to make tools like Anydesk or Teamviewer to work:
Add &ldquo;type=x11&rdquo; in <code>/etc/pam.d/system-login</code>:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-conf"> <span class="org-variable-name">-session optional pam_systemd.so type</span>=x11
2020-03-19 10:46:47 +01:00
</pre>
</div>
<ul class="org-ul">
2021-01-03 22:52:53 +01:00
<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>
2020-03-19 10:46:47 +01:00
</ul>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org6f8e56a" class="outline-2">
<h2 id="org6f8e56a"><code>gtk=/=qt</code> - Managing Theme</h2>
<div class="outline-text-2" id="text-org6f8e56a">
</div>
<div id="outline-container-org1f9e14f" class="outline-3">
<h3 id="org1f9e14f">GTK Themes</h3>
<div class="outline-text-3" id="text-org1f9e14f">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
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>.
2020-03-19 10:46:47 +01:00
</p>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgb4295ec" class="outline-4">
<h4 id="orgb4295ec">Gui Manager</h4>
<div class="outline-text-4" id="text-orgb4295ec">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
To customize the look of the system using GUI application, run <code>lxappearance</code>.
2020-03-19 10:46:47 +01:00
</p>
<p>
2021-01-03 22:52:53 +01:00
Installation:
2020-03-19 10:46:47 +01:00
</p>
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S lxappearance
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +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">
<div class="org-src-container">
<pre class="src src-bash"> yay -S zukitwo-themes faenza-icon-theme
</pre>
2020-03-19 10:46:47 +01:00
</div>
2020-11-03 16:27:09 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S arc-gtk-theme
2020-11-03 16:27:09 +01:00
</pre>
</div>
2021-01-03 22:52:53 +01:00
</div>
</div>
</div>
2020-11-03 16:27:09 +01:00
2021-01-03 22:52:53 +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-11-03 16:27:09 +01:00
<p>
2021-01-03 22:52:53 +01:00
Run <code>qt5ct</code> to manage QT Themes.
2020-11-03 16:27:09 +01:00
</p>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org58260ec" class="outline-2">
<h2 id="org58260ec"><code>droidcam</code> - Use Android phone as webcam</h2>
<div class="outline-text-2" id="text-org58260ec">
2021-01-01 20:12:34 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S droidcam
2021-01-01 20:12:34 +01:00
</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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> droidcam-cli -v -size=1280x720 192.168.1.51 <span class="org-highlight-numbers-number">4747</span>
2021-01-01 20:12:34 +01:00
</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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> mpv av://v4l2:/dev/video0
2021-01-01 20:12:34 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org34f9882" class="outline-2">
<h2 id="org34f9882"><code>inkscape</code> - Graphical Editor</h2>
<div class="outline-text-2" id="text-org34f9882">
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>
2021-01-01 20:12:34 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S inkscape
2021-01-01 20:12:34 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgb418d4c" class="outline-2">
<h2 id="orgb418d4c"><code>kdenlive</code> - Video Editor</h2>
<div class="outline-text-2" id="text-orgb418d4c">
<p>
<a href="https://kdenlive.org/fr/">kdenlive</a>
</p>
2021-01-01 20:12:34 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S kdenlive
2021-01-01 20:12:34 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org276a30b" class="outline-2">
<h2 id="org276a30b"><code>kazam</code> - Screen Recorder</h2>
</div>
<div id="outline-container-org100211a" class="outline-2">
<h2 id="org100211a"><code>obs-studio</code> - Live streaming and screen recording</h2>
<div class="outline-text-2" id="text-org100211a">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
<a href="https://github.com/obsproject/obs-studio/">https://github.com/obsproject/obs-studio/</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -Ss obs-studio
</pre>
</div>
<p>
To share the screen as a webcam:
<a href="http://dlaw.me/webcam-spoofing-with-obs/">http://dlaw.me/webcam-spoofing-with-obs/</a>
2020-03-19 10:46:47 +01:00
</p>
2021-01-03 22:52:53 +01:00
<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>
2020-03-19 10:46:47 +01:00
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org64fd10c" class="outline-2">
<h2 id="org64fd10c"><code>anydesk</code> - Remote Desktop</h2>
<div class="outline-text-2" id="text-org64fd10c">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S anydesk-bin
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgfbeddca" class="outline-2">
<h2 id="orgfbeddca"><code>wireguard</code> - VPN</h2>
<div class="outline-text-2" id="text-orgfbeddca">
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S wireguard-tools
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgd48246b" class="outline-2">
<h2 id="orgd48246b"><code>nordvpn</code> - VPN</h2>
<div class="outline-text-2" id="text-orgd48246b">
<p>
<a href="https://aur.archlinux.org/packages/nordvpn-bin/">https://aur.archlinux.org/packages/nordvpn-bin/</a>
<a href="https://wiki.archlinux.org/index.php/NordVPN">https://wiki.archlinux.org/index.php/NordVPN</a>
</p>
<p>
Installation:
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S nordvpn-bin
</pre>
</div>
<p>
Configuration:
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> systemctl enable --now nordvpnd.service
</pre>
</div>
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-10-25 14:37:10 +02:00
<div id="outline-container-org2fc3118" class="outline-2">
<h2 id="org2fc3118">Others</h2>
<div class="outline-text-2" id="text-org2fc3118">
2020-03-19 10:46:47 +01:00
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgf054688" class="outline-3">
<h3 id="orgf054688"><code>maim=/=flameshot</code> - Take Screenshots</h3>
<div class="outline-text-3" id="text-orgf054688">
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">
2021-01-03 22:52:53 +01: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-03 22:52:53 +01:00
<div id="outline-container-org72b76b6" class="outline-3">
<h3 id="org72b76b6"><code>screenkey</code> - Show pressed keys</h3>
<div class="outline-text-3" id="text-org72b76b6">
2021-01-01 20:12:34 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S screenkey
2021-01-01 20:12:34 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org530b4e7" class="outline-3">
<h3 id="org530b4e7"><code>croc</code> - File transfer</h3>
<div class="outline-text-3" id="text-org530b4e7">
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">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S croc
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd26025d" class="outline-3">
<h3 id="orgd26025d">Find Files</h3>
<div class="outline-text-3" id="text-orgd26025d">
<div class="org-src-container">
<pre class="src src-bash"> yay -S fd ripgrep fzf
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgbd7a136" class="outline-3">
<h3 id="orgbd7a136">PDF/Image Utilities</h3>
<div class="outline-text-3" id="text-orgbd7a136">
2020-05-26 08:40:15 +02:00
<ul class="org-ul">
<li><a href="https://github.com/dawbarton/pdf2svg">https://github.com/dawbarton/pdf2svg</a></li>
<li><a href="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/">https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/</a></li>
<li><a href="https://github.com/Airblader/unclutter-xfixes">https://github.com/Airblader/unclutter-xfixes</a></li>
</ul>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S pdf2svg pdftk unclutter pdfarranger imagemagick
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.
2021-10-25 14:37:10 +02:00
It is integrated with <code>ranger</code> and <code>pcmanFM</code>.
2020-03-19 10:46:47 +01:00
</p>
2021-01-03 22:52:53 +01:00
<div class="org-src-container">
<pre class="src src-bash"> yay -S trash-cli
</pre>
2020-03-19 10:46:47 +01:00
</div>
</div>
</div>
2021-01-03 22:52:53 +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">
<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>
2020-03-19 10:46:47 +01:00
</div>
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org477d50a" class="outline-3">
<h3 id="org477d50a">Show information about the machine</h3>
<div class="outline-text-3" id="text-org477d50a">
<p>
<a href="https://github.com/dylanaraps/neofetch">neofetch</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S neofetch
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org4c6eb49" class="outline-2">
<h2 id="org4c6eb49">Printer</h2>
<div class="outline-text-2" id="text-org4c6eb49">
<p>
<a href="https://wiki.archlinux.org/index.php/CUPS">https://wiki.archlinux.org/index.php/CUPS</a>
Web based administration: <a href="http://localhost:631/">http://localhost:631/</a>
</p>
<p>
<code>system-config-printer</code>
</p>
<p>
Check the queue
</p>
<div class="org-src-container">
<pre class="src src-bash"> lpq
lpq -a <span class="org-comment-delimiter"># </span><span class="org-comment">on all queues</span>
</pre>
</div>
<p>
Clear the queue
</p>
<div class="org-src-container">
<pre class="src src-bash"> lprm <span class="org-comment-delimiter"># </span><span class="org-comment">remove last entry only</span>
lprm - <span class="org-comment-delimiter"># </span><span class="org-comment">remove all entries</span>
</pre>
</div>
<p>
Print a file
</p>
<div class="org-src-container">
<pre class="src src-bash"> lpr -P printer_name filename.pdf
</pre>
</div>
<p>
List available printers
</p>
<div class="org-src-container">
<pre class="src src-bash"> lpstat -a
</pre>
</div>
<p>
Stats about the printer
</p>
<div class="org-src-container">
<pre class="src src-bash"> lpstat -p printer_name
</pre>
</div>
2020-03-19 10:46:47 +01:00
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org75b8fb8" class="outline-2">
<h2 id="org75b8fb8">Kernel Management</h2>
<div class="outline-text-2" id="text-org75b8fb8">
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
<a href="https://wiki.manjaro.org/index.php/Manjaro_Kernels">https://wiki.manjaro.org/index.php/Manjaro_Kernels</a>
2020-03-19 10:46:47 +01:00
</p>
2021-01-03 22:52:53 +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>mhwd-kernel -li</code></td>
<td class="org-left">Determine which kernel is used</td>
</tr>
<tr>
<td class="org-left"><code>sudo mhwd-kernel -i linux419</code></td>
<td class="org-left">Install new kernel</td>
</tr>
<tr>
<td class="org-left"><code>sudo mhwd-kernel -i linux419 rmc</code></td>
<td class="org-left">Install new kernel and remove old one</td>
</tr>
</tbody>
</table>
2020-03-19 10:46:47 +01:00
</div>
</div>
2021-01-03 22:52:53 +01:00
<div id="outline-container-org7dc611c" class="outline-2">
<h2 id="org7dc611c">Format disks</h2>
<div class="outline-text-2" id="text-org7dc611c">
<p>
<a href="https://gparted.org/">https://gparted.org/</a>
</p>
<p>
<code>sudo gparted</code> to format disks
</p>
2020-03-19 10:46:47 +01:00
<p>
2021-01-03 22:52:53 +01:00
Using command line:
2020-03-19 10:46:47 +01:00
</p>
2021-01-03 22:52:53 +01:00
<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>
2020-03-19 10:46:47 +01:00
</div>
</div>
2021-04-25 19:10:57 +02:00
<div id="outline-container-org2644b6d" class="outline-2">
<h2 id="org2644b6d">Useful commands</h2>
<div class="outline-text-2" id="text-org2644b6d">
2021-01-03 22:52:53 +01:00
</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-10-25 14:37:10 +02:00
<div id="outline-container-orga497aaa" class="outline-3">
<h3 id="orga497aaa">Others</h3>
<div class="outline-text-3" id="text-orga497aaa">
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/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>
2021-01-03 22:52:53 +01:00
<td class="org-left"><a href="https://github.com/rupa/z">z</a></td>
<td class="org-left">Jump around</td>
2020-03-19 10:46:47 +01:00
</tr>
<tr>
2021-01-03 22:52:53 +01:00
<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>
2020-03-19 10:46:47 +01:00
</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>
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>
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>
<tbody>
<tr>
<td class="org-left"><code>meteo</code></td>
<td class="org-left">Get the meteo</td>
</tr>
<tr>
<td class="org-left"><code>sudo cputhrottle PID %PROC</code></td>
<td class="org-left">Limiter l&rsquo;accès au proc pour un processus</td>
</tr>
<tr>
<td class="org-left"><code>nmap -sP “192.168.1.*"</code></td>
<td class="org-left">Check all ip addresses on local netword</td>
</tr>
<tr>
<td class="org-left"><code>du -sh folder</code></td>
<td class="org-left">Return the size of the folder</td>
</tr>
<tr>
<td class="org-left"><code>df -h</code></td>
<td class="org-left">Report disk usage</td>
</tr>
</tbody>
</table>
</div>
</div>
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-03 22:52:53 +01:00
<div id="outline-container-org87ca48f" class="outline-2">
<h2 id="org87ca48f">After Install</h2>
<div class="outline-text-2" id="text-org87ca48f">
<p>
Enable TRIM (SSD only)
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> systemctl enable --now fstrim.timer
</pre>
</div>
<p>
Set the fastest mirror for Pacman
</p>
2020-03-19 10:46:47 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> <span class="org-type">sudo</span> pacman-mirrors --fasttrack
2020-03-19 10:46:47 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
2021-01-03 22:52:53 +01:00
<div id="outline-container-orgb41f3b1" class="outline-2">
<h2 id="orgb41f3b1">Configuration for Laptops</h2>
<div class="outline-text-2" id="text-orgb41f3b1">
</div>
<div id="outline-container-orgf0690fa" class="outline-3">
<h3 id="orgf0690fa">Power Management Tool: Powertop</h3>
<div class="outline-text-3" id="text-orgf0690fa">
<p>
<a href="https://wiki.archlinux.org/index.php/Powertop">https://wiki.archlinux.org/index.php/Powertop</a>
<a href="https://wiki.manjaro.org/index.php?title=Power_Savings">https://wiki.manjaro.org/index.php?title=Power_Savings</a>
</p>
<p>
<code>PowerTop</code> a diagnostic tool used to identify and report issues with power consumption and management.
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S powertop
</pre>
</div>
<p>
<code>TLP</code> is used for Power Management.
</p>
<div class="org-src-container">
<pre class="src src-bash"> yay -S tlp
<span class="org-type">sudo</span> systemctl enable tlp
<span class="org-type">sudo</span> systemctl start tlp
<span class="org-type">sudo</span> systemctl enable tlp-sleep
<span class="org-type">sudo</span> systemctl start tlp-sleep
<span class="org-type">sudo</span> tlp start
</pre>
</div>
<p>
<code>Thermald</code> is used to automatically handle CPU frequency scaling according to system load.
</p>
2021-01-01 20:12:34 +01:00
<div class="org-src-container">
2021-01-03 22:52:53 +01:00
<pre class="src src-bash"> yay -S thermald
<span class="org-type">sudo</span> systemctl enable thermald
<span class="org-type">sudo</span> systemctl start thermald
2021-01-01 20:12:34 +01:00
</pre>
</div>
</div>
2020-03-19 10:46:47 +01:00
</div>
2021-01-01 20:12:34 +01:00
2021-01-03 22:52:53 +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">
<p>
<a href="https://wiki.archlinux.org/index.php/Power_management">https://wiki.archlinux.org/index.php/Power_management</a>
</p>
<p>
Should automatic show lock screen
</p>
<p>
<code>/etc/systemd/logind.conf</code>
</p>
</div>
</div>
</div>
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">
2021-01-03 22:52:53 +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">
2021-01-03 22:52:53 +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-04-25 19:10:57 +02:00
<div id="outline-container-orgf798b8d" class="outline-2">
<h2 id="orgf798b8d">Resources</h2>
<div class="outline-text-2" id="text-orgf798b8d">
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-03 22:52:53 +01:00
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-orgfe37c2c" class="outline-3">
<h3 id="orgfe37c2c">Mutt</h3>
<div class="outline-text-3" id="text-orgfe37c2c">
2021-01-03 22:52:53 +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>neomutt</code></td>
<td class="org-left">Teaching an Old Dog New Tricks</td>
</tr>
<tr>
<td class="org-left"><code>msmtp</code></td>
<td class="org-left">SMTP client that can be used as an SMTP plugin for Mutt</td>
</tr>
<tr>
<td class="org-left"><code>isync</code></td>
<td class="org-left">Synchronize a maildir with an IMAP server</td>
</tr>
<tr>
<td class="org-left"><code>vdirsyncer</code></td>
<td class="org-left">Synchronize calendars and contacts</td>
</tr>
2021-01-08 01:43:48 +01:00
<tr>
<td class="org-left"><code>abook</code></td>
<td class="org-left">Address book with mutt support</td>
</tr>
2021-01-03 22:52:53 +01:00
<tr>
<td class="org-left"><code>urlview</code></td>
<td class="org-left">URL extractor/launcher</td>
</tr>
<tr>
<td class="org-left"><code>w3m</code></td>
<td class="org-left">Pager/text based browser</td>
</tr>
<tr>
2021-01-08 01:43:48 +01:00
<td class="org-left"><code>lynx</code></td>
2021-01-03 22:52:53 +01:00
<td class="org-left">Text mode web browser</td>
</tr>
<tr>
<td class="org-left"><code>lbdb</code></td>
<td class="org-left">Little brother&rsquo;s database for the mutt mail reader</td>
</tr>
<tr>
<td class="org-left"><code>mu</code></td>
<td class="org-left">Tool for searching e-mail messages stored in the maildir-format</td>
</tr>
<tr>
<td class="org-left"><code>ripmime</code></td>
<td class="org-left">Extract attachments out of MIME encoded email packages</td>
</tr>
<tr>
<td class="org-left"><code>shared</code></td>
<td class="org-left">mime-info - Database of common MIME types</td>
</tr>
</tbody>
</table>
2020-01-12 00:19:16 +01:00
</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">
2021-01-03 22:52:53 +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>avrdude</code></td>
<td class="org-left">Atmel AVR MCU programmer</td>
</tr>
<tr>
<td class="org-left"><code>bootloadhid</code></td>
<td class="org-left">USB boot loader for AVR microcontrollers</td>
</tr>
<tr>
<td class="org-left"><code>dfu</code></td>
<td class="org-left">programmer - Device firmware update based USB programmer for Atmel chips</td>
</tr>
<tr>
<td class="org-left"><code>platformio</code></td>
<td class="org-left">Ecosystem for IoT development (Arduino and ARM mbed compatible)</td>
</tr>
<tr>
<td class="org-left"><code>micropython</code></td>
<td class="org-left">Python implementation for microcontrollers and constrained systems</td>
</tr>
<tr>
<td class="org-left"><code>arduino</code></td>
<td class="org-left">mk - Makefile for Arduino sketches</td>
</tr>
</tbody>
</table>
2020-01-12 00:19:16 +01:00
</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>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">
2021-01-03 22:52:53 +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>wget</code></td>
<td class="org-left">Internet file retriever</td>
</tr>
<tr>
<td class="org-left"><code>htop</code></td>
<td class="org-left">Improved top (interactive process viewer)</td>
</tr>
<tr>
<td class="org-left"><code>httpie</code></td>
<td class="org-left">User-friendly cURL replacement (command-line HTTP client)</td>
</tr>
<tr>
<td class="org-left"><code>curl</code></td>
<td class="org-left">Get a file from an HTTP, HTTPS or FTP server</td>
</tr>
</tbody>
</table>
2020-01-12 00:19:16 +01:00
</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">
2021-01-03 22:52:53 +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>binutils</code></td>
<td class="org-left">GNU Binary Utilities</td>
</tr>
<tr>
<td class="org-left"><code>coreutils</code></td>
<td class="org-left">GNU File, Shell, and Text utilities</td>
</tr>
<tr>
<td class="org-left"><code>gnome</code></td>
<td class="org-left">doc-utils - Documentation utilities for the GNOME project</td>
</tr>
<tr>
<td class="org-left"><code>moreutils</code></td>
<td class="org-left">Collection of tools that nobody wrote when UNIX was young</td>
</tr>
</tbody>
</table>
2020-01-12 00:19:16 +01:00
</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>cputhrottle</code></td>
<td class="org-left">Limit the CPU usage of a process</td>
</tr>
<tr>
<td class="org-left"><code>ctags</code></td>
<td class="org-left">Reimplementation of ctags</td>
</tr>
<tr>
<td class="org-left"><code>gdb</code></td>
<td class="org-left">GNU debugger</td>
</tr>
<tr>
<td class="org-left"><code>ghostscript</code></td>
<td class="org-left">Interpreter for PostScript and PDF</td>
</tr>
<tr>
<td class="org-left"><code>go</code></td>
<td class="org-left">Open source programming language to build simple/reliable/efficient software</td>
</tr>
<tr>
<td class="org-left"><code>hugo</code></td>
<td class="org-left">Configurable static site generator</td>
</tr>
<tr>
<td class="org-left"><code>markdown</code></td>
<td class="org-left">Text-to-HTML conversion tool</td>
</tr>
<tr>
<td class="org-left"><code>pandoc</code></td>
<td class="org-left">Swiss-army knife of markup format conversion</td>
</tr>
2021-01-08 01:43:48 +01:00
<tr>
<td class="org-left"><code>uni</code></td>
<td class="org-left">Query the Unicode database from the commandline</td>
</tr>
2020-01-12 00:19:16 +01:00
</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>
2021-10-25 14:37:10 +02:00
<p class="date">Created: 2021-06-20 dim. 14:21</p>
2020-01-12 00:19:16 +01:00
</div>
</body>
</html>