5323 lines
142 KiB
HTML
5323 lines
142 KiB
HTML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
<head>
|
|
<!-- 2020-05-26 mar. 08:39 -->
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
<title>Installation</title>
|
|
<meta name="generator" content="Org mode" />
|
|
<meta name="author" content="Thomas Dehaeze" />
|
|
</head>
|
|
<body>
|
|
<div id="content">
|
|
<h1 class="title">Installation</h1>
|
|
<div id="table-of-contents">
|
|
<h2>Table of Contents</h2>
|
|
<div id="text-table-of-contents">
|
|
<ul>
|
|
<li><a href="#org98163a8">Package Manager: yay</a>
|
|
<ul>
|
|
<li><a href="#org6626622">Installation</a></li>
|
|
<li><a href="#org1624719">CheatSheet</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgdc60421">Git Setup</a>
|
|
<ul>
|
|
<li><a href="#org0d65497">Installation</a></li>
|
|
<li><a href="#org2bf7b84">Configuration</a></li>
|
|
<li><a href="#org7373959">Diff-So-Fancy</a>
|
|
<ul>
|
|
<li><a href="#org2294fa8">Installation</a></li>
|
|
<li><a href="#orgc114b45">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgdb27f67">Credential Helper setup with Pass</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org60e7df0">Terminal</a>
|
|
<ul>
|
|
<li><a href="#orgfdafadd">Termite</a>
|
|
<ul>
|
|
<li><a href="#org2723a52">Installation</a></li>
|
|
<li><a href="#orgd530cb4">Configuration</a></li>
|
|
<li><a href="#org19f9c63">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org6bcee12">Unicode Rxvt</a>
|
|
<ul>
|
|
<li><a href="#org4355ba2">Installation</a></li>
|
|
<li><a href="#org6bc3f05">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org01f8d17">Shell: Bash and ZSH</a>
|
|
<ul>
|
|
<li><a href="#org1fb3836">Installation</a></li>
|
|
<li><a href="#org79c0f8e">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org44f2fd4">Terminal Multiplexer: Tmux</a>
|
|
<ul>
|
|
<li><a href="#org7b91398">Installation</a></li>
|
|
<li><a href="#org282fba3">Configuration</a></li>
|
|
<li><a href="#org19bf565">Ressources</a></li>
|
|
<li><a href="#org7e9b9df">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orge3478b4">Fonts</a>
|
|
<ul>
|
|
<li><a href="#org8b32ed0">Installation</a></li>
|
|
<li><a href="#orgf81f533">Default fonts</a></li>
|
|
<li><a href="#orgcdf605c">Select font</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org3c68953">Text Editors</a>
|
|
<ul>
|
|
<li><a href="#org0cf05ae">Neovim</a>
|
|
<ul>
|
|
<li><a href="#org88d80d1">Installation</a></li>
|
|
<li><a href="#org0d78c8b">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orge7e8ed8">Emacs</a>
|
|
<ul>
|
|
<li><a href="#org0ee5c3e">Installation</a></li>
|
|
<li><a href="#orgad2c700">Configuration</a></li>
|
|
<li><a href="#orgc505d2b">SpellCheck with Aspell</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org3b65def">SSH setup</a>
|
|
<ul>
|
|
<li><a href="#orgd15f6cf">Generating a new SSH key</a></li>
|
|
<li><a href="#org042eeea">Start the ssh-agent in the background</a></li>
|
|
<li><a href="#org0e496d1">Add the SSH key to the ssh-agent</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org2c03bcf">GnuPG</a>
|
|
<ul>
|
|
<li><a href="#orgbee104f">Install the gnupg package:</a></li>
|
|
<li><a href="#org8b3578c">Create a key pair</a></li>
|
|
<li><a href="#orgca72689">Configure the gpg-agent to cache the passphrase</a></li>
|
|
<li><a href="#org22a2b63">Gnome-Keyring and automatic GnuPG key unlocking</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org112924a">Launcher - Rofi</a>
|
|
<ul>
|
|
<li><a href="#org540aa6f">Installation</a></li>
|
|
<li><a href="#orgfa1b87e">Setup rofi as a dmenu replacement</a></li>
|
|
<li><a href="#org2a65fe9">Run sudo commands with rofi</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org3f80257">Password Manager: Pass</a>
|
|
<ul>
|
|
<li><a href="#orgd91e35c">Install the pass package</a></li>
|
|
<li><a href="#org773d9d2">Initialize the password store as a git repository</a></li>
|
|
<li><a href="#orgcdb546e">Gui Manager</a></li>
|
|
<li><a href="#org6910ece">Integration with Rofi</a>
|
|
<ul>
|
|
<li><a href="#org8dca71a">Installation</a></li>
|
|
<li><a href="#org73e6356">Alternative</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orga706463">Integration with Browsers</a></li>
|
|
<li><a href="#org9d8f943">Integration with Git</a>
|
|
<ul>
|
|
<li><a href="#org9c42329">Installation</a></li>
|
|
<li><a href="#org4c68592">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org12ea2b3">Integration with other programs</a></li>
|
|
<li><a href="#org97a1606">Alternative - Bitwarden</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orga930e16">Bookmark Manager: Buku</a>
|
|
<ul>
|
|
<li><a href="#org8aba07b">Installation</a></li>
|
|
<li><a href="#org9433044">Integration with Rofi</a>
|
|
<ul>
|
|
<li><a href="#org356577d">Installation</a></li>
|
|
<li><a href="#org583dde0">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org83a5380">Integration with qutebrowser</a></li>
|
|
<li><a href="#org9b6ade4">Synchronization with a git repository</a></li>
|
|
<li><a href="#org36fe5a4">Import Bookmarks from Firefox and Chrome</a></li>
|
|
<li><a href="#org78c87c7">Web Interface</a></li>
|
|
<li><a href="#orgc5a5068">Cheatsheet</a></li>
|
|
<li><a href="#orgf6ea210">Alternatives</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgcd36b0e">Browser: qutebrowser</a>
|
|
<ul>
|
|
<li><a href="#orga6a8a59">Installation</a></li>
|
|
<li><a href="#org19bf35d">View Pdf inside qutebrowser with pdfjs</a>
|
|
<ul>
|
|
<li><a href="#org15b3f3d">Installation</a></li>
|
|
<li><a href="#orgd942fb5">Usage</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org6584834">Integration with Pass: the password manager</a></li>
|
|
<li><a href="#org80f078a">Integration with Buku</a></li>
|
|
<li><a href="#orgac053cd">Spell Checking</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgbb01a74">Monitors</a></li>
|
|
<li><a href="#orgdd696ca">Sound Setup</a></li>
|
|
<li><a href="#orgf663e2c">Music Setup</a>
|
|
<ul>
|
|
<li><a href="#orgca67e38">Sound Server - Pulse Audio</a></li>
|
|
<li><a href="#orga059c69">Audio Server - MPD</a>
|
|
<ul>
|
|
<li><a href="#org3b01cc3">Installation</a></li>
|
|
<li><a href="#orgd1fe283">Automatic Startup</a></li>
|
|
<li><a href="#org9d7f2b2">Command line interface to MPD - MPC</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org1e108b3">Audio Server with Spotify - Mopidy</a></li>
|
|
<li><a href="#org2f6dbef">MPD Client - ncmpcpp</a>
|
|
<ul>
|
|
<li><a href="#org218054a">Installation</a></li>
|
|
<li><a href="#org13eb9cf">Config</a></li>
|
|
<li><a href="#orgac6996d">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org5e8ee53">Library Manager - beets</a>
|
|
<ul>
|
|
<li><a href="#orgedb186c">Installation</a></li>
|
|
<li><a href="#orgb55dd1e">Configuration</a></li>
|
|
<li><a href="#org0b1aaa3">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgf6cba2f">Movies</a>
|
|
<ul>
|
|
<li><a href="#orgefd106a">Media Player - MPV</a>
|
|
<ul>
|
|
<li><a href="#orgb9e6353">Installation</a></li>
|
|
<li><a href="#org93c4ad1">Key Bindings</a></li>
|
|
<li><a href="#org06e36f6">CheatSheet</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org7e8b7d9">Chromecast with CATT</a>
|
|
<ul>
|
|
<li><a href="#orgf5660af">Installation</a></li>
|
|
<li><a href="#org8918c8f">Usage to cast videos to chromecast</a></li>
|
|
<li><a href="#orgb4960ce">Usage for controlling the device</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org4491afa">Contact Manager</a>
|
|
<ul>
|
|
<li><a href="#org6743e8a">Google Conctacts: Khard</a></li>
|
|
<li><a href="#orgbb843bf">Mu</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgc449e74">Connect with Phone</a></li>
|
|
<li><a href="#orgae1cf07">Chat Application - Weechat</a>
|
|
<ul>
|
|
<li><a href="#org76f00db">Installation</a></li>
|
|
<li><a href="#orga3545e9">Enable mouse support</a></li>
|
|
<li><a href="#org911e926">Scripts</a></li>
|
|
<li><a href="#org3a1e307">Theme</a></li>
|
|
<li><a href="#org095b635">Configuration</a></li>
|
|
<li><a href="#org2cc2568">Multi-line messages</a></li>
|
|
<li><a href="#org787350d">Send message using <code>$EDITOR</code></a></li>
|
|
<li><a href="#org173cef7">CheatSheet</a></li>
|
|
<li><a href="#org6c35765">Slack Integration</a>
|
|
<ul>
|
|
<li><a href="#org1fa667a">Installation</a></li>
|
|
<li><a href="#orge6cfed8">Add your Slack API key(s)</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org8d8e767">Aspell</a></li>
|
|
<li><a href="#orga197520">Notifications</a></li>
|
|
<li><a href="#org9011647">Deamon and Client</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org59959e5">Redshift</a></li>
|
|
<li><a href="#org22cb76b">Mail Setup</a>
|
|
<ul>
|
|
<li><a href="#orga2f7ae8">Synchronize Mailboxes - Mbsync</a>
|
|
<ul>
|
|
<li><a href="#orga0f77c9">Installation</a></li>
|
|
<li><a href="#org9ae4a4b">Configuration</a></li>
|
|
<li><a href="#org091420a">Automation using systemd</a>
|
|
<ul>
|
|
<li><a href="#org22bf4a3">Retreive New mails</a></li>
|
|
<li><a href="#org4485ffc">Synchronize all the mailboxes</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgd42b5cc">Send Mails - Msmtp</a>
|
|
<ul>
|
|
<li><a href="#org5e4799d">Installation</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgaa1d87d">Mail Index, Search and Tagging - Mu</a></li>
|
|
<li><a href="#org01b358c">Mail Client - NeoMutt</a>
|
|
<ul>
|
|
<li><a href="#org161c822">Installation</a></li>
|
|
<li><a href="#org5d1a0f8">Display html mails</a></li>
|
|
<li><a href="#org74a5138">Open Url from mail</a></li>
|
|
<li><a href="#orgc93d15f">Ressources</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgd2ff9b9">Notification system</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org720ae0a">File Manager</a>
|
|
<ul>
|
|
<li><a href="#org5d755c6">Ranger</a>
|
|
<ul>
|
|
<li><a href="#org12e2c07">Installation</a></li>
|
|
<li><a href="#org4343798">Configuration</a></li>
|
|
<li><a href="#org33e69a4">Display pdf</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgf599bd2">GUI File Manager: pcmanfm</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgaef8696">Image viewer</a>
|
|
<ul>
|
|
<li><a href="#orgd0410fd">sxiv</a>
|
|
<ul>
|
|
<li><a href="#org6898ac9">Installation</a></li>
|
|
<li><a href="#org5547b47">Open Gif</a></li>
|
|
<li><a href="#org559252e">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org5d4ed33">HotKeyManager - SXHKD</a></li>
|
|
<li><a href="#org696f737">Windows Manager - i3</a>
|
|
<ul>
|
|
<li><a href="#orga336929">Installation</a></li>
|
|
<li><a href="#org64641db">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgc0f389c">Polybar</a>
|
|
<ul>
|
|
<li><a href="#orgd6a1857">Installation</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org71d7099">Compositor - Picom</a>
|
|
<ul>
|
|
<li><a href="#orgb23f809">Installation</a></li>
|
|
<li><a href="#orgee218df">Configuration</a></li>
|
|
<li><a href="#org10506c7">Automatic run as daemon</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgd3686f9">Notification Manager - Dunst</a>
|
|
<ul>
|
|
<li><a href="#org9c2871e">Installation</a></li>
|
|
<li><a href="#org814656b">Configuration</a></li>
|
|
<li><a href="#org77c538a">Usage</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org00d17ee">Office Suite</a>
|
|
<ul>
|
|
<li><a href="#org8ca3c3d">WPS Office</a></li>
|
|
<li><a href="#org7eceec6">Minimap SpreadSheet - SC-IM</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgba28a1d">Managing Theme</a>
|
|
<ul>
|
|
<li><a href="#org1e74515">GTK Themes</a>
|
|
<ul>
|
|
<li><a href="#orga2618bf">Gui Manager</a></li>
|
|
<li><a href="#org53a7b9c">Icons and themes</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org78e9d3a">QT Themes</a></li>
|
|
<li><a href="#orgee75f60">XFT Themes</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgc1fa786">Advanced config</a>
|
|
<ul>
|
|
<li><a href="#orga5f3cae">Printer</a></li>
|
|
<li><a href="#org35d6080">Kernel Management</a></li>
|
|
<li><a href="#orgdb31cfa">Power Management Tool: Powertop</a></li>
|
|
<li><a href="#orgbede079">Lid open/close</a></li>
|
|
<li><a href="#org663f779">Automatically Mount devices - Udiskie</a></li>
|
|
<li><a href="#orgbe5aeb8">Format disks</a></li>
|
|
<li><a href="#orgca6df48">Bluetooth</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgc316e25">LaTeX</a>
|
|
<ul>
|
|
<li><a href="#org8e9fa0f">Installation</a></li>
|
|
<li><a href="#orgca5faf8">Personnal classes/packages</a></li>
|
|
<li><a href="#orgf2ead13">From screenshot to latex math formula</a>
|
|
<ul>
|
|
<li><a href="#org01d5b99">Installation</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgc6aa9a5">Mathematical Software</a>
|
|
<ul>
|
|
<li><a href="#org0f6bd53">Insect</a>
|
|
<ul>
|
|
<li><a href="#org2292372">Installation</a></li>
|
|
<li><a href="#org1a96553">Usage</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgd150c77">Matlab</a>
|
|
<ul>
|
|
<li><a href="#org8cdde97">Installation</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org9d1db59">SageMath</a>
|
|
<ul>
|
|
<li><a href="#orgfe36ce2">Installation</a></li>
|
|
<li><a href="#orgb121834">Usage</a></li>
|
|
<li><a href="#orgbd6e320">Documentation</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org74b3b20">Download Manager</a>
|
|
<ul>
|
|
<li><a href="#org55b326b">Torrent Client - deluge</a>
|
|
<ul>
|
|
<li><a href="#org3fed60a">Installation</a></li>
|
|
<li><a href="#org9df1e28">Configuration</a></li>
|
|
<li><a href="#org9dd0657">Command Line Interface</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgc415f27">Youtube-dl</a>
|
|
<ul>
|
|
<li><a href="#orgef1d7e5">Download best audio</a></li>
|
|
<li><a href="#orgce8146f">Download best video with audio</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orga2e7f86">Default Applications</a>
|
|
<ul>
|
|
<li><a href="#org41abf2c">Mailcap file</a></li>
|
|
<li><a href="#org896b304">XDG-OPEN</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgf61220c">Desktop files</a></li>
|
|
<li><a href="#orgc40d867">Bibliography Management</a>
|
|
<ul>
|
|
<li><a href="#org1f3d362">Alternatives:</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org92bd5a4">Calendar</a>
|
|
<ul>
|
|
<li><a href="#org2c7cf25">Vdirsyncer - Sync calendars</a>
|
|
<ul>
|
|
<li><a href="#org72297b1">Installation</a></li>
|
|
<li><a href="#org44289ec">Cheatsheet</a></li>
|
|
<li><a href="#orgc5d88e2">Automation - Systemd</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orga0460b3">Calendar Client - Khal</a>
|
|
<ul>
|
|
<li><a href="#org1cac093">Installation</a></li>
|
|
<li><a href="#orgc85ca1c">Import ICS files</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org52a5fdb">RSS Reader</a>
|
|
<ul>
|
|
<li><a href="#org6689bec">Newsboat</a>
|
|
<ul>
|
|
<li><a href="#orgc913712">Installation</a></li>
|
|
<li><a href="#org7cd5480">Configuration</a></li>
|
|
<li><a href="#orgab15484">CheatSheet</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org4cde66a">Task Manager</a>
|
|
<ul>
|
|
<li><a href="#orgf8a6b79">OrgMode and Emacs</a></li>
|
|
<li><a href="#orgbd57387">Wunderline</a>
|
|
<ul>
|
|
<li><a href="#orga5b848a">Installation</a></li>
|
|
<li><a href="#org028d5df">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org038a8d5">PDF Reader: Zathura</a>
|
|
<ul>
|
|
<li><a href="#org7f0d0f8">Installation</a></li>
|
|
<li><a href="#orgd19e949">Configuration</a></li>
|
|
<li><a href="#org8ff2402">Cheatsheet</a></li>
|
|
<li><a href="#org2ed5d94">Multi-monitor pdf presentation - pdfpc</a>
|
|
<ul>
|
|
<li><a href="#org22b90a4">Installation</a></li>
|
|
<li><a href="#orgf5f3b3c">Video support</a></li>
|
|
<li><a href="#orgf2759c2">Usage</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org2e68a17">Theme manager</a>
|
|
<ul>
|
|
<li><a href="#orgf8fbe5f">Base16</a>
|
|
<ul>
|
|
<li><a href="#org7417c11">Base16 Philosophy</a></li>
|
|
<li><a href="#orge6856be">Base16-shell</a></li>
|
|
<li><a href="#org8119f36">Base16-manager</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org0f491c8">Graphical Editor</a></li>
|
|
<li><a href="#orgf1e6f64">VPN Setup with NordVPN</a>
|
|
<ul>
|
|
<li><a href="#org701deeb">Installation</a></li>
|
|
<li><a href="#orgb934377">Configuration</a></li>
|
|
<li><a href="#org5bcbd80">Usage</a></li>
|
|
<li><a href="#org8f64a1f">Alternative: Use NordVPM with openVPN Instead</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgb2a7263">Others</a>
|
|
<ul>
|
|
<li><a href="#org02d35dc">Wallpaper: <code>xwallpaper</code></a></li>
|
|
<li><a href="#orgb90c203">Interact with API</a></li>
|
|
<li><a href="#org77c9078">Take Screenshot</a></li>
|
|
<li><a href="#org8b7d356">File transfer</a></li>
|
|
<li><a href="#org46bead1">Utilities</a></li>
|
|
<li><a href="#org99b2f03">Trash</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org46eaeed">Usefull commands</a>
|
|
<ul>
|
|
<li><a href="#org8b0bf24">Find files or directories</a></li>
|
|
<li><a href="#org2dbbed2">Show informations about the machine</a></li>
|
|
<li><a href="#org77fbf59">Work with PDF</a></li>
|
|
<li><a href="#org1e7a34e">Separate PDF</a></li>
|
|
<li><a href="#org34c872d">Readline</a>
|
|
<ul>
|
|
<li><a href="#orgfb02aba">Cursor Movement</a></li>
|
|
<li><a href="#org64b434b">Copy & Paste</a></li>
|
|
<li><a href="#orgb67a3fc">History</a></li>
|
|
<li><a href="#org5b5cf0e">Completion</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgac245d5">Google translate from the command line</a></li>
|
|
<li><a href="#orge69d1b3">Others</a></li>
|
|
<li><a href="#org672a9f9">Archive and Extract</a></li>
|
|
<li><a href="#org4a421de">Hardware</a></li>
|
|
<li><a href="#orgee1ea81">Network</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgb4ae27d">Bash Snippets</a>
|
|
<ul>
|
|
<li><a href="#orge6dc131">For loop</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org97a1a43">Some notes - Systemd</a></li>
|
|
<li><a href="#org7c8fb3d">Ressources</a>
|
|
<ul>
|
|
<li><a href="#org28f9359">Dotfiles</a></li>
|
|
<li><a href="#org5407b51">Linux Softwares</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgefd7d3c">List of all the install programs</a>
|
|
<ul>
|
|
<li><a href="#orgc463342">Tmux</a></li>
|
|
<li><a href="#orgd0a89fa">Git</a></li>
|
|
<li><a href="#org07513e9">Text Editors</a></li>
|
|
<li><a href="#org7b65c34">LaTeX</a></li>
|
|
<li><a href="#org76b8685">Mutt</a></li>
|
|
<li><a href="#org0f4a822">Micro controllers</a></li>
|
|
<li><a href="#orgf81772c">File Management</a></li>
|
|
<li><a href="#org961ce62">File Downloader</a></li>
|
|
<li><a href="#org0f7c231">Utils</a></li>
|
|
<li><a href="#org7f36762">A trier</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org98163a8" class="outline-2">
|
|
<h2 id="org98163a8">Package Manager: yay</h2>
|
|
<div class="outline-text-2" id="text-org98163a8">
|
|
<p>
|
|
<a href="https://github.com/Jguer/yay">https://github.com/Jguer/yay</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org6626622" class="outline-3">
|
|
<h3 id="org6626622">Installation</h3>
|
|
<div class="outline-text-3" id="text-org6626622">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">sudo pacman -S yay
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org1624719" class="outline-3">
|
|
<h3 id="org1624719">CheatSheet</h3>
|
|
<div class="outline-text-3" id="text-org1624719">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Command</th>
|
|
<th scope="col" class="org-left">Usage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>yay</code></td>
|
|
<td class="org-left">Perform system upgrade</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>yay -Ss <package></code></td>
|
|
<td class="org-left">Search</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>yay -S <package></code></td>
|
|
<td class="org-left">Install</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>yay -Si <package></code></td>
|
|
<td class="org-left">Get informations</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>yay -Rs <package></code></td>
|
|
<td class="org-left">Uninstall</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>yay -Yc</code></td>
|
|
<td class="org-left">Clean unneeded dependencies</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<p>
|
|
To check all installed packages:
|
|
<code>pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgdc60421" class="outline-2">
|
|
<h2 id="orgdc60421">Git Setup</h2>
|
|
<div class="outline-text-2" id="text-orgdc60421">
|
|
<p>
|
|
<a href="https://git-scm.com/">https://git-scm.com/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org0d65497" class="outline-3">
|
|
<h3 id="org0d65497">Installation</h3>
|
|
<div class="outline-text-3" id="text-org0d65497">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S git
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org2bf7b84" class="outline-3">
|
|
<h3 id="org2bf7b84">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org2bf7b84">
|
|
<p>
|
|
<a href="git.html">Git</a> Configuration:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><code>~/.gitconfig</code></li>
|
|
<li><code>~/.gitignore_global</code></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7373959" class="outline-3">
|
|
<h3 id="org7373959">Diff-So-Fancy</h3>
|
|
<div class="outline-text-3" id="text-org7373959">
|
|
<p>
|
|
<a href="https://github.com/so-fancy/diff-so-fancy">https://github.com/so-fancy/diff-so-fancy</a>
|
|
</p>
|
|
</div>
|
|
<div id="outline-container-org2294fa8" class="outline-4">
|
|
<h4 id="org2294fa8">Installation</h4>
|
|
<div class="outline-text-4" id="text-org2294fa8">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S diff-so-fancy
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc114b45" class="outline-4">
|
|
<h4 id="orgc114b45">Configuration</h4>
|
|
<div class="outline-text-4" id="text-orgc114b45">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgdb27f67" class="outline-3">
|
|
<h3 id="orgdb27f67">Credential Helper setup with Pass</h3>
|
|
<div class="outline-text-3" id="text-orgdb27f67">
|
|
<p>
|
|
This is explained in a further part: <a href="#org9d8f943">Integration of Pass with Git</a>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org60e7df0" class="outline-2">
|
|
<h2 id="org60e7df0">Terminal</h2>
|
|
<div class="outline-text-2" id="text-org60e7df0">
|
|
<p>
|
|
<a href="https://github.com/thestinger/termite">https://github.com/thestinger/termite</a>
|
|
</p>
|
|
</div>
|
|
<div id="outline-container-orgfdafadd" class="outline-3">
|
|
<h3 id="orgfdafadd">Termite</h3>
|
|
<div class="outline-text-3" id="text-orgfdafadd">
|
|
</div>
|
|
<div id="outline-container-org2723a52" class="outline-4">
|
|
<h4 id="org2723a52">Installation</h4>
|
|
<div class="outline-text-4" id="text-org2723a52">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S termite
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd530cb4" class="outline-4">
|
|
<h4 id="orgd530cb4">Configuration</h4>
|
|
<div class="outline-text-4" id="text-orgd530cb4">
|
|
<p>
|
|
<a href="dotfiles/termite.html">termite.org</a>
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><code>~/.config/termite/config</code></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org19f9c63" class="outline-4">
|
|
<h4 id="org19f9c63">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-org19f9c63">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Command</th>
|
|
<th scope="col" class="org-left">Usage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>ctrl-shift-x</code></td>
|
|
<td class="org-left">activate url hints mode</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ctrl-shift-c</code></td>
|
|
<td class="org-left">copy to CLIPBOARD</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ctrl-shift-v</code></td>
|
|
<td class="org-left">paste from CLIPBOARD</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ctrl-shift-space</code></td>
|
|
<td class="org-left">start selection mode</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ctrl-shift-up</code></td>
|
|
<td class="org-left">scroll up a line</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ctrl-shift-down</code></td>
|
|
<td class="org-left">scroll down a line</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ctrl-+</code></td>
|
|
<td class="org-left">increase font size</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ctrl--</code></td>
|
|
<td class="org-left">decrease font size</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ctrl-=</code></td>
|
|
<td class="org-left">reset font size to default</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org6bcee12" class="outline-3">
|
|
<h3 id="org6bcee12">Unicode Rxvt</h3>
|
|
<div class="outline-text-3" id="text-org6bcee12">
|
|
</div>
|
|
<div id="outline-container-org4355ba2" class="outline-4">
|
|
<h4 id="org4355ba2">Installation</h4>
|
|
<div class="outline-text-4" id="text-org4355ba2">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S rxvt-unicode
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org6bc3f05" class="outline-4">
|
|
<h4 id="org6bc3f05">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org6bc3f05">
|
|
<p>
|
|
Most of Urxvt configuration is done in <code>~/.Xresources</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org01f8d17" class="outline-2">
|
|
<h2 id="org01f8d17">Shell: Bash and ZSH</h2>
|
|
<div class="outline-text-2" id="text-org01f8d17">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/Bash">https://wiki.archlinux.org/index.php/Bash</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org1fb3836" class="outline-3">
|
|
<h3 id="org1fb3836">Installation</h3>
|
|
<div class="outline-text-3" id="text-org1fb3836">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S bash bash-completion zsh
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org79c0f8e" class="outline-3">
|
|
<h3 id="org79c0f8e">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org79c0f8e">
|
|
<p>
|
|
<a href="bash.html">Bash</a> configuration:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><code>~/.bashrc</code></li>
|
|
<li><code>~/.bash_profile</code></li>
|
|
<li><code>~/.config/bash/</code></li>
|
|
<li><code>~/.profile</code></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org44f2fd4" class="outline-2">
|
|
<h2 id="org44f2fd4">Terminal Multiplexer: Tmux</h2>
|
|
<div class="outline-text-2" id="text-org44f2fd4">
|
|
<p>
|
|
<a href="https://github.com/tmux/tmux">https://github.com/tmux/tmux</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org7b91398" class="outline-3">
|
|
<h3 id="org7b91398">Installation</h3>
|
|
<div class="outline-text-3" id="text-org7b91398">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S tmux
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org282fba3" class="outline-3">
|
|
<h3 id="org282fba3">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org282fba3">
|
|
<p>
|
|
<a href="tmux.html">TMUX</a> configuration
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org19bf565" class="outline-3">
|
|
<h3 id="org19bf565">Ressources</h3>
|
|
<div class="outline-text-3" id="text-org19bf565">
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/gpakosz/.tmux">https://github.com/gpakosz/.tmux</a></li>
|
|
<li><a href="https://gist.github.com/MohamedAlaa/2961058">https://gist.github.com/MohamedAlaa/2961058</a></li>
|
|
<li><a href="https://blog.bugsnag.com/tmux-and-vim/">https://blog.bugsnag.com/tmux-and-vim/</a></li>
|
|
<li><a href="https://github.com/tmux-plugins/tmux-resurrect">https://github.com/tmux-plugins/tmux-resurrect</a></li>
|
|
<li><a href="https://github.com/rothgar/awesome-tmux">https://github.com/rothgar/awesome-tmux</a></li>
|
|
<li><a href="https://thoughtbot.com/upcase/tmux">https://thoughtbot.com/upcase/tmux</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7e9b9df" class="outline-3">
|
|
<h3 id="org7e9b9df">Cheatsheet</h3>
|
|
<div class="outline-text-3" id="text-org7e9b9df">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Command</th>
|
|
<th scope="col" class="org-left">Usage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>ctrl-spc</code></td>
|
|
<td class="org-left">Prefix</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>c</code></td>
|
|
<td class="org-left">New pane</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>/</code>, <code>-</code></td>
|
|
<td class="org-left">Split Vertically/Horizontally</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>s</code></td>
|
|
<td class="org-left">Change session</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>p</code>, <code>n</code></td>
|
|
<td class="org-left">Previous/Next Pane</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ctrl-h,j,k,l</code></td>
|
|
<td class="org-left">Move between windows</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orge3478b4" class="outline-2">
|
|
<h2 id="orge3478b4">Fonts</h2>
|
|
<div class="outline-text-2" id="text-orge3478b4">
|
|
</div>
|
|
<div id="outline-container-org8b32ed0" class="outline-3">
|
|
<h3 id="org8b32ed0">Installation</h3>
|
|
<div class="outline-text-3" id="text-org8b32ed0">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S nerd-fonts-complete
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
or just
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S nerd-fonts-hack
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
For emojis:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S noto-fonts-emoji
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf81f533" class="outline-3">
|
|
<h3 id="orgf81f533">Default fonts</h3>
|
|
<div class="outline-text-3" id="text-orgf81f533">
|
|
<p>
|
|
Default font used:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li>Monospace Font: <code>Hack Nerd Font Mono</code></li>
|
|
<li>Serif Font: <code>Hack Nerd Font</code></li>
|
|
<li>Sans Font: <code>Hack Nerd Font</code></li>
|
|
</ul>
|
|
|
|
<p>
|
|
List all fonts available: <code>fc-list</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgcdf605c" class="outline-3">
|
|
<h3 id="orgcdf605c">Select font</h3>
|
|
<div class="outline-text-3" id="text-orgcdf605c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S gtk2fontsel
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org3c68953" class="outline-2">
|
|
<h2 id="org3c68953">Text Editors</h2>
|
|
<div class="outline-text-2" id="text-org3c68953">
|
|
</div>
|
|
<div id="outline-container-org0cf05ae" class="outline-3">
|
|
<h3 id="org0cf05ae">Neovim</h3>
|
|
<div class="outline-text-3" id="text-org0cf05ae">
|
|
<p>
|
|
<a href="https://github.com/neovim/neovim">https://github.com/neovim/neovim</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org88d80d1" class="outline-4">
|
|
<h4 id="org88d80d1">Installation</h4>
|
|
<div class="outline-text-4" id="text-org88d80d1">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S neovim
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org0d78c8b" class="outline-4">
|
|
<h4 id="org0d78c8b">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org0d78c8b">
|
|
<p>
|
|
<a href="vim.html">Vim</a> configuration
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orge7e8ed8" class="outline-3">
|
|
<h3 id="orge7e8ed8">Emacs</h3>
|
|
<div class="outline-text-3" id="text-orge7e8ed8">
|
|
<p>
|
|
<a href="https://www.gnu.org/software/emacs/">https://www.gnu.org/software/emacs/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org0ee5c3e" class="outline-4">
|
|
<h4 id="org0ee5c3e">Installation</h4>
|
|
<div class="outline-text-4" id="text-org0ee5c3e">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S emacs
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgad2c700" class="outline-4">
|
|
<h4 id="orgad2c700">Configuration</h4>
|
|
<div class="outline-text-4" id="text-orgad2c700">
|
|
<p>
|
|
<a href="./doom.html">Doom Emacs</a> configuration
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc505d2b" class="outline-4">
|
|
<h4 id="orgc505d2b">SpellCheck with Aspell</h4>
|
|
<div class="outline-text-4" id="text-orgc505d2b">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S aspell aspell-en aspell-fr
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org3b65def" class="outline-2">
|
|
<h2 id="org3b65def">SSH setup</h2>
|
|
<div class="outline-text-2" id="text-org3b65def">
|
|
</div>
|
|
<div id="outline-container-orgd15f6cf" class="outline-3">
|
|
<h3 id="orgd15f6cf">Generating a new SSH key</h3>
|
|
<div class="outline-text-3" id="text-orgd15f6cf">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">ssh-keygen -t rsa -b 4096 -C "dehaeze.thomas@gmail.com"
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org042eeea" class="outline-3">
|
|
<h3 id="org042eeea">Start the ssh-agent in the background</h3>
|
|
<div class="outline-text-3" id="text-org042eeea">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">eval "$(ssh-agent -s)"
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org0e496d1" class="outline-3">
|
|
<h3 id="org0e496d1">Add the SSH key to the ssh-agent</h3>
|
|
<div class="outline-text-3" id="text-org0e496d1">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">ssh-add ~/.ssh/id_rsa
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org2c03bcf" class="outline-2">
|
|
<h2 id="org2c03bcf">GnuPG</h2>
|
|
<div class="outline-text-2" id="text-org2c03bcf">
|
|
<p>
|
|
<a href="https://gnupg.org/">https://gnupg.org/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgbee104f" class="outline-3">
|
|
<h3 id="orgbee104f">Install the gnupg package:</h3>
|
|
<div class="outline-text-3" id="text-orgbee104f">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S gnupg
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8b3578c" class="outline-3">
|
|
<h3 id="org8b3578c">Create a key pair</h3>
|
|
<div class="outline-text-3" id="text-org8b3578c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">gpg --full-gen-key
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgca72689" class="outline-3">
|
|
<h3 id="orgca72689">Configure the gpg-agent to cache the passphrase</h3>
|
|
<div class="outline-text-3" id="text-orgca72689">
|
|
<p>
|
|
Edit the following file <code>~/.gnupg/gpg-agent.conf</code>
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">default-cache-ttl 60480000
|
|
max-cache-ttl 60480000
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org22a2b63" class="outline-3">
|
|
<h3 id="org22a2b63">Gnome-Keyring and automatic GnuPG key unlocking</h3>
|
|
<div class="outline-text-3" id="text-org22a2b63">
|
|
<p>
|
|
Note: GNOME users, and by extension any gnome-keyring user may have to follow the instructions at the end of the previous section on enabling autologin.
|
|
</p>
|
|
|
|
<p>
|
|
Alternative: <a href="https://github.com/cruegge/pam-gnupg">https://github.com/cruegge/pam-gnupg</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org112924a" class="outline-2">
|
|
<h2 id="org112924a">Launcher - Rofi</h2>
|
|
<div class="outline-text-2" id="text-org112924a">
|
|
<p>
|
|
<a href="https://github.com/DaveDavenport/rofi">https://github.com/DaveDavenport/rofi</a>
|
|
</p>
|
|
|
|
<p>
|
|
Alternative:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><code>dmenu</code> is sometimes used</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="outline-container-org540aa6f" class="outline-3">
|
|
<h3 id="org540aa6f">Installation</h3>
|
|
<div class="outline-text-3" id="text-org540aa6f">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S rofi
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfa1b87e" class="outline-3">
|
|
<h3 id="orgfa1b87e">Setup rofi as a dmenu replacement</h3>
|
|
<div class="outline-text-3" id="text-orgfa1b87e">
|
|
<p>
|
|
Setup rofi as a dmenu replacement in <code>~/.i3/config</code>:
|
|
</p>
|
|
<pre class="example">
|
|
bindsym $mod+d exec --no-startup-id rofi -show run
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org2a65fe9" class="outline-3">
|
|
<h3 id="org2a65fe9">Run sudo commands with rofi</h3>
|
|
<div class="outline-text-3" id="text-org2a65fe9">
|
|
<p>
|
|
<a href="https://github.com/DaveDavenport/rofi/issues/584#issuecomment-384555551">https://github.com/DaveDavenport/rofi/issues/584#issuecomment-384555551</a>
|
|
</p>
|
|
|
|
<p>
|
|
Use <code>sudo -A</code>, that will open a rofi prompt to ask for the password.
|
|
</p>
|
|
|
|
<p>
|
|
For that to work, we need to add the following code to <code>~/.profile</code>:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">export SUDO_ASKPASS=~/.local/bin/askpass-rofi
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
The <code>askpass</code> script is:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">#!/bin/sh
|
|
|
|
# Take password prompt from STDIN, print password to STDOUT
|
|
# the sed piece just removes the colon from the provided
|
|
# prompt: rofi -p already gives us a colon
|
|
rofi -dmenu \
|
|
-password \
|
|
-no-fixed-num-lines \
|
|
-p "$(printf "$1" | sed s/://)"
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org3f80257" class="outline-2">
|
|
<h2 id="org3f80257">Password Manager: Pass</h2>
|
|
<div class="outline-text-2" id="text-org3f80257">
|
|
<p>
|
|
<a href="https://www.passwordstore.org/">https://www.passwordstore.org/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd91e35c" class="outline-3">
|
|
<h3 id="orgd91e35c">Install the pass package</h3>
|
|
<div class="outline-text-3" id="text-orgd91e35c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pass
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org773d9d2" class="outline-3">
|
|
<h3 id="org773d9d2">Initialize the password store as a git repository</h3>
|
|
<div class="outline-text-3" id="text-org773d9d2">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">pass git init
|
|
pass git remote add origin https://github.com/tdehaeze/pass.git
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgcdb546e" class="outline-3">
|
|
<h3 id="orgcdb546e">Gui Manager</h3>
|
|
<div class="outline-text-3" id="text-orgcdb546e">
|
|
<p>
|
|
<a href="https://github.com/IJHack/qtpass">https://github.com/IJHack/qtpass</a>
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S qtpass
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org6910ece" class="outline-3">
|
|
<h3 id="org6910ece">Integration with Rofi</h3>
|
|
<div class="outline-text-3" id="text-org6910ece">
|
|
<p>
|
|
<a href="https://github.com/carnager/rofi-pass">https://github.com/carnager/rofi-pass</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org8dca71a" class="outline-4">
|
|
<h4 id="org8dca71a">Installation</h4>
|
|
<div class="outline-text-4" id="text-org8dca71a">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S rofi-pass
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Then we can add a shortcut to <code>rofi-pass</code> on i3 config.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org73e6356" class="outline-4">
|
|
<h4 id="org73e6356">Alternative</h4>
|
|
<div class="outline-text-4" id="text-org73e6356">
|
|
<p>
|
|
<a href="https://github.com/ibizaman/pass-clip">https://github.com/ibizaman/pass-clip</a>
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pass-clip
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga706463" class="outline-3">
|
|
<h3 id="orga706463">Integration with Browsers</h3>
|
|
<div class="outline-text-3" id="text-orga706463">
|
|
<p>
|
|
This is explained <a href="#org6584834">here</a>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9d8f943" class="outline-3">
|
|
<h3 id="org9d8f943">Integration with Git</h3>
|
|
<div class="outline-text-3" id="text-org9d8f943">
|
|
<p>
|
|
<a href="https://github.com/languitar/pass-git-helper">https://github.com/languitar/pass-git-helper</a>
|
|
</p>
|
|
</div>
|
|
<div id="outline-container-org9c42329" class="outline-4">
|
|
<h4 id="org9c42329">Installation</h4>
|
|
<div class="outline-text-4" id="text-org9c42329">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pass-git-helper
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org4c68592" class="outline-4">
|
|
<h4 id="org4c68592">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org4c68592">
|
|
<p>
|
|
First, add the relation between repository addresses and entries in <code>pass</code>. This is done in the following config file <code>.config/pass-git-helper/git-pass-mapping.ini</code>:
|
|
</p>
|
|
<pre class="example">
|
|
[github.com*]
|
|
target=github.com/tdehaeze
|
|
</pre>
|
|
|
|
<p>
|
|
Then, add the credential helper on the git configuration file <code>~/.gitconfig</code> and add the default username for the repositories adresses.
|
|
</p>
|
|
<pre class="example">
|
|
[credential]
|
|
helper = !pass-git-helper $@
|
|
|
|
[credential "https://github.com"]
|
|
username = tdehaeze
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org12ea2b3" class="outline-3">
|
|
<h3 id="org12ea2b3">Integration with other programs</h3>
|
|
<div class="outline-text-3" id="text-org12ea2b3">
|
|
<p>
|
|
Integrate pass in other programs is usually very easy, here are few examples:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><code>~/.msmtprc</code>:
|
|
<ul class="org-ul">
|
|
<li><code>passwordeval "pass email/dehaeze.thomas@gmail.com"</code></li>
|
|
</ul></li>
|
|
<li><code>~/.mbsyncrc</code>
|
|
<ul class="org-ul">
|
|
<li><code>PassCmd "pass email/dehaeze.thomas@gmail.com"</code></li>
|
|
</ul></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org97a1606" class="outline-3">
|
|
<h3 id="org97a1606">Alternative - Bitwarden</h3>
|
|
<div class="outline-text-3" id="text-org97a1606">
|
|
<p>
|
|
Bitwarden <a href="https://github.com/bitwarden/cli">https://github.com/bitwarden/cli</a>
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -Ss bitwarden-bin bitwarden-cli-bin
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga930e16" class="outline-2">
|
|
<h2 id="orga930e16">Bookmark Manager: Buku</h2>
|
|
<div class="outline-text-2" id="text-orga930e16">
|
|
<p>
|
|
<a href="https://github.com/jarun/Buku">https://github.com/jarun/Buku</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org8aba07b" class="outline-3">
|
|
<h3 id="org8aba07b">Installation</h3>
|
|
<div class="outline-text-3" id="text-org8aba07b">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S buku
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9433044" class="outline-3">
|
|
<h3 id="org9433044">Integration with Rofi</h3>
|
|
<div class="outline-text-3" id="text-org9433044">
|
|
<p>
|
|
<a href="https://github.com/carnager/buku_run">https://github.com/carnager/buku_run</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org356577d" class="outline-4">
|
|
<h4 id="org356577d">Installation</h4>
|
|
<div class="outline-text-4" id="text-org356577d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">wget https://raw.githubusercontent.com/carnager/buku_run/master/buku_run -o ~/.local/bin/buku_run
|
|
chmod +x ~/.local/bin/buku_run
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org583dde0" class="outline-4">
|
|
<h4 id="org583dde0">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org583dde0">
|
|
<p>
|
|
The configuration file is here: <code>~/.config/buku_run/config</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org83a5380" class="outline-3">
|
|
<h3 id="org83a5380">Integration with qutebrowser</h3>
|
|
<div class="outline-text-3" id="text-org83a5380">
|
|
<p>
|
|
<a href="#org80f078a">Integration with Buku</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9b6ade4" class="outline-3">
|
|
<h3 id="org9b6ade4">Synchronization with a git repository</h3>
|
|
<div class="outline-text-3" id="text-org9b6ade4">
|
|
<p>
|
|
The database is stored in <code>~/.local/share/buku/bookmarks.db</code>.
|
|
</p>
|
|
|
|
<p>
|
|
We initialize a git repository in this folder:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">cd ~/.local/share/buku/bookmarks.db
|
|
git init
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Then we create a script that will automatically add <code>bookmarks.db</code> and push to some repository: <code>buku_git_push</code>.
|
|
</p>
|
|
|
|
<p>
|
|
To automatically run the script every day, a systemd unit is used: <code>~/.config/systemd/user/bukugit.timer</code> and <code>~/.config/systemd/user/bukugit.service</code>
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">systemctl start --user bukugit.timer
|
|
systemctl enable --user bukugit.timer
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org36fe5a4" class="outline-3">
|
|
<h3 id="org36fe5a4">Import Bookmarks from Firefox and Chrome</h3>
|
|
<div class="outline-text-3" id="text-org36fe5a4">
|
|
<p>
|
|
From Firefox, export the bookmarks as html file.
|
|
Then import the bookmark file using <code>buku -i bookmarks.html</code>.
|
|
This will add a tag with current date to all bookmarks imported.
|
|
To remove them, use: <code>buku --replace '2018dec20' ''</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org78c87c7" class="outline-3">
|
|
<h3 id="org78c87c7">Web Interface</h3>
|
|
<div class="outline-text-3" id="text-org78c87c7">
|
|
<p>
|
|
Run:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">bukuserver run --host 127.0.0.1 --port 5001
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
And then browse to <a href="http://127.0.0.1:5001">http://127.0.0.1:5001</a>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc5a5068" class="outline-3">
|
|
<h3 id="orgc5a5068">Cheatsheet</h3>
|
|
<div class="outline-text-3" id="text-orgc5a5068">
|
|
<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 <></code></td>
|
|
<td class="org-left">Search bookmarks</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf6ea210" class="outline-3">
|
|
<h3 id="orgf6ea210">Alternatives</h3>
|
|
<div class="outline-text-3" id="text-orgf6ea210">
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/RadhiFadlillah/shiori">https://github.com/RadhiFadlillah/shiori</a></li>
|
|
<li><a href="https://karl-voit.at/2014/08/10/bookmarks-with-orgmode/">https://karl-voit.at/2014/08/10/bookmarks-with-orgmode/</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgcd36b0e" class="outline-2">
|
|
<h2 id="orgcd36b0e">Browser: qutebrowser</h2>
|
|
<div class="outline-text-2" id="text-orgcd36b0e">
|
|
<p>
|
|
<a href="https://github.com/qutebrowser/qutebrowser">https://github.com/qutebrowser/qutebrowser</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orga6a8a59" class="outline-3">
|
|
<h3 id="orga6a8a59">Installation</h3>
|
|
<div class="outline-text-3" id="text-orga6a8a59">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S qutebrowser
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org19bf35d" class="outline-3">
|
|
<h3 id="org19bf35d">View Pdf inside qutebrowser with pdfjs</h3>
|
|
<div class="outline-text-3" id="text-org19bf35d">
|
|
</div>
|
|
<div id="outline-container-org15b3f3d" class="outline-4">
|
|
<h4 id="org15b3f3d">Installation</h4>
|
|
<div class="outline-text-4" id="text-org15b3f3d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pdfjs
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd942fb5" class="outline-4">
|
|
<h4 id="orgd942fb5">Usage</h4>
|
|
<div class="outline-text-4" id="text-orgd942fb5">
|
|
<p>
|
|
When opening a pdf file on qutebrowser, you’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><return></code></td>
|
|
<td class="org-left">Download the file</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl-x</code></td>
|
|
<td class="org-left">Download and open</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl-p</code></td>
|
|
<td class="org-left">Open with pdf.js</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Alt-y</code></td>
|
|
<td class="org-left">Yank the url</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org6584834" class="outline-3">
|
|
<h3 id="org6584834">Integration with Pass: the password manager</h3>
|
|
<div class="outline-text-3" id="text-org6584834">
|
|
<p>
|
|
Add the key-binding on <code>~/.config/qutebrowser/config.py</code>
|
|
</p>
|
|
|
|
<pre class="example">
|
|
config.bind(',p', 'spawn --userscript password_fill')
|
|
</pre>
|
|
|
|
<p>
|
|
The <code>password_fill</code> script can be found on <a href="https://github.com/qutebrowser/qutebrowser/blob/master/misc/userscripts/password_fill">github.com</a>.
|
|
It is configured using the <code>~/.config/qutebrowser/password_fill_rc</code> file.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org80f078a" class="outline-3">
|
|
<h3 id="org80f078a">Integration with Buku</h3>
|
|
<div class="outline-text-3" id="text-org80f078a">
|
|
<p>
|
|
Custom key binding in <code>~/.config/qutebrowser/config.py</code>
|
|
</p>
|
|
|
|
<pre class="example">
|
|
# Add current page to Buku (Bookmark Manager)
|
|
config.bind('B', 'spawn buku -a {url}')
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgac053cd" class="outline-3">
|
|
<h3 id="orgac053cd">Spell Checking</h3>
|
|
<div class="outline-text-3" id="text-orgac053cd">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">/usr/share/qutebrowser/scripts/dictcli.py install fr-FR
|
|
/usr/share/qutebrowser/scripts/dictcli.py install en-US
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgbb01a74" class="outline-2">
|
|
<h2 id="orgbb01a74">Monitors</h2>
|
|
<div class="outline-text-2" id="text-orgbb01a74">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S xorg-xrandr arandr
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/Xrandr">Xrandr</a> is used in shell scripts (<a href="https://github.com/Ventto/mons">mons</a> could be used as a layer on top of Xrandr).
|
|
<a href="https://christian.amsuess.com/tools/arandr/">Arandr</a> is a GUI application to manage monitors.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgdd696ca" class="outline-2">
|
|
<h2 id="orgdd696ca">Sound Setup</h2>
|
|
<div class="outline-text-2" id="text-orgdd696ca">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pulseaudio pavucontrol
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf663e2c" class="outline-2">
|
|
<h2 id="orgf663e2c">Music Setup</h2>
|
|
<div class="outline-text-2" id="text-orgf663e2c">
|
|
</div>
|
|
<div id="outline-container-orgca67e38" class="outline-3">
|
|
<h3 id="orgca67e38">Sound Server - Pulse Audio</h3>
|
|
<div class="outline-text-3" id="text-orgca67e38">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/PulseAudio">https://wiki.archlinux.org/index.php/PulseAudio</a>
|
|
</p>
|
|
|
|
<p>
|
|
Install
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pulseaudio pulseaudio-alsa pulseaudio-bluetooth
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
If sound is not working, should run <code>pulseaudio --kill</code> to kill the deamon and then <code>pulseaudio --daemonize</code> to run it again.
|
|
</p>
|
|
|
|
<p>
|
|
<a href="https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Running/">https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Running/</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga059c69" class="outline-3">
|
|
<h3 id="orga059c69">Audio Server - MPD</h3>
|
|
<div class="outline-text-3" id="text-orga059c69">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/Music_Player_Daemon">https://wiki.archlinux.org/index.php/Music_Player_Daemon</a>
|
|
</p>
|
|
|
|
<p>
|
|
=> Now Mopidy is used instead of MPD
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org3b01cc3" class="outline-4">
|
|
<h4 id="org3b01cc3">Installation</h4>
|
|
<div class="outline-text-4" id="text-org3b01cc3">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S mpd
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd1fe283" class="outline-4">
|
|
<h4 id="orgd1fe283">Automatic Startup</h4>
|
|
<div class="outline-text-4" id="text-orgd1fe283">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">systemctl start --user mpd.service
|
|
systemctl enable --user mpd.service
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9d7f2b2" class="outline-4">
|
|
<h4 id="org9d7f2b2">Command line interface to MPD - MPC</h4>
|
|
<div class="outline-text-4" id="text-org9d7f2b2">
|
|
<p>
|
|
<a href="https://github.com/MusicPlayerDaemon/mpc">https://github.com/MusicPlayerDaemon/mpc</a>
|
|
</p>
|
|
|
|
<p>
|
|
To install mpc: <code>yay -S mpc</code>.
|
|
</p>
|
|
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Command</th>
|
|
<th scope="col" class="org-left">Usage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>mpc update</code></td>
|
|
<td class="org-left">Update the library</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>mpc rescan</code></td>
|
|
<td class="org-left">Rescan the library</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org1e108b3" class="outline-3">
|
|
<h3 id="org1e108b3">Audio Server with Spotify - Mopidy</h3>
|
|
<div class="outline-text-3" id="text-org1e108b3">
|
|
<p>
|
|
<a href="https://github.com/mopidy/mopidy">https://github.com/mopidy/mopidy</a>
|
|
<a href="https://medium.com/@theos.space/using-mopidy-with-spotify-and-ncmpcpp-44352f4a2ce8">https://medium.com/@theos.space/using-mopidy-with-spotify-and-ncmpcpp-44352f4a2ce8</a>
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S mopidy mopidy-spotify mopidy-mpd
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
To update local files:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">mopidy local scan
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
If mopidy is used, MPD should be disabled. (<code>systemctl disable --user mpd.service</code>)
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org2f6dbef" class="outline-3">
|
|
<h3 id="org2f6dbef">MPD Client - ncmpcpp</h3>
|
|
<div class="outline-text-3" id="text-org2f6dbef">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/Ncmpcpp">https://wiki.archlinux.org/index.php/Ncmpcpp</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org218054a" class="outline-4">
|
|
<h4 id="org218054a">Installation</h4>
|
|
<div class="outline-text-4" id="text-org218054a">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S ncmpcpp
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org13eb9cf" class="outline-4">
|
|
<h4 id="org13eb9cf">Config</h4>
|
|
<div class="outline-text-4" id="text-org13eb9cf">
|
|
<p>
|
|
The main config is located here: <code>~/.ncmpcpp/config</code>.
|
|
The key bindings can be configured here: <code>~/.ncmpcpp/bindings</code>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgac6996d" class="outline-4">
|
|
<h4 id="orgac6996d">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-orgac6996d">
|
|
<p>
|
|
<a href="https://pkgbuild.com/~jelle/ncmpcpp/">https://pkgbuild.com/~jelle/ncmpcpp/</a>
|
|
</p>
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left">Command</td>
|
|
<td class="org-left">Usage</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org5e8ee53" class="outline-3">
|
|
<h3 id="org5e8ee53">Library Manager - beets</h3>
|
|
<div class="outline-text-3" id="text-org5e8ee53">
|
|
<p>
|
|
<a href="https://github.com/beetbox/beets">https://github.com/beetbox/beets</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgedb186c" class="outline-4">
|
|
<h4 id="orgedb186c">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgedb186c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S beets
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb55dd1e" class="outline-4">
|
|
<h4 id="orgb55dd1e">Configuration</h4>
|
|
<div class="outline-text-4" id="text-orgb55dd1e">
|
|
<p>
|
|
Configuration folder: <code>~/.config/beets/</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org0b1aaa3" class="outline-4">
|
|
<h4 id="org0b1aaa3">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-org0b1aaa3">
|
|
<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 <folder></code></td>
|
|
<td class="org-left">Import folder to Music folder</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf6cba2f" class="outline-2">
|
|
<h2 id="orgf6cba2f">Movies</h2>
|
|
<div class="outline-text-2" id="text-orgf6cba2f">
|
|
</div>
|
|
<div id="outline-container-orgefd106a" class="outline-3">
|
|
<h3 id="orgefd106a">Media Player - MPV</h3>
|
|
<div class="outline-text-3" id="text-orgefd106a">
|
|
</div>
|
|
<div id="outline-container-orgb9e6353" class="outline-4">
|
|
<h4 id="orgb9e6353">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgb9e6353">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S mpv
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org93c4ad1" class="outline-4">
|
|
<h4 id="org93c4ad1">Key Bindings</h4>
|
|
<div class="outline-text-4" id="text-org93c4ad1">
|
|
<p>
|
|
The configuration is set in <code>/.config/mpv/input.conf</code>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org06e36f6" class="outline-4">
|
|
<h4 id="org06e36f6">CheatSheet</h4>
|
|
<div class="outline-text-4" id="text-org06e36f6">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left">Command</td>
|
|
<td class="org-left">Usage</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7e8b7d9" class="outline-3">
|
|
<h3 id="org7e8b7d9">Chromecast with CATT</h3>
|
|
<div class="outline-text-3" id="text-org7e8b7d9">
|
|
<p>
|
|
<a href="https://github.com/skorokithakis/catt">https://github.com/skorokithakis/catt</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf5660af" class="outline-4">
|
|
<h4 id="orgf5660af">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgf5660af">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S catt
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8918c8f" class="outline-4">
|
|
<h4 id="org8918c8f">Usage to cast videos to chromecast</h4>
|
|
<div class="outline-text-4" id="text-org8918c8f">
|
|
<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 “<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">https://www.youtube.com/watch?v=dQw4w9WgXcQ</a>”</td>
|
|
<td class="org-left">Cast youtube video</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">catt cast ./myvideo.mp4</td>
|
|
<td class="org-left">Cast local video</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">catt add ./myvideo.mp4</td>
|
|
<td class="org-left">Add a video to the queue</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">catt cast -s ./mysubtitle.srt /myvideo.mp4</td>
|
|
<td class="org-left">Add sub title</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">catt cast_site <a href="https://en.wikipedia.org/wiki/Rickrolling">https://en.wikipedia.org/wiki/Rickrolling</a></td>
|
|
<td class="org-left">Cast website</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb4960ce" class="outline-4">
|
|
<h4 id="orgb4960ce">Usage for controlling the device</h4>
|
|
<div class="outline-text-4" id="text-orgb4960ce">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Command</th>
|
|
<th scope="col" class="org-left">Usage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left">ffwd</td>
|
|
<td class="org-left">Fastforward a video by TIME duration</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">rewind</td>
|
|
<td class="org-left">Rewind a video by TIME duration</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">seek</td>
|
|
<td class="org-left">Seek the video to TIME position</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">scan</td>
|
|
<td class="org-left">Scan the local network and show all Chromecasts and their IPs</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">status</td>
|
|
<td class="org-left">Show some information about the currently-playing video</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">pause</td>
|
|
<td class="org-left">Pause a video</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">play</td>
|
|
<td class="org-left">Resume a video after it has been paused</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">stop</td>
|
|
<td class="org-left">Stop playing</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">skip</td>
|
|
<td class="org-left">Skip to end of content</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">save</td>
|
|
<td class="org-left">Save the current state of the Chromecast for later use</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">restore</td>
|
|
<td class="org-left">Return Chromecast to saved state</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">volume</td>
|
|
<td class="org-left">Set the volume to LVL [0-100]</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">volumedown</td>
|
|
<td class="org-left">Turn down volume by a DELTA increment</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">volumeup</td>
|
|
<td class="org-left">Turn up volume by a DELTA increment</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org4491afa" class="outline-2">
|
|
<h2 id="org4491afa">Contact Manager</h2>
|
|
<div class="outline-text-2" id="text-org4491afa">
|
|
</div>
|
|
<div id="outline-container-org6743e8a" class="outline-3">
|
|
<h3 id="org6743e8a">Google Conctacts: Khard</h3>
|
|
<div class="outline-text-3" id="text-org6743e8a">
|
|
<p>
|
|
<a href="https://github.com/scheibler/khard">https://github.com/scheibler/khard</a>
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -Ss khard
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
This is the command line interface for contact management.
|
|
</p>
|
|
|
|
<p>
|
|
Contact synchronization:
|
|
Vdirsyncer is used for contact synchronization with Google.
|
|
</p>
|
|
|
|
<p>
|
|
To search with Khard: <code>khard <conctact-name></code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgbb843bf" class="outline-3">
|
|
<h3 id="orgbb843bf">Mu</h3>
|
|
<div class="outline-text-3" id="text-orgbb843bf">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -Ss mu
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
This looks for contacts in all indexed emails.
|
|
<code>mu cfind <name></code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc449e74" class="outline-2">
|
|
<h2 id="orgc449e74">Connect with Phone</h2>
|
|
<div class="outline-text-2" id="text-orgc449e74">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S kdeconnect
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="outline-container-orgae1cf07" class="outline-2">
|
|
<h2 id="orgae1cf07">Chat Application - Weechat</h2>
|
|
<div class="outline-text-2" id="text-orgae1cf07">
|
|
<p>
|
|
<a href="https://weechat.org/files/doc/stable/weechat_user.en.html">https://weechat.org/files/doc/stable/weechat_user.en.html</a>
|
|
<a href="https://wiki.archlinux.org/index.php/WeeChat">https://wiki.archlinux.org/index.php/WeeChat</a>
|
|
<a href="https://gist.github.com/pascalpoitras/8406501">https://gist.github.com/pascalpoitras/8406501</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org76f00db" class="outline-3">
|
|
<h3 id="org76f00db">Installation</h3>
|
|
<div class="outline-text-3" id="text-org76f00db">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S weechat
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Then we install some dependencies
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S tcl lua ruby
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga3545e9" class="outline-3">
|
|
<h3 id="orga3545e9">Enable mouse support</h3>
|
|
<div class="outline-text-3" id="text-orga3545e9">
|
|
<div class="org-src-container">
|
|
<pre class="src src-text">/mouse enable
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org911e926" class="outline-3">
|
|
<h3 id="org911e926">Scripts</h3>
|
|
<div class="outline-text-3" id="text-org911e926">
|
|
<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"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">colorize_nicks.py</td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">go.py</td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">autosort.py</td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">buddylist.pl</td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">colorize_lines.pl</td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">multiline.pl</td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org3a1e307" class="outline-3">
|
|
<h3 id="org3a1e307">Theme</h3>
|
|
<div class="outline-text-3" id="text-org3a1e307">
|
|
<p>
|
|
<a href="https://www.bfoliver.com/technology/2017/07/15/weechat/">https://www.bfoliver.com/technology/2017/07/15/weechat/</a>
|
|
<a href="https://alexjj.com/blog/2016/9/setting-up-weechat/">https://alexjj.com/blog/2016/9/setting-up-weechat/</a>
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">/set weechat.look.prefix_same_nick "⤷"
|
|
/set weechat.look.prefix_error "⚠"
|
|
/set weechat.look.prefix_action "⚡"
|
|
/set weechat.look.bar_more_down "▼▼"
|
|
/set weechat.look.bar_more_left "◀◀"
|
|
/set weechat.look.bar_more_right "▶▶"
|
|
/set weechat.look.bar_more_up "▲▲"
|
|
/set weechat.look.prefix_suffix "╡"
|
|
/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
|
|
/set weechat.color.separator 31
|
|
/set buffers.color.current_fg 31
|
|
/set buffers.color.current_bg white
|
|
/set buffers.color.hotlist_message_fg 229
|
|
/set buffers.color.hotlist_private_fg 121
|
|
/set buffers.color.hotlist_highlight_fg 163
|
|
/set buffers.color.number 239
|
|
/set buffers.color.number_char 245
|
|
/set weechat.bar.title.conditions "${inactive}"
|
|
/set weechat.bar.title.color_fg black
|
|
/set weechat.bar.title.color_bg 31 #Or white if 31 does nothing
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org095b635" class="outline-3">
|
|
<h3 id="org095b635">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org095b635">
|
|
<p>
|
|
<a href="https://hugo.md/post/the-perfect-weechat-setup-2/">https://hugo.md/post/the-perfect-weechat-setup-2/</a>
|
|
<a href="https://robots.thoughtbot.com/weechat-for-slacks-irc-gateway">https://robots.thoughtbot.com/weechat-for-slacks-irc-gateway</a>
|
|
</p>
|
|
|
|
<p>
|
|
Use the command <code>/fset</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org2cc2568" class="outline-3">
|
|
<h3 id="org2cc2568">Multi-line messages</h3>
|
|
<div class="outline-text-3" id="text-org2cc2568">
|
|
<p>
|
|
Solution is provided here: <a href="https://github.com/wee-slack/wee-slack/issues/118">https://github.com/wee-slack/wee-slack/issues/118</a>
|
|
It uses <a href="https://weechat.org/scripts/source/multiline.pl.html/">multiline.pl</a> script.
|
|
Then alt-enter is bound to insert a new line:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">/set plugins.var.perl.multiline.magic_paste_only on
|
|
/key bind meta-ctrl-M /input insert \x0a
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
And enter is bound to <code>magic_enter</code> that directly sends the message if its one line, and if its multiple line, waits a little bit and then sends the message:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">/key bind ctrl-M /input magic_enter
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org787350d" class="outline-3">
|
|
<h3 id="org787350d">Send message using <code>$EDITOR</code></h3>
|
|
<div class="outline-text-3" id="text-org787350d">
|
|
<p>
|
|
<a href="https://github.com/keith/edit-weechat">https://github.com/keith/edit-weechat</a>
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">mkdir -p ~/.weechat/python/autoload
|
|
cd ~/.weechat/python/autoload
|
|
wget https://raw.githubusercontent.com/keith/edit-weechat/master/edit.py
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Then, on weechat, type <code>/edit</code>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org173cef7" class="outline-3">
|
|
<h3 id="org173cef7">CheatSheet</h3>
|
|
<div class="outline-text-3" id="text-org173cef7">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Command</th>
|
|
<th scope="col" class="org-left">Usage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>Ctlr-N</code></td>
|
|
<td class="org-left">Next channel</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctlr-P</code></td>
|
|
<td class="org-left">Previous channel</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Esc-n</code></td>
|
|
<td class="org-left">Toggle nicklist</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>alt-ent</code></td>
|
|
<td class="org-left">New line</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org6c35765" class="outline-3">
|
|
<h3 id="org6c35765">Slack Integration</h3>
|
|
<div class="outline-text-3" id="text-org6c35765">
|
|
<p>
|
|
<a href="https://github.com/wee-slack/wee-slack">https://github.com/wee-slack/wee-slack</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org1fa667a" class="outline-4">
|
|
<h4 id="org1fa667a">Installation</h4>
|
|
<div class="outline-text-4" id="text-org1fa667a">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S python2-websocket-client
|
|
</pre>
|
|
</div>
|
|
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">cd ~/.weechat/python
|
|
wget https://raw.githubusercontent.com/wee-slack/wee-slack/master/wee_slack.py
|
|
ln -s ../wee_slack.py autoload
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orge6cfed8" class="outline-4">
|
|
<h4 id="orge6cfed8">Add your Slack API key(s)</h4>
|
|
<div class="outline-text-4" id="text-orge6cfed8">
|
|
<p>
|
|
Log in to Slack:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">/slack register
|
|
</pre>
|
|
</div>
|
|
<p>
|
|
This command prints a link you should open in your browser to authorize WeeChat with Slack. Once you’ve accomplished this, copy the “code” portion of the URL in the browser and pass it to this command:
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">/slack register [CODE_FROM_URL]
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Your Slack team is now added, and you can complete setup by restarting the wee-slack script.
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">/python reload slack
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
If you don’t want to store your API token in plaintext you can use the secure features of weechat:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">/secure passphrase this is a super secret password
|
|
/secure set slack_token [YOUR_SLACK_TOKEN]
|
|
/set plugins.var.python.slack.slack_api_token ${sec.data.slack_token}
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8d8e767" class="outline-3">
|
|
<h3 id="org8d8e767">Aspell</h3>
|
|
<div class="outline-text-3" id="text-org8d8e767">
|
|
<p>
|
|
<a href="https://blog.qoba.lt/using_aspell_in_weechat.html">https://blog.qoba.lt/using_aspell_in_weechat.html</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga197520" class="outline-3">
|
|
<h3 id="orga197520">Notifications</h3>
|
|
<div class="outline-text-3" id="text-orga197520">
|
|
<p>
|
|
<a href="https://github.com/s3rvac/weechat-notify-send">https://github.com/s3rvac/weechat-notify-send</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9011647" class="outline-3">
|
|
<h3 id="org9011647">Deamon and Client</h3>
|
|
<div class="outline-text-3" id="text-org9011647">
|
|
<p>
|
|
Weechat is started with the systemd service <code>weechat</code>.
|
|
It runs weechat inside tmux.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org59959e5" class="outline-2">
|
|
<h2 id="org59959e5">Redshift</h2>
|
|
<div class="outline-text-2" id="text-org59959e5">
|
|
<p>
|
|
<a href="http://jonls.dk/redshift/">http://jonls.dk/redshift/</a>
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S redshift
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org22cb76b" class="outline-2">
|
|
<h2 id="org22cb76b">Mail Setup</h2>
|
|
<div class="outline-text-2" id="text-org22cb76b">
|
|
<p>
|
|
<a href="mail.html">Link</a> to the mail setup.
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orga2f7ae8" class="outline-3">
|
|
<h3 id="orga2f7ae8">Synchronize Mailboxes - Mbsync</h3>
|
|
<div class="outline-text-3" id="text-orga2f7ae8">
|
|
<p>
|
|
<a href="http://isync.sourceforge.net/">http://isync.sourceforge.net/</a>
|
|
<a href="https://wiki.archlinux.org/index.php/Isync">https://wiki.archlinux.org/index.php/Isync</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orga0f77c9" class="outline-4">
|
|
<h4 id="orga0f77c9">Installation</h4>
|
|
<div class="outline-text-4" id="text-orga0f77c9">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S isync
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9ae4a4b" class="outline-4">
|
|
<h4 id="org9ae4a4b">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org9ae4a4b">
|
|
<p>
|
|
<code>~/.mbsyncrc</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org091420a" class="outline-4">
|
|
<h4 id="org091420a">Automation using systemd</h4>
|
|
<div class="outline-text-4" id="text-org091420a">
|
|
</div>
|
|
<div id="outline-container-org22bf4a3" class="outline-5">
|
|
<h5 id="org22bf4a3">Retreive New mails</h5>
|
|
<div class="outline-text-5" id="text-org22bf4a3">
|
|
<ul class="org-ul">
|
|
<li><code>checkmail</code></li>
|
|
<li><code>~/.config/systemd/user/checkmail.service</code></li>
|
|
<li><code>~/.config/systemd/user/checkmail.timer</code></li>
|
|
</ul>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">systemctl --user enable checkmail.timer
|
|
systemctl --user start checkmail.timer
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org4485ffc" class="outline-5">
|
|
<h5 id="org4485ffc">Synchronize all the mailboxes</h5>
|
|
<div class="outline-text-5" id="text-org4485ffc">
|
|
<ul class="org-ul">
|
|
<li><code>~/.config/systemd/user/syncmail.service</code></li>
|
|
<li><code>~/.config/systemd/user/syncmail.timer</code></li>
|
|
</ul>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">systemctl --user enable syncmail.timer
|
|
systemctl --user start syncmail.timer
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd42b5cc" class="outline-3">
|
|
<h3 id="orgd42b5cc">Send Mails - Msmtp</h3>
|
|
<div class="outline-text-3" id="text-orgd42b5cc">
|
|
<p>
|
|
<a href="https://marlam.de/msmtp/">https://marlam.de/msmtp/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org5e4799d" class="outline-4">
|
|
<h4 id="org5e4799d">Installation</h4>
|
|
<div class="outline-text-4" id="text-org5e4799d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S msmtp
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgaa1d87d" class="outline-3">
|
|
<h3 id="orgaa1d87d">Mail Index, Search and Tagging - Mu</h3>
|
|
<div class="outline-text-3" id="text-orgaa1d87d">
|
|
<p>
|
|
<a href="https://github.com/djcb/mu">https://github.com/djcb/mu</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org01b358c" class="outline-3">
|
|
<h3 id="org01b358c">Mail Client - NeoMutt</h3>
|
|
<div class="outline-text-3" id="text-org01b358c">
|
|
<p>
|
|
<a href="https://github.com/neomutt/neomutt">https://github.com/neomutt/neomutt</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org161c822" class="outline-4">
|
|
<h4 id="org161c822">Installation</h4>
|
|
<div class="outline-text-4" id="text-org161c822">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S neomutt
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org5d1a0f8" class="outline-4">
|
|
<h4 id="org5d1a0f8">Display html mails</h4>
|
|
<div class="outline-text-4" id="text-org5d1a0f8">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S w3m
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org74a5138" class="outline-4">
|
|
<h4 id="org74a5138">Open Url from mail</h4>
|
|
<div class="outline-text-4" id="text-org74a5138">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S urlview
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc93d15f" class="outline-4">
|
|
<h4 id="orgc93d15f">Ressources</h4>
|
|
<div class="outline-text-4" id="text-orgc93d15f">
|
|
<ul class="org-ul">
|
|
<li><a href="http://therandymon.com/woodnotes/mutt/using-mutt.html">http://therandymon.com/woodnotes/mutt/using-mutt.html</a></li>
|
|
<li><a href="https://ankursinha.in/2017/12/16/transitioning-to-neomutt-and-friends-for-e-mail.html">https://ankursinha.in/2017/12/16/transitioning-to-neomutt-and-friends-for-e-mail.html</a></li>
|
|
<li><a href="https://github.com/LukeSmithxyz/mutt-wizard">https://github.com/LukeSmithxyz/mutt-wizard</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd2ff9b9" class="outline-3">
|
|
<h3 id="orgd2ff9b9">Notification system</h3>
|
|
<div class="outline-text-3" id="text-orgd2ff9b9">
|
|
<p>
|
|
A script (<code>checkmail</code>) is used to retreive new mails and use <code>notify=send</code> is there are new received mails.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org720ae0a" class="outline-2">
|
|
<h2 id="org720ae0a">File Manager</h2>
|
|
<div class="outline-text-2" id="text-org720ae0a">
|
|
<p>
|
|
Configuration files:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li>GUI: <a href="pcmanfm.html">Pcmanfm</a></li>
|
|
<li>Terminal based: <a href="ranger.html">Ranger</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="outline-container-org5d755c6" class="outline-3">
|
|
<h3 id="org5d755c6">Ranger</h3>
|
|
<div class="outline-text-3" id="text-org5d755c6">
|
|
<p>
|
|
<a href="https://github.com/ranger/ranger">https://github.com/ranger/ranger</a>
|
|
</p>
|
|
</div>
|
|
<div id="outline-container-org12e2c07" class="outline-4">
|
|
<h4 id="org12e2c07">Installation</h4>
|
|
<div class="outline-text-4" id="text-org12e2c07">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S ranger
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org4343798" class="outline-4">
|
|
<h4 id="org4343798">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org4343798">
|
|
<p>
|
|
The configuration file is <code>~/.config/ranger/rc.conf</code>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org33e69a4" class="outline-4">
|
|
<h4 id="org33e69a4">Display pdf</h4>
|
|
<div class="outline-text-4" id="text-org33e69a4">
|
|
<p>
|
|
All the display of the files are defined in <code>~/.config/ranger/scope.sh</code>.
|
|
</p>
|
|
|
|
<p>
|
|
It seems that Ranger is not working well with Termite. The screen is not refreshing after viewing one image (<a href="https://github.com/ranger/ranger/issues/859">Github Issue</a>).
|
|
</p>
|
|
|
|
<p>
|
|
It works better with Urxvt.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf599bd2" class="outline-3">
|
|
<h3 id="orgf599bd2">GUI File Manager: pcmanfm</h3>
|
|
<div class="outline-text-3" id="text-orgf599bd2">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/PCManFM">https://wiki.archlinux.org/index.php/PCManFM</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgaef8696" class="outline-2">
|
|
<h2 id="orgaef8696">Image viewer</h2>
|
|
<div class="outline-text-2" id="text-orgaef8696">
|
|
</div>
|
|
<div id="outline-container-orgd0410fd" class="outline-3">
|
|
<h3 id="orgd0410fd">sxiv</h3>
|
|
<div class="outline-text-3" id="text-orgd0410fd">
|
|
<p>
|
|
<a href="https://github.com/muennich/sxiv">https://github.com/muennich/sxiv</a>
|
|
<a href="https://www.youtube.com/watch?v=GYW9i_u5PYs">https://www.youtube.com/watch?v=GYW9i_u5PYs</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org6898ac9" class="outline-4">
|
|
<h4 id="org6898ac9">Installation</h4>
|
|
<div class="outline-text-4" id="text-org6898ac9">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S sxiv
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org5547b47" class="outline-4">
|
|
<h4 id="org5547b47">Open Gif</h4>
|
|
<div class="outline-text-4" id="text-org5547b47">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">sxiv -a file.gif
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org559252e" class="outline-4">
|
|
<h4 id="org559252e">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-org559252e">
|
|
<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><</code>, <code>></code></td>
|
|
<td class="org-left">Rotate the image</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>\vert</code>, <code>_</code></td>
|
|
<td class="org-left">Flip the image</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>n</code>, <code>p</code></td>
|
|
<td class="org-left">Next, Previous image</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org5d4ed33" class="outline-2">
|
|
<h2 id="org5d4ed33">HotKeyManager - SXHKD</h2>
|
|
<div class="outline-text-2" id="text-org5d4ed33">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S sxhkd
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Configuration file: <a href="sxhkd.html">SXHKD</a>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org696f737" class="outline-2">
|
|
<h2 id="org696f737">Windows Manager - i3</h2>
|
|
<div class="outline-text-2" id="text-org696f737">
|
|
<p>
|
|
<a href="i3.html">Link</a> to the documentation
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orga336929" class="outline-3">
|
|
<h3 id="orga336929">Installation</h3>
|
|
<div class="outline-text-3" id="text-orga336929">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S i3-gaps
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org64641db" class="outline-3">
|
|
<h3 id="org64641db">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org64641db">
|
|
<p>
|
|
<code>~/.i3/config</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc0f389c" class="outline-2">
|
|
<h2 id="orgc0f389c">Polybar</h2>
|
|
<div class="outline-text-2" id="text-orgc0f389c">
|
|
<p>
|
|
<a href="https://polybar.github.io/">https://polybar.github.io/</a>
|
|
</p>
|
|
|
|
<p>
|
|
<a href="polybar.html">Link</a> to the documentation.
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd6a1857" class="outline-3">
|
|
<h3 id="orgd6a1857">Installation</h3>
|
|
<div class="outline-text-3" id="text-orgd6a1857">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S polybar
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org71d7099" class="outline-2">
|
|
<h2 id="org71d7099">Compositor - Picom</h2>
|
|
<div class="outline-text-2" id="text-org71d7099">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/Picom">https://wiki.archlinux.org/index.php/Picom</a>
|
|
</p>
|
|
|
|
<p>
|
|
<a href="compositor.html">Link</a> to the documentation.
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb23f809" class="outline-3">
|
|
<h3 id="orgb23f809">Installation</h3>
|
|
<div class="outline-text-3" id="text-orgb23f809">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S picom
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgee218df" class="outline-3">
|
|
<h3 id="orgee218df">Configuration</h3>
|
|
<div class="outline-text-3" id="text-orgee218df">
|
|
<p>
|
|
<code>~/.config/picom/picom.conf</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org10506c7" class="outline-3">
|
|
<h3 id="org10506c7">Automatic run as daemon</h3>
|
|
<div class="outline-text-3" id="text-org10506c7">
|
|
<p>
|
|
Compton is run from <code>.xprofile</code> config in the background:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">picom --daemon
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd3686f9" class="outline-2">
|
|
<h2 id="orgd3686f9">Notification Manager - Dunst</h2>
|
|
<div class="outline-text-2" id="text-orgd3686f9">
|
|
<p>
|
|
<a href="https://github.com/dunst-project/dunst">https://github.com/dunst-project/dunst</a>
|
|
<a href="https://wiki.archlinux.org/index.php/Dunst">https://wiki.archlinux.org/index.php/Dunst</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org9c2871e" class="outline-3">
|
|
<h3 id="org9c2871e">Installation</h3>
|
|
<div class="outline-text-3" id="text-org9c2871e">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S dunst dunstify
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org814656b" class="outline-3">
|
|
<h3 id="org814656b">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org814656b">
|
|
<p>
|
|
<code>~/.config/dunst/dunstrc</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org77c538a" class="outline-3">
|
|
<h3 id="org77c538a">Usage</h3>
|
|
<div class="outline-text-3" id="text-org77c538a">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">dunstify --replace=16549 "AppName" "Message"
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
The number <code>--replace</code> can be used with an ID to merge notifications from the
|
|
same application for instance.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org00d17ee" class="outline-2">
|
|
<h2 id="org00d17ee">Office Suite</h2>
|
|
<div class="outline-text-2" id="text-org00d17ee">
|
|
</div>
|
|
<div id="outline-container-org8ca3c3d" class="outline-3">
|
|
<h3 id="org8ca3c3d">WPS Office</h3>
|
|
<div class="outline-text-3" id="text-org8ca3c3d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S wps-office wps-office-extension-french-dictionary ttf-wps-fonts
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Alternatives are:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li>open-office</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7eceec6" class="outline-3">
|
|
<h3 id="org7eceec6">Minimap SpreadSheet - SC-IM</h3>
|
|
<div class="outline-text-3" id="text-org7eceec6">
|
|
<p>
|
|
<a href="https://github.com/andmarti1424/sc-im">https://github.com/andmarti1424/sc-im</a>
|
|
<a href="https://www.youtube.com/watch?v=K_8_gazN7h0">https://www.youtube.com/watch?v=K_8_gazN7h0</a>
|
|
</p>
|
|
|
|
<p>
|
|
It permits to open Excel files on the terminal very quickly.
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S sc-im
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgba28a1d" class="outline-2">
|
|
<h2 id="orgba28a1d">Managing Theme</h2>
|
|
<div class="outline-text-2" id="text-orgba28a1d">
|
|
</div>
|
|
<div id="outline-container-org1e74515" class="outline-3">
|
|
<h3 id="org1e74515">GTK Themes</h3>
|
|
<div class="outline-text-3" id="text-org1e74515">
|
|
<p>
|
|
Gtk2 themes are managed using the file <code>~/.gtkrc-2.0</code> while Gtk3 themes are managed using <code>~/.config/gtk-3.0/settings.ini</code>.
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orga2618bf" class="outline-4">
|
|
<h4 id="orga2618bf">Gui Manager</h4>
|
|
<div class="outline-text-4" id="text-orga2618bf">
|
|
<p>
|
|
To customize the look of the system using GUI application, run <code>lxappearance</code>.
|
|
</p>
|
|
|
|
<p>
|
|
Installation:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S lxappearance
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org53a7b9c" class="outline-4">
|
|
<h4 id="org53a7b9c">Icons and themes</h4>
|
|
<div class="outline-text-4" id="text-org53a7b9c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S zukitwo-themes faenza-icon-theme
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S arc-gtk-theme
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org78e9d3a" class="outline-3">
|
|
<h3 id="org78e9d3a">QT Themes</h3>
|
|
<div class="outline-text-3" id="text-org78e9d3a">
|
|
<p>
|
|
Run <code>qt5ct</code> to manage QT Themes.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgee75f60" class="outline-3">
|
|
<h3 id="orgee75f60">XFT Themes</h3>
|
|
<div class="outline-text-3" id="text-orgee75f60">
|
|
<p>
|
|
Some configuration are located in <code>~/.Xresources</code>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc1fa786" class="outline-2">
|
|
<h2 id="orgc1fa786">Advanced config</h2>
|
|
<div class="outline-text-2" id="text-orgc1fa786">
|
|
</div>
|
|
<div id="outline-container-orga5f3cae" class="outline-3">
|
|
<h3 id="orga5f3cae">Printer</h3>
|
|
<div class="outline-text-3" id="text-orga5f3cae">
|
|
<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 # on all queues
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Clear the queue
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">lprm # remove last entry only
|
|
lprm - # remove all entries
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Print a file
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">lpr -P printer_name filename.pdf
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
List available printers
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">lpstat -a
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Stats about the printer
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">lpstat -p printer_name
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org35d6080" class="outline-3">
|
|
<h3 id="org35d6080">Kernel Management</h3>
|
|
<div class="outline-text-3" id="text-org35d6080">
|
|
<p>
|
|
<a href="https://wiki.manjaro.org/index.php/Manjaro_Kernels">https://wiki.manjaro.org/index.php/Manjaro_Kernels</a>
|
|
</p>
|
|
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Command</th>
|
|
<th scope="col" class="org-left">Usage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>mhwd-kernel -li</code></td>
|
|
<td class="org-left">Determine which kernel is used</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"> </td>
|
|
<td class="org-left">Change current kernel</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgdb31cfa" class="outline-3">
|
|
<h3 id="orgdb31cfa">Power Management Tool: Powertop</h3>
|
|
<div class="outline-text-3" id="text-orgdb31cfa">
|
|
<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
|
|
sudo systemctl enable tlp
|
|
sudo systemctl start tlp
|
|
sudo systemctl enable tlp-sleep
|
|
sudo systemctl start tlp-sleep
|
|
sudo tlp start
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
<code>Thermald</code> is used to automatically handle CPU frequency scaling according to system load.
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S thermald
|
|
sudo systemctl enable thermald
|
|
sudo systemctl start thermald
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgbede079" class="outline-3">
|
|
<h3 id="orgbede079">Lid open/close</h3>
|
|
<div class="outline-text-3" id="text-orgbede079">
|
|
<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 id="outline-container-org663f779" class="outline-3">
|
|
<h3 id="org663f779">Automatically Mount devices - Udiskie</h3>
|
|
<div class="outline-text-3" id="text-org663f779">
|
|
<p>
|
|
udiskie - Mount and unmount disks (<a href="https://github.com/coldfix/udiskie">https://github.com/coldfix/udiskie</a>)
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S udiskie
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Automatically run <code>udiskie</code> on startup.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgbe5aeb8" class="outline-3">
|
|
<h3 id="orgbe5aeb8">Format disks</h3>
|
|
<div class="outline-text-3" id="text-orgbe5aeb8">
|
|
<p>
|
|
<a href="https://gparted.org/">https://gparted.org/</a>
|
|
</p>
|
|
|
|
<p>
|
|
<code>sudo gparted</code> to format disks
|
|
</p>
|
|
|
|
<p>
|
|
Using command line:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-storage-devices-in-linux">https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-storage-devices-in-linux</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgca6df48" class="outline-3">
|
|
<h3 id="orgca6df48">Bluetooth</h3>
|
|
<div class="outline-text-3" id="text-orgca6df48">
|
|
<p>
|
|
Bluetooth manager: <a href="https://github.com/blueman-project/blueman">https://github.com/blueman-project/blueman</a>
|
|
<code>blueman-manager</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc316e25" class="outline-2">
|
|
<h2 id="orgc316e25">LaTeX</h2>
|
|
<div class="outline-text-2" id="text-orgc316e25">
|
|
</div>
|
|
<div id="outline-container-org8e9fa0f" class="outline-3">
|
|
<h3 id="org8e9fa0f">Installation</h3>
|
|
<div class="outline-text-3" id="text-org8e9fa0f">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S texlive-most
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Biber support for the bibliography:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S biber
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Support for source code using minted:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S minted
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgca5faf8" class="outline-3">
|
|
<h3 id="orgca5faf8">Personnal classes/packages</h3>
|
|
<div class="outline-text-3" id="text-orgca5faf8">
|
|
<p>
|
|
Every custom class or packages can be put under <code>~/texmf/tex/latex/local/</code> folder.
|
|
</p>
|
|
|
|
<p>
|
|
In order for LaTeX to be aware of new packages/classes, run <code>sudo texhash</code> each time a new custom package is added.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf2ead13" class="outline-3">
|
|
<h3 id="orgf2ead13">From screenshot to latex math formula</h3>
|
|
<div class="outline-text-3" id="text-orgf2ead13">
|
|
<p>
|
|
<a href="https://mathpix.com/">https://mathpix.com/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org01d5b99" class="outline-4">
|
|
<h4 id="org01d5b99">Installation</h4>
|
|
<div class="outline-text-4" id="text-org01d5b99">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S mathpix-snipping-tool
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc6aa9a5" class="outline-2">
|
|
<h2 id="orgc6aa9a5">Mathematical Software</h2>
|
|
<div class="outline-text-2" id="text-orgc6aa9a5">
|
|
</div>
|
|
<div id="outline-container-org0f6bd53" class="outline-3">
|
|
<h3 id="org0f6bd53">Insect</h3>
|
|
<div class="outline-text-3" id="text-org0f6bd53">
|
|
<p>
|
|
<a href="https://github.com/sharkdp/insect">https://github.com/sharkdp/insect</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org2292372" class="outline-4">
|
|
<h4 id="org2292372">Installation</h4>
|
|
<div class="outline-text-4" id="text-org2292372">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S insect
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org1a96553" class="outline-4">
|
|
<h4 id="org1a96553">Usage</h4>
|
|
<div class="outline-text-4" id="text-org1a96553">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Command</th>
|
|
<th scope="col" class="org-left">Usage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>3 m/s to km/h</code></td>
|
|
<td class="org-left">Convert Unit</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd150c77" class="outline-3">
|
|
<h3 id="orgd150c77">Matlab</h3>
|
|
<div class="outline-text-3" id="text-orgd150c77">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/MATLAB#Installation">https://wiki.archlinux.org/index.php/MATLAB#Installation</a>
|
|
</p>
|
|
|
|
|
|
<p>
|
|
<a href="matlab.html">Link</a> to the configuration.
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org8cdde97" class="outline-4">
|
|
<h4 id="org8cdde97">Installation</h4>
|
|
<div class="outline-text-4" id="text-org8cdde97">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S matlab
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
If there is a problem when opening a Simulink file, check the solution <a href="https://fr.mathworks.com/matlabcentral/answers/361053-can-t-reload-usr-local-matlab-r2017b-bin-glnxa64-libmwdastudio-so">here</a>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9d1db59" class="outline-3">
|
|
<h3 id="org9d1db59">SageMath</h3>
|
|
<div class="outline-text-3" id="text-org9d1db59">
|
|
<p>
|
|
<a href="http://www.sagemath.org/">http://www.sagemath.org/</a>
|
|
<a href="https://wiki.archlinux.org/index.php/SageMath">https://wiki.archlinux.org/index.php/SageMath</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfe36ce2" class="outline-4">
|
|
<h4 id="orgfe36ce2">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgfe36ce2">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S sagemath
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb121834" class="outline-4">
|
|
<h4 id="orgb121834">Usage</h4>
|
|
<div class="outline-text-4" id="text-orgb121834">
|
|
<p>
|
|
Run <code>sage -n jupyter</code> to run jupyter notebooks
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgbd6e320" class="outline-4">
|
|
<h4 id="orgbd6e320">Documentation</h4>
|
|
<div class="outline-text-4" id="text-orgbd6e320">
|
|
<p>
|
|
<a href="http://doc.sagemath.org/html/en/reference/plotting/sage/plot/plot.html#sage.plot.plot.plot">http://doc.sagemath.org/html/en/reference/plotting/sage/plot/plot.html#sage.plot.plot.plot</a>
|
|
<a href="http://doc.sagemath.org/html/en/reference/calculus/sage/symbolic/expression.html">http://doc.sagemath.org/html/en/reference/calculus/sage/symbolic/expression.html</a>
|
|
<a href="http://doc.sagemath.org/html/en/reference/calculus/sage/symbolic/assumptions.html">http://doc.sagemath.org/html/en/reference/calculus/sage/symbolic/assumptions.html</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org74b3b20" class="outline-2">
|
|
<h2 id="org74b3b20">Download Manager</h2>
|
|
<div class="outline-text-2" id="text-org74b3b20">
|
|
</div>
|
|
<div id="outline-container-org55b326b" class="outline-3">
|
|
<h3 id="org55b326b">Torrent Client - deluge</h3>
|
|
<div class="outline-text-3" id="text-org55b326b">
|
|
<p>
|
|
<a href="https://github.com/deluge-torrent/deluge">https://github.com/deluge-torrent/deluge</a>
|
|
<a href="https://wiki.archlinux.org/index.php/Deluge">https://wiki.archlinux.org/index.php/Deluge</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org3fed60a" class="outline-4">
|
|
<h4 id="org3fed60a">Installation</h4>
|
|
<div class="outline-text-4" id="text-org3fed60a">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S deluge
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9df1e28" class="outline-4">
|
|
<h4 id="org9df1e28">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org9df1e28">
|
|
<p>
|
|
<code>~/.config/deluge/</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9dd0657" class="outline-4">
|
|
<h4 id="org9dd0657">Command Line Interface</h4>
|
|
<div class="outline-text-4" id="text-org9dd0657">
|
|
<p>
|
|
<a href="https://whatbox.ca/wiki/deluge_console_documentation">https://whatbox.ca/wiki/deluge_console_documentation</a>
|
|
</p>
|
|
|
|
<p>
|
|
Start the daemon using <code>deluge -d</code>.
|
|
Then run the CLI client using <code>deluge-console</code>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc415f27" class="outline-3">
|
|
<h3 id="orgc415f27">Youtube-dl</h3>
|
|
<div class="outline-text-3" id="text-orgc415f27">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S youtube-dl
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgef1d7e5" class="outline-4">
|
|
<h4 id="orgef1d7e5">Download best audio</h4>
|
|
<div class="outline-text-4" id="text-orgef1d7e5">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">youtube-dl -f bestaudio url
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgce8146f" class="outline-4">
|
|
<h4 id="orgce8146f">Download best video with audio</h4>
|
|
<div class="outline-text-4" id="text-orgce8146f">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">youtube-dl -f best url
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga2e7f86" class="outline-2">
|
|
<h2 id="orga2e7f86">Default Applications</h2>
|
|
<div class="outline-text-2" id="text-orga2e7f86">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/Default_applications">https://wiki.archlinux.org/index.php/Default_applications</a>
|
|
<a href="https://www.guyrutenberg.com/2018/01/20/set-default-application-using-xdg-mime/">https://www.guyrutenberg.com/2018/01/20/set-default-application-using-xdg-mime/</a>
|
|
</p>
|
|
</div>
|
|
<div id="outline-container-org41abf2c" class="outline-3">
|
|
<h3 id="org41abf2c">Mailcap file</h3>
|
|
</div>
|
|
<div id="outline-container-org896b304" class="outline-3">
|
|
<h3 id="org896b304">XDG-OPEN</h3>
|
|
<div class="outline-text-3" id="text-org896b304">
|
|
<p>
|
|
<code>~/.config/mimeapps.list</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf61220c" class="outline-2">
|
|
<h2 id="orgf61220c">Desktop files</h2>
|
|
<div class="outline-text-2" id="text-orgf61220c">
|
|
<p>
|
|
<a href="applications.html">Desktop Applications</a>
|
|
</p>
|
|
|
|
<p>
|
|
<code>~/.local/share/applications/</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc40d867" class="outline-2">
|
|
<h2 id="orgc40d867">Bibliography Management</h2>
|
|
<div class="outline-text-2" id="text-orgc40d867">
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/JabRef/jabref">https://github.com/JabRef/jabref</a></li>
|
|
<li><a href="https://github.com/t-wissmann/rofi-bibbrowser">https://github.com/t-wissmann/rofi-bibbrowser</a></li>
|
|
</ul>
|
|
|
|
<p>
|
|
I am using a plain bibtex file with <code>org-ref</code> (<a href="https://github.com/jkitchin/org-ref">link</a>).
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org1f3d362" class="outline-3">
|
|
<h3 id="org1f3d362">Alternatives:</h3>
|
|
<div class="outline-text-3" id="text-org1f3d362">
|
|
<p>
|
|
GUI:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li>Zotero</li>
|
|
<li>Mendeley</li>
|
|
</ul>
|
|
|
|
<p>
|
|
Command line based:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/papis/papis">Papis</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org92bd5a4" class="outline-2">
|
|
<h2 id="org92bd5a4">Calendar</h2>
|
|
<div class="outline-text-2" id="text-org92bd5a4">
|
|
<p>
|
|
<a href="calendar.html">Link</a> to configuration
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org2c7cf25" class="outline-3">
|
|
<h3 id="org2c7cf25">Vdirsyncer - Sync calendars</h3>
|
|
<div class="outline-text-3" id="text-org2c7cf25">
|
|
<p>
|
|
<a href="https://github.com/pimutils/vdirsyncer">https://github.com/pimutils/vdirsyncer</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org72297b1" class="outline-4">
|
|
<h4 id="org72297b1">Installation</h4>
|
|
<div class="outline-text-4" id="text-org72297b1">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S vdirsyncer
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">sudo pip install requests-oauthlib
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org44289ec" class="outline-4">
|
|
<h4 id="org44289ec">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-org44289ec">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Command</th>
|
|
<th scope="col" class="org-left">Usage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>vdirsyncer sync</code></td>
|
|
<td class="org-left">Synchronize</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc5d88e2" class="outline-4">
|
|
<h4 id="orgc5d88e2">Automation - Systemd</h4>
|
|
<div class="outline-text-4" id="text-orgc5d88e2">
|
|
<p>
|
|
First, run
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">vdirsyncer discover google_calendar
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">systemctl --user enable vdirsyncer.timer
|
|
systemctl --user start vdirsyncer.timer
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
To check the status of the service:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">systemctl --user status vdirsyncer.service
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga0460b3" class="outline-3">
|
|
<h3 id="orga0460b3">Calendar Client - Khal</h3>
|
|
<div class="outline-text-3" id="text-orga0460b3">
|
|
<p>
|
|
<a href="https://github.com/pimutils/khal">https://github.com/pimutils/khal</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org1cac093" class="outline-4">
|
|
<h4 id="org1cac093">Installation</h4>
|
|
<div class="outline-text-4" id="text-org1cac093">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S khal
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc85ca1c" class="outline-4">
|
|
<h4 id="orgc85ca1c">Import ICS files</h4>
|
|
<div class="outline-text-4" id="text-orgc85ca1c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">khal import even.ics
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org52a5fdb" class="outline-2">
|
|
<h2 id="org52a5fdb">RSS Reader</h2>
|
|
<div class="outline-text-2" id="text-org52a5fdb">
|
|
<p>
|
|
GUI Alternatives:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="http://www.rssowl.org/">http://www.rssowl.org/</a></li>
|
|
<li><a href="https://github.com/jangernert/FeedReader">https://github.com/jangernert/FeedReader</a></li>
|
|
</ul>
|
|
<p>
|
|
With Emacs:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="http://pragmaticemacs.com/emacs/read-your-rss-feeds-in-emacs-with-elfeed/">http://pragmaticemacs.com/emacs/read-your-rss-feeds-in-emacs-with-elfeed/</a></li>
|
|
</ul>
|
|
<p>
|
|
On the phone:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="https://feedly.com/i/my">https://feedly.com/i/my</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="outline-container-org6689bec" class="outline-3">
|
|
<h3 id="org6689bec">Newsboat</h3>
|
|
<div class="outline-text-3" id="text-org6689bec">
|
|
<p>
|
|
<a href="newsboat.html">Link</a> to configuration.
|
|
</p>
|
|
|
|
<p>
|
|
<a href="https://github.com/newsboat/newsboat">https://github.com/newsboat/newsboat</a>
|
|
<a href="https://wiki.archlinux.org/index.php/Newsboat">https://wiki.archlinux.org/index.php/Newsboat</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc913712" class="outline-4">
|
|
<h4 id="orgc913712">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgc913712">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S newboat
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7cd5480" class="outline-4">
|
|
<h4 id="org7cd5480">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org7cd5480">
|
|
<p>
|
|
<a href="https://newsboat.org/releases/2.12/docs/newsboat.html">https://newsboat.org/releases/2.12/docs/newsboat.html</a>
|
|
<code>~/.newsboat/</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgab15484" class="outline-4">
|
|
<h4 id="orgab15484">CheatSheet</h4>
|
|
<div class="outline-text-4" id="text-orgab15484">
|
|
<p>
|
|
<a href="https://newsboat.org/releases/2.12/docs/newsboat.html#available-operations">https://newsboat.org/releases/2.12/docs/newsboat.html#available-operations</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org4cde66a" class="outline-2">
|
|
<h2 id="org4cde66a">Task Manager</h2>
|
|
<div class="outline-text-2" id="text-org4cde66a">
|
|
</div>
|
|
<div id="outline-container-orgf8a6b79" class="outline-3">
|
|
<h3 id="orgf8a6b79">OrgMode and Emacs</h3>
|
|
</div>
|
|
<div id="outline-container-orgbd57387" class="outline-3">
|
|
<h3 id="orgbd57387">Wunderline</h3>
|
|
<div class="outline-text-3" id="text-orgbd57387">
|
|
<p>
|
|
<a href="https://itsfoss.com/linux-client-wunderlist/">https://itsfoss.com/linux-client-wunderlist/</a>
|
|
<a href="http://wayneashleyberry.github.io/wunderline/">http://wayneashleyberry.github.io/wunderline/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orga5b848a" class="outline-4">
|
|
<h4 id="orga5b848a">Installation</h4>
|
|
<div class="outline-text-4" id="text-orga5b848a">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S wunderline
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org028d5df" class="outline-4">
|
|
<h4 id="org028d5df">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-org028d5df">
|
|
<p>
|
|
Add a task with:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><code>wunderline add <task></code></li>
|
|
</ul>
|
|
|
|
<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">Options</th>
|
|
<th scope="col" class="org-left">Usage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>--today</code></td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>--tomorrow</code></td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>--note <note></code></td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<p>
|
|
Other commands:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><code>wunderline inbox</code></li>
|
|
<li><code>wunderline today</code></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org038a8d5" class="outline-2">
|
|
<h2 id="org038a8d5">PDF Reader: Zathura</h2>
|
|
<div class="outline-text-2" id="text-org038a8d5">
|
|
<p>
|
|
<a href="https://pwmt.org/projects/zathura/">https://pwmt.org/projects/zathura/</a>
|
|
</p>
|
|
</div>
|
|
<div id="outline-container-org7f0d0f8" class="outline-3">
|
|
<h3 id="org7f0d0f8">Installation</h3>
|
|
<div class="outline-text-3" id="text-org7f0d0f8">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S zathura
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Then add dependecies to view specific files:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S zathura-pdf-mupdf zathura-djvu zathura-ps zathura-cb
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
It seems that mupdf is better that poppler to view pdf.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd19e949" class="outline-3">
|
|
<h3 id="orgd19e949">Configuration</h3>
|
|
<div class="outline-text-3" id="text-orgd19e949">
|
|
<p>
|
|
<code>~/.config/zathura/zathurarc</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8ff2402" class="outline-3">
|
|
<h3 id="org8ff2402">Cheatsheet</h3>
|
|
<div class="outline-text-3" id="text-org8ff2402">
|
|
<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><n>gg</code></td>
|
|
<td class="org-left">Go to page n</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>mm</code></td>
|
|
<td class="org-left">Mark current location to m</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>'m</code></td>
|
|
<td class="org-left">Goto location m</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org2ed5d94" class="outline-3">
|
|
<h3 id="org2ed5d94">Multi-monitor pdf presentation - pdfpc</h3>
|
|
<div class="outline-text-3" id="text-org2ed5d94">
|
|
<p>
|
|
<a href="https://github.com/pdfpc/pdfpc">https://github.com/pdfpc/pdfpc</a>
|
|
</p>
|
|
|
|
<p>
|
|
pdfpc is a great tool for showing pdf presentations. It support:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li>screen splitting</li>
|
|
<li>support for videos in pdf presentations</li>
|
|
<li>support for notes</li>
|
|
<li>support for annotations</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="outline-container-org22b90a4" class="outline-4">
|
|
<h4 id="org22b90a4">Installation</h4>
|
|
<div class="outline-text-4" id="text-org22b90a4">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pdfpc
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf5f3b3c" class="outline-4">
|
|
<h4 id="orgf5f3b3c">Video support</h4>
|
|
<div class="outline-text-4" id="text-orgf5f3b3c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S gst-plugins-ugly gst-plugins-good gst-plugins-base-libs gst-plugins-base gst-plugins-bad gst-libav
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf2759c2" class="outline-4">
|
|
<h4 id="orgf2759c2">Usage</h4>
|
|
<div class="outline-text-4" id="text-orgf2759c2">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">pdfpc filename.pdf
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org2e68a17" class="outline-2">
|
|
<h2 id="org2e68a17">Theme manager</h2>
|
|
<div class="outline-text-2" id="text-org2e68a17">
|
|
<p>
|
|
The idea would be to have a command that changes the theme of all the system.
|
|
</p>
|
|
|
|
<p>
|
|
There would be at least one light and one dark theme.
|
|
It seems the color is due to this part of the script. Should then source this file somehow.
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">BASE16_SHELL="$HOME/.base16-manager/chriskempson/base16-shell/"
|
|
[ -n "$PS1" ] && \
|
|
[ -s "$BASE16_SHELL/profile_helper.sh" ] && \
|
|
eval "$("$BASE16_SHELL/profile_helper.sh")"
|
|
</pre>
|
|
</div>
|
|
|
|
<ul class="org-ul">
|
|
<li class="on"><code>[X]</code> shell: <a href="https://github.com/chriskempson/base16-shell">https://github.com/chriskempson/base16-shell</a></li>
|
|
<li class="on"><code>[X]</code> ranger: uses colors of the shell</li>
|
|
<li class="on"><code>[X]</code> vim: <a href="https://github.com/chriskempson/base16-vim">https://github.com/chriskempson/base16-vim</a></li>
|
|
<li class="off"><code>[ ]</code> emacs: <a href="https://github.com/belak/base16-emacs">https://github.com/belak/base16-emacs</a></li>
|
|
<li class="on"><code>[X]</code> zathura: <a href="https://github.com/nicodebo/base16-zathura">https://github.com/nicodebo/base16-zathura</a></li>
|
|
<li class="off"><code>[ ]</code> neomutt: <a href="https://github.com/josephholsten/base16-mutt">https://github.com/josephholsten/base16-mutt</a></li>
|
|
<li class="on"><code>[X]</code> ncmpcpp: uses colors of terminal (termite) defined in <code>~/.config/termite/config</code></li>
|
|
<li class="on"><code>[X]</code> polybar: uses colors of Xresources: <code>~/.Xressources.d/colors</code></li>
|
|
<li class="off"><code>[ ]</code> dunst: <a href="https://github.com/khamer/base16-dunst">https://github.com/khamer/base16-dunst</a></li>
|
|
<li class="off"><code>[ ]</code> fzf: <a href="https://github.com/nicodebo/base16-fzf">https://github.com/nicodebo/base16-fzf</a></li>
|
|
<li class="off"><code>[ ]</code> i3: <a href="https://github.com/khamer/base16-i3">https://github.com/khamer/base16-i3</a></li>
|
|
<li class="off"><code>[ ]</code> qutebrowser: <a href="https://github.com/theova/base16-qutebrowser">https://github.com/theova/base16-qutebrowser</a></li>
|
|
<li class="off"><code>[ ]</code> rofi: <a href="https://gitlab.com/0xdec/base16-rofi">https://gitlab.com/0xdec/base16-rofi</a></li>
|
|
<li class="off"><code>[ ]</code> background: use custom script</li>
|
|
<li class="off"><code>[ ]</code> tmux</li>
|
|
<li class="off"><code>[ ]</code> GUI file manager?</li>
|
|
</ul>
|
|
|
|
<p>
|
|
Possible theme managers:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/mjswensen/themer">https://github.com/mjswensen/themer</a></li>
|
|
<li><a href="https://github.com/dylanaraps/pywal">https://github.com/dylanaraps/pywal</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf8fbe5f" class="outline-3">
|
|
<h3 id="orgf8fbe5f">Base16</h3>
|
|
<div class="outline-text-3" id="text-orgf8fbe5f">
|
|
<p>
|
|
<a href="https://github.com/chriskempson/base16">https://github.com/chriskempson/base16</a>
|
|
<a href="http://chriskempson.com/projects/base16/">http://chriskempson.com/projects/base16/</a>
|
|
<a href="https://www.youtube.com/watch?v=QcOxU1sOOuw">https://www.youtube.com/watch?v=QcOxU1sOOuw</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org7417c11" class="outline-4">
|
|
<h4 id="org7417c11">Base16 Philosophy</h4>
|
|
<div class="outline-text-4" id="text-org7417c11">
|
|
<p>
|
|
Define colors according to rules: <a href="http://chriskempson.com/projects/base16/">http://chriskempson.com/projects/base16/</a>
|
|
Then we can use these colors multiple applications.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orge6856be" class="outline-4">
|
|
<h4 id="orge6856be">Base16-shell</h4>
|
|
<div class="outline-text-4" id="text-orge6856be">
|
|
<p>
|
|
<a href="https://github.com/chriskempson/base16-shell">https://github.com/chriskempson/base16-shell</a>
|
|
</p>
|
|
|
|
<p>
|
|
This changes the shell colors. This should be added to <code>~/.bashrc</code>:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"># Base16 Shell
|
|
BASE16_SHELL="$HOME/.config/base16-shell/"
|
|
[ -n "$PS1" ] && \
|
|
[ -s "$BASE16_SHELL/profile_helper.sh" ] && \
|
|
eval "$("$BASE16_SHELL/profile_helper.sh")"
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8119f36" class="outline-4">
|
|
<h4 id="org8119f36">Base16-manager</h4>
|
|
<div class="outline-text-4" id="text-org8119f36">
|
|
<p>
|
|
<a href="https://github.com/AuditeMarlow/base16-manager">https://github.com/AuditeMarlow/base16-manager</a>
|
|
</p>
|
|
|
|
<p>
|
|
This help changes many applications colors at once.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org0f491c8" class="outline-2">
|
|
<h2 id="org0f491c8">Graphical Editor</h2>
|
|
<div class="outline-text-2" id="text-org0f491c8">
|
|
<ul class="org-ul">
|
|
<li><a href="https://inkscape.org/">https://inkscape.org/</a></li>
|
|
<li>Tikz</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf1e6f64" class="outline-2">
|
|
<h2 id="orgf1e6f64">VPN Setup with NordVPN</h2>
|
|
<div class="outline-text-2" id="text-orgf1e6f64">
|
|
<p>
|
|
<a href="https://aur.archlinux.org/packages/nordvpn-bin/">https://aur.archlinux.org/packages/nordvpn-bin/</a>
|
|
<a href="https://wiki.archlinux.org/index.php/NordVPN">https://wiki.archlinux.org/index.php/NordVPN</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org701deeb" class="outline-3">
|
|
<h3 id="org701deeb">Installation</h3>
|
|
<div class="outline-text-3" id="text-org701deeb">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S nordvpn-bin
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb934377" class="outline-3">
|
|
<h3 id="orgb934377">Configuration</h3>
|
|
<div class="outline-text-3" id="text-orgb934377">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">sudo systemctl enable nordvpnd.service
|
|
sudo systemctl start nordvpnd.service
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org5bcbd80" class="outline-3">
|
|
<h3 id="org5bcbd80">Usage</h3>
|
|
<div class="outline-text-3" id="text-org5bcbd80">
|
|
<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"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>nordvpn connect country</code></td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>nordvpn disconnect</code></td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>nordvpn status</code></td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>nordvpn countries</code></td>
|
|
<td class="org-left"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8f64a1f" class="outline-3">
|
|
<h3 id="org8f64a1f">Alternative: Use NordVPM with openVPN Instead</h3>
|
|
<div class="outline-text-3" id="text-org8f64a1f">
|
|
<p>
|
|
<a href="https://github.com/nstinus/nordvpn">https://github.com/nstinus/nordvpn</a>
|
|
<a href="https://github.com/jotyGill/openpyn-nordvpn">https://github.com/jotyGill/openpyn-nordvpn</a>
|
|
<a href="https://nordvpn.com/fr/tutorials/linux/openvpn/">https://nordvpn.com/fr/tutorials/linux/openvpn/</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb2a7263" class="outline-2">
|
|
<h2 id="orgb2a7263">Others</h2>
|
|
<div class="outline-text-2" id="text-orgb2a7263">
|
|
</div>
|
|
<div id="outline-container-org02d35dc" class="outline-3">
|
|
<h3 id="org02d35dc">Wallpaper: <code>xwallpaper</code></h3>
|
|
</div>
|
|
<div id="outline-container-orgb90c203" class="outline-3">
|
|
<h3 id="orgb90c203">Interact with API</h3>
|
|
<div class="outline-text-3" id="text-orgb90c203">
|
|
<ul class="org-ul">
|
|
<li>GUI: <a href="https://github.com/getinsomnia/insomnia">https://github.com/getinsomnia/insomnia</a></li>
|
|
<li>CLI: <a href="https://github.com/jakubroztocil/httpie">https://github.com/jakubroztocil/httpie</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org77c9078" class="outline-3">
|
|
<h3 id="org77c9078">Take Screenshot</h3>
|
|
<div class="outline-text-3" id="text-org77c9078">
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/naelstrof/maim">https://github.com/naelstrof/maim</a></li>
|
|
<li><a href="https://github.com/lupoDharkael/flameshot">https://github.com/lupoDharkael/flameshot</a></li>
|
|
</ul>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S maim flameshot
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8b7d356" class="outline-3">
|
|
<h3 id="org8b7d356">File transfer</h3>
|
|
<div class="outline-text-3" id="text-org8b7d356">
|
|
<p>
|
|
<a href="https://github.com/schollz/croc">https://github.com/schollz/croc</a>
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S croc
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org46bead1" class="outline-3">
|
|
<h3 id="org46bead1">Utilities</h3>
|
|
<div class="outline-text-3" id="text-org46bead1">
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/BurntSushi/ripgrep">https://github.com/BurntSushi/ripgrep</a></li>
|
|
<li><a href="https://github.com/dawbarton/pdf2svg">https://github.com/dawbarton/pdf2svg</a></li>
|
|
<li><a href="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/">https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/</a></li>
|
|
<li><a href="https://github.com/Airblader/unclutter-xfixes">https://github.com/Airblader/unclutter-xfixes</a></li>
|
|
</ul>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S fd ripgrep pdf2svg pdftk unclutter
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="outline-container-org99b2f03" class="outline-3">
|
|
<h3 id="org99b2f03">Trash</h3>
|
|
<div class="outline-text-3" id="text-org99b2f03">
|
|
<p>
|
|
<code>trash-cli</code> is used to manage the trash.
|
|
It is integrated with Ranger.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org46eaeed" class="outline-2">
|
|
<h2 id="org46eaeed">Usefull commands</h2>
|
|
<div class="outline-text-2" id="text-org46eaeed">
|
|
</div>
|
|
<div id="outline-container-org8b0bf24" class="outline-3">
|
|
<h3 id="org8b0bf24">Find files or directories</h3>
|
|
<div class="outline-text-3" id="text-org8b0bf24">
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/sharkdp/fd">https://github.com/sharkdp/fd</a></li>
|
|
<li><a href="https://github.com/BurntSushi/ripgrep">https://github.com/BurntSushi/ripgrep</a></li>
|
|
<li><a href="https://github.com/ggreer/the%5C_silver%5C_searcher">https://github.com/ggreer/the%5C_silver%5C_searcher</a></li>
|
|
<li>find</li>
|
|
<li>fzf</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org2dbbed2" class="outline-3">
|
|
<h3 id="org2dbbed2">Show informations about the machine</h3>
|
|
<div class="outline-text-3" id="text-org2dbbed2">
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/dylanaraps/neofetch">neofetch</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org77fbf59" class="outline-3">
|
|
<h3 id="org77fbf59">Work with PDF</h3>
|
|
<div class="outline-text-3" id="text-org77fbf59">
|
|
<p>
|
|
<code>pdftk</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org1e7a34e" class="outline-3">
|
|
<h3 id="org1e7a34e">Separate PDF</h3>
|
|
<div class="outline-text-3" id="text-org1e7a34e">
|
|
<p>
|
|
<code>pdfseparate -f 1 -l 6 file.pdf split%d.pdf</code>
|
|
Will create <code>split1.pdf</code> to <code>split6.pdf</code> files corresponding to correct pages of <code>file.pdf</code>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org34c872d" class="outline-3">
|
|
<h3 id="org34c872d">Readline</h3>
|
|
<div class="outline-text-3" id="text-org34c872d">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/Keyboard_shortcuts">https://wiki.archlinux.org/index.php/Keyboard_shortcuts</a>
|
|
</p>
|
|
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Keyboard</th>
|
|
<th scope="col" class="org-left">Shortcut Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left">Ctrl+l</td>
|
|
<td class="org-left">Clear the screen</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfb02aba" class="outline-4">
|
|
<h4 id="orgfb02aba">Cursor Movement</h4>
|
|
<div class="outline-text-4" id="text-orgfb02aba">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Keyboard</th>
|
|
<th scope="col" class="org-left">Shortcut Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+b</code></td>
|
|
<td class="org-left">Move cursor one character to the left</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+f</code></td>
|
|
<td class="org-left">Move cursor one character to the right</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Alt+b</code></td>
|
|
<td class="org-left">Move cursor one word to the left</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Alt+f</code></td>
|
|
<td class="org-left">Move cursor one word to the right</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+a</code></td>
|
|
<td class="org-left">Move cursor to start of the line</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+e</code></td>
|
|
<td class="org-left">Move cursor to end of the line</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org64b434b" class="outline-4">
|
|
<h4 id="org64b434b">Copy & Paste</h4>
|
|
<div class="outline-text-4" id="text-org64b434b">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Keyboard</th>
|
|
<th scope="col" class="org-left">Shortcut Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+u</code></td>
|
|
<td class="org-left">Cut everything from line start to cursor</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+k</code></td>
|
|
<td class="org-left">Cut everything from the cursor to end of the line</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Alt+d</code></td>
|
|
<td class="org-left">Cut the current word after the cursor</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+w</code></td>
|
|
<td class="org-left">Cut the current word before the cursor</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+y</code></td>
|
|
<td class="org-left">Paste the previous cut text</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Alt+y</code></td>
|
|
<td class="org-left">Paste the second latest cut text</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Alt+Ctrl+y</code></td>
|
|
<td class="org-left">Paste the first argument of the previous command</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Alt+./</code></td>
|
|
<td class="org-left">Paste the last argument of the previous command</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb67a3fc" class="outline-4">
|
|
<h4 id="orgb67a3fc">History</h4>
|
|
<div class="outline-text-4" id="text-orgb67a3fc">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Keyboard</th>
|
|
<th scope="col" class="org-left">Shortcut Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+p</code></td>
|
|
<td class="org-left">Move to the previous line</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+n</code></td>
|
|
<td class="org-left">Move to the next line</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+s</code></td>
|
|
<td class="org-left">Search</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+r</code></td>
|
|
<td class="org-left">Reverse search</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+j</code></td>
|
|
<td class="org-left">End search</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Ctrl+g</code></td>
|
|
<td class="org-left">Abort search (restores original line)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Alt+r</code></td>
|
|
<td class="org-left">Restores all changes made to line</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org5b5cf0e" class="outline-4">
|
|
<h4 id="org5b5cf0e">Completion</h4>
|
|
<div class="outline-text-4" id="text-org5b5cf0e">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Keyboard</th>
|
|
<th scope="col" class="org-left">Shortcut Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>Tab</code></td>
|
|
<td class="org-left">Auto-complete a name</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Alt+?</code></td>
|
|
<td class="org-left">List all possible completions</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>Alt+*</code></td>
|
|
<td class="org-left">Insert all possible completions</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgac245d5" class="outline-3">
|
|
<h3 id="orgac245d5">Google translate from the command line</h3>
|
|
<div class="outline-text-3" id="text-orgac245d5">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S translate-shell
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">trans englishwork en:fr
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orge69d1b3" class="outline-3">
|
|
<h3 id="orge69d1b3">Others</h3>
|
|
<div class="outline-text-3" id="text-orge69d1b3">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/tldr-pages/tldr">tldr</a></td>
|
|
<td class="org-left">Community-driven man pages</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/dutchcoders/transfer.sh">transfer.sh</a></td>
|
|
<td class="org-left">upload and share files from the command line</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/timvisee/ffsend">ffsend</a></td>
|
|
<td class="org-left">share files from the command line</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/chubin/wttr.in">wttr.in</a></td>
|
|
<td class="org-left">weather in terminal</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/michael-lazar/rtv">rtv</a></td>
|
|
<td class="org-left">Reddit in terminal</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left">awk</td>
|
|
<td class="org-left"><a href="https://linuxhandbook.com/awk-command-tutorial/">https://linuxhandbook.com/awk-command-tutorial/</a></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/rupa/z">z</a></td>
|
|
<td class="org-left">Jump around</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/nvbn/thefuck">thefuck</a></td>
|
|
<td class="org-left">Magnificent app which corrects your previous console command</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/mrzool/bash-sensible">bash-sensible</a></td>
|
|
<td class="org-left">An attempt at saner Bash defaults</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/greg-js/arch-wiki-man">awman</a></td>
|
|
<td class="org-left">Arch Wiki man pages - Arch wiki offline</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/amanusk/s-tui/">s-tui</a></td>
|
|
<td class="org-left">Terminal based CPU stress and monitoring utility</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/nicolargo/glances">glances</a></td>
|
|
<td class="org-left">A top/htop alternative</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/asciinema/asciinema">asciinema</a></td>
|
|
<td class="org-left">Reccord you terminal</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://dev.yorhel.nl/ncdu">ncdu</a></td>
|
|
<td class="org-left">See what takes place on the disk</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/haikarainen/light">light</a></td>
|
|
<td class="org-left">Program to easily change brightness on backlight-controllers</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><a href="https://github.com/naelstrof/maim">maim</a></td>
|
|
<td class="org-left">Take screenshots</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="org-left">Command</th>
|
|
<th scope="col" class="org-left">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>meteo</code></td>
|
|
<td class="org-left">Get the meteo</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>sudo cputhrottle PID %PROC</code></td>
|
|
<td class="org-left">Limiter l’accès au proc pour un processus</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>nmap -sP “192.168.1.*"</code></td>
|
|
<td class="org-left">Check all ip addresses on local netword</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>rsync -a --progress source dest</code></td>
|
|
<td class="org-left">Copy folders with stats</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>du -sh folder</code></td>
|
|
<td class="org-left">Return the size of the folder</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>df -h</code></td>
|
|
<td class="org-left">Report disk usage</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org672a9f9" class="outline-3">
|
|
<h3 id="org672a9f9">Archive and Extract</h3>
|
|
<div class="outline-text-3" id="text-org672a9f9">
|
|
<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"> </th>
|
|
<th scope="col" class="org-left"> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>aunpack foobar.tar.gz</code></td>
|
|
<td class="org-left">extract all files from archive</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>apack myarchive.zip foo bar</code></td>
|
|
<td class="org-left">create a zip archive of two files</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org4a421de" class="outline-3">
|
|
<h3 id="org4a421de">Hardware</h3>
|
|
<div class="outline-text-3" id="text-org4a421de">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>dmesg</code></td>
|
|
<td class="org-left">Detected hardware and boot messages</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>lshw</code></td>
|
|
<td class="org-left">Display information on hardware</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>lsusb -tv</code></td>
|
|
<td class="org-left">Show usb devices</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgee1ea81" class="outline-3">
|
|
<h3 id="orgee1ea81">Network</h3>
|
|
<div class="outline-text-3" id="text-orgee1ea81">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>ip addr show</code></td>
|
|
<td class="org-left">Show all network interfaces and ip address</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ethtooo eth0</code></td>
|
|
<td class="org-left">Tool to show ethernet status</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>netstat -tulp</code></td>
|
|
<td class="org-left">List all active listening ports</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb4ae27d" class="outline-2">
|
|
<h2 id="orgb4ae27d">Bash Snippets</h2>
|
|
<div class="outline-text-2" id="text-orgb4ae27d">
|
|
</div>
|
|
<div id="outline-container-orge6dc131" class="outline-3">
|
|
<h3 id="orge6dc131">For loop</h3>
|
|
<div class="outline-text-3" id="text-orge6dc131">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">for file in ./*; do
|
|
command ${file};
|
|
done
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="outline-container-org97a1a43" class="outline-2">
|
|
<h2 id="org97a1a43">Some notes - Systemd</h2>
|
|
<div class="outline-text-2" id="text-org97a1a43">
|
|
<p>
|
|
To improve the startup time.
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">sudo systemctl disable apparmor
|
|
sudo systemctl disable snapd
|
|
sudo systemctl disable systemd-backlight@backlight\:intel_backlight.service
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
To see next timers
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-matlab">systemctl --user list-timers
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7c8fb3d" class="outline-2">
|
|
<h2 id="org7c8fb3d">Ressources</h2>
|
|
<div class="outline-text-2" id="text-org7c8fb3d">
|
|
</div>
|
|
<div id="outline-container-org28f9359" class="outline-3">
|
|
<h3 id="org28f9359">Dotfiles</h3>
|
|
<div class="outline-text-3" id="text-org28f9359">
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/LukeSmithxyz/voidrice">https://github.com/LukeSmithxyz/voidrice</a></li>
|
|
<li><a href="https://github.com/wincent/wincent">https://github.com/wincent/wincent</a></li>
|
|
<li><a href="https://github.com/korolr/dotfiles">https://github.com/korolr/dotfiles</a></li>
|
|
<li><a href="https://github.com/Shougo/shougo-s-github">https://github.com/Shougo/shougo-s-github</a></li>
|
|
<li><a href="https://github.com/addy-dclxvi/almighty-dotfiles">https://github.com/addy-dclxvi/almighty-dotfiles</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org5407b51" class="outline-3">
|
|
<h3 id="org5407b51">Linux Softwares</h3>
|
|
<div class="outline-text-3" id="text-org5407b51">
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/k4m4/terminals-are-sexy">terminalare.sexy</a></li>
|
|
<li><a href="https://www.reddit.com/r/vim/comments/3tluqr/my_list_of_applications_with_vi_keybindings/">the big list of vim like software</a></li>
|
|
<li><a href="https://github.com/jlevy/the-art-of-command-line">https://github.com/jlevy/the-art-of-command-line</a></li>
|
|
<li><a href="https://github.com/herrbischoff/awesome-command-line-apps">https://github.com/herrbischoff/awesome-command-line-apps</a></li>
|
|
<li><a href="https://github.com/luongvo209/Awesome-Linux-Software">https://github.com/luongvo209/Awesome-Linux-Software</a></li>
|
|
<li><a href="https://wiki.archlinux.org/index.php/List_of_applications">https://wiki.archlinux.org/index.php/List_of_applications</a></li>
|
|
<li><a href="https://ambrevar.xyz/power-apps/">https://ambrevar.xyz/power-apps/</a></li>
|
|
<li><a href="https://enchiridion.red/2019/1/18/desktop-apps/">https://enchiridion.red/2019/1/18/desktop-apps/</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="outline-container-orgefd7d3c" class="outline-2">
|
|
<h2 id="orgefd7d3c">List of all the install programs</h2>
|
|
<div class="outline-text-2" id="text-orgefd7d3c">
|
|
</div>
|
|
<div id="outline-container-orgc463342" class="outline-3">
|
|
<h3 id="orgc463342">Tmux</h3>
|
|
<div class="outline-text-3" id="text-orgc463342">
|
|
<p>
|
|
tmux - Terminal multiplexer
|
|
reattach-to-user-namespace - Reattach process (e.g., tmux) to background
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd0a89fa" class="outline-3">
|
|
<h3 id="orgd0a89fa">Git</h3>
|
|
<div class="outline-text-3" id="text-orgd0a89fa">
|
|
<p>
|
|
bfg - Removes large or troublesome blobs like git-filter-branch does, but faster
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org07513e9" class="outline-3">
|
|
<h3 id="org07513e9">Text Editors</h3>
|
|
<div class="outline-text-3" id="text-org07513e9">
|
|
<p>
|
|
aspell - Spell checker with better logic than ispell
|
|
vim - Vi ’workalike’ with many additional features
|
|
neovim - Ambitious Vim-fork focused on extensibility and agility
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7b65c34" class="outline-3">
|
|
<h3 id="org7b65c34">LaTeX</h3>
|
|
</div>
|
|
<div id="outline-container-org76b8685" class="outline-3">
|
|
<h3 id="org76b8685">Mutt</h3>
|
|
<div class="outline-text-3" id="text-org76b8685">
|
|
<p>
|
|
neomutt - Teaching an Old Dog New Tricks
|
|
msmtp - SMTP client that can be used as an SMTP plugin for Mutt
|
|
isync - Synchronize a maildir with an IMAP server
|
|
vdirsyncer - Synchronize calendars and contacts
|
|
urlview - URL extractor/launcher
|
|
w3m - Pager/text based browser
|
|
abook - Address book with mutt support
|
|
elinks - Text mode web browser
|
|
lbdb - Little brother’s database for the mutt mail reader
|
|
mu - Tool for searching e-mail messages stored in the maildir-format
|
|
ripmime - Extract attachments out of MIME encoded email packages
|
|
shared-mime-info - Database of common MIME types
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org0f4a822" class="outline-3">
|
|
<h3 id="org0f4a822">Micro controllers</h3>
|
|
<div class="outline-text-3" id="text-org0f4a822">
|
|
<p>
|
|
avrdude - Atmel AVR MCU programmer
|
|
bootloadhid - USB boot loader for AVR microcontrollers
|
|
dfu-programmer - Device firmware update based USB programmer for Atmel chips
|
|
platformio - Ecosystem for IoT development (Arduino and ARM mbed compatible)
|
|
micropython - Python implementation for microcontrollers and constrained systems
|
|
arduino-mk - Makefile for Arduino sketches
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf81772c" class="outline-3">
|
|
<h3 id="orgf81772c">File Management</h3>
|
|
<div class="outline-text-3" id="text-orgf81772c">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>grep</code></td>
|
|
<td class="org-left">GNU grep, egrep and fgrep</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>pdfgrep</code></td>
|
|
<td class="org-left">Search PDFs for strings matching a regular expression</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>fzf</code></td>
|
|
<td class="org-left">Command-line fuzzy finder written in Go</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>the_platinum_searcher</code></td>
|
|
<td class="org-left">Multi-platform code-search similar to ack and ag</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>the_silver_searcher</code></td>
|
|
<td class="org-left">Code-search similar to ack</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>fdupes</code></td>
|
|
<td class="org-left">Identify or delete duplicate files</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>findutils</code></td>
|
|
<td class="org-left">Collection of GNU find, xargs, and locate</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ranger</code></td>
|
|
<td class="org-left">File browser</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>vifm</code></td>
|
|
<td class="org-left">Ncurses based file manager with vi like keybindings</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>tree</code></td>
|
|
<td class="org-left">Display directories as trees (with optional color/HTML output)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>p7zip</code></td>
|
|
<td class="org-left">7-Zip (high compression file archiver) implementation</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>unrar</code></td>
|
|
<td class="org-left">Extract, view, and test RAR archives</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>atool</code> <code>zip</code></td>
|
|
<td class="org-left">script for managing file archives of various types</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org961ce62" class="outline-3">
|
|
<h3 id="org961ce62">File Downloader</h3>
|
|
<div class="outline-text-3" id="text-org961ce62">
|
|
<p>
|
|
wget - Internet file retriever
|
|
you-get - Dumb downloader that scrapes the web
|
|
htop - Improved top (interactive process viewer)
|
|
httpie - User-friendly cURL replacement (command-line HTTP client)
|
|
curl - Get a file from an HTTP, HTTPS or FTP server
|
|
httpstat - curl statistics made simple
|
|
transmission - Lightweight BitTorrent client
|
|
aria2 - lightweight download utility
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org0f7c231" class="outline-3">
|
|
<h3 id="org0f7c231">Utils</h3>
|
|
<div class="outline-text-3" id="text-org0f7c231">
|
|
<p>
|
|
binutils - GNU Binary Utilities
|
|
coreutils - GNU File, Shell, and Text utilities
|
|
gnome-doc-utils - Documentation utilities for the GNOME project
|
|
moreutils - Collection of tools that nobody wrote when UNIX was young
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7f36762" class="outline-3">
|
|
<h3 id="org7f36762">A trier</h3>
|
|
<div class="outline-text-3" id="text-org7f36762">
|
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
|
|
|
|
|
<colgroup>
|
|
<col class="org-left" />
|
|
|
|
<col class="org-left" />
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<td class="org-left"><code>asciinema</code></td>
|
|
<td class="org-left">Terminal session recorder</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>automake</code></td>
|
|
<td class="org-left">tool for automatically generating Makefile</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>cmake</code></td>
|
|
<td class="org-left">Cross-platform make</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>cowsay</code></td>
|
|
<td class="org-left">Configurable talking characters in ASCII art</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>cppcheck</code></td>
|
|
<td class="org-left">Static analysis of C and C++ code</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>cputhrottle</code></td>
|
|
<td class="org-left">Limit the CPU usage of a process</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ctags</code></td>
|
|
<td class="org-left">Reimplementation of ctags</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>gdb</code></td>
|
|
<td class="org-left">GNU debugger</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>ghostscript</code></td>
|
|
<td class="org-left">Interpreter for PostScript and PDF</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>go</code></td>
|
|
<td class="org-left">Open source programming language to build simple/reliable/efficient software</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>hugo</code></td>
|
|
<td class="org-left">Configurable static site generator</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>markdown</code></td>
|
|
<td class="org-left">Text-to-HTML conversion tool</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>musikcube</code></td>
|
|
<td class="org-left">A cross-platform, terminal-based music player</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>openssl</code></td>
|
|
<td class="org-left">Cryptography and SSL/TLS Toolkit</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>openvpn</code></td>
|
|
<td class="org-left">SSL/TLS VPN implementing OSI layer 2 or 3 secure network extension</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>sdl</code></td>
|
|
<td class="org-left">Low-level access to audio, keyboard, mouse, joystick and graphics</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>texinfo</code></td>
|
|
<td class="org-left">Official documentation format of the GNU project</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>weechat</code></td>
|
|
<td class="org-left">Extensible IRC client</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>wego</code></td>
|
|
<td class="org-left">Weather app for the terminal</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>wifi</code></td>
|
|
<td class="org-left">password - Show the current WiFi network password</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>imagemagick</code></td>
|
|
<td class="org-left">Tools and libraries to manipulate images in many formats</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>glances</code></td>
|
|
<td class="org-left">Alternative to top/htop</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="org-left"><code>pandoc</code></td>
|
|
<td class="org-left">Swiss-army knife of markup format conversion</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="postamble" class="status">
|
|
<p class="author">Author: Thomas Dehaeze</p>
|
|
<p class="date">Created: 2020-05-26 mar. 08:39</p>
|
|
</div>
|
|
</body>
|
|
</html>
|