5350 lines
151 KiB
HTML
5350 lines
151 KiB
HTML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?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-03-01 dim. 22:50 -->
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Dotfiles - Manjaro Linux</title>
|
|
<meta name="generator" content="Org mode" />
|
|
<meta name="author" content="Dehaeze Thomas" />
|
|
<style type="text/css">
|
|
<!--/*--><![CDATA[/*><!--*/
|
|
.title { text-align: center;
|
|
margin-bottom: .2em; }
|
|
.subtitle { text-align: center;
|
|
font-size: medium;
|
|
font-weight: bold;
|
|
margin-top:0; }
|
|
.todo { font-family: monospace; color: red; }
|
|
.done { font-family: monospace; color: green; }
|
|
.priority { font-family: monospace; color: orange; }
|
|
.tag { background-color: #eee; font-family: monospace;
|
|
padding: 2px; font-size: 80%; font-weight: normal; }
|
|
.timestamp { color: #bebebe; }
|
|
.timestamp-kwd { color: #5f9ea0; }
|
|
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
|
|
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
|
|
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
|
|
.underline { text-decoration: underline; }
|
|
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
|
p.verse { margin-left: 3%; }
|
|
pre {
|
|
border: 1px solid #ccc;
|
|
box-shadow: 3px 3px 3px #eee;
|
|
padding: 8pt;
|
|
font-family: monospace;
|
|
overflow: auto;
|
|
margin: 1.2em;
|
|
}
|
|
pre.src {
|
|
position: relative;
|
|
overflow: visible;
|
|
padding-top: 1.2em;
|
|
}
|
|
pre.src:before {
|
|
display: none;
|
|
position: absolute;
|
|
background-color: white;
|
|
top: -10px;
|
|
right: 10px;
|
|
padding: 3px;
|
|
border: 1px solid black;
|
|
}
|
|
pre.src:hover:before { display: inline;}
|
|
/* Languages per Org manual */
|
|
pre.src-asymptote:before { content: 'Asymptote'; }
|
|
pre.src-awk:before { content: 'Awk'; }
|
|
pre.src-C:before { content: 'C'; }
|
|
/* pre.src-C++ doesn't work in CSS */
|
|
pre.src-clojure:before { content: 'Clojure'; }
|
|
pre.src-css:before { content: 'CSS'; }
|
|
pre.src-D:before { content: 'D'; }
|
|
pre.src-ditaa:before { content: 'ditaa'; }
|
|
pre.src-dot:before { content: 'Graphviz'; }
|
|
pre.src-calc:before { content: 'Emacs Calc'; }
|
|
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
|
|
pre.src-fortran:before { content: 'Fortran'; }
|
|
pre.src-gnuplot:before { content: 'gnuplot'; }
|
|
pre.src-haskell:before { content: 'Haskell'; }
|
|
pre.src-hledger:before { content: 'hledger'; }
|
|
pre.src-java:before { content: 'Java'; }
|
|
pre.src-js:before { content: 'Javascript'; }
|
|
pre.src-latex:before { content: 'LaTeX'; }
|
|
pre.src-ledger:before { content: 'Ledger'; }
|
|
pre.src-lisp:before { content: 'Lisp'; }
|
|
pre.src-lilypond:before { content: 'Lilypond'; }
|
|
pre.src-lua:before { content: 'Lua'; }
|
|
pre.src-matlab:before { content: 'MATLAB'; }
|
|
pre.src-mscgen:before { content: 'Mscgen'; }
|
|
pre.src-ocaml:before { content: 'Objective Caml'; }
|
|
pre.src-octave:before { content: 'Octave'; }
|
|
pre.src-org:before { content: 'Org mode'; }
|
|
pre.src-oz:before { content: 'OZ'; }
|
|
pre.src-plantuml:before { content: 'Plantuml'; }
|
|
pre.src-processing:before { content: 'Processing.js'; }
|
|
pre.src-python:before { content: 'Python'; }
|
|
pre.src-R:before { content: 'R'; }
|
|
pre.src-ruby:before { content: 'Ruby'; }
|
|
pre.src-sass:before { content: 'Sass'; }
|
|
pre.src-scheme:before { content: 'Scheme'; }
|
|
pre.src-screen:before { content: 'Gnu Screen'; }
|
|
pre.src-sed:before { content: 'Sed'; }
|
|
pre.src-sh:before { content: 'shell'; }
|
|
pre.src-sql:before { content: 'SQL'; }
|
|
pre.src-sqlite:before { content: 'SQLite'; }
|
|
/* additional languages in org.el's org-babel-load-languages alist */
|
|
pre.src-forth:before { content: 'Forth'; }
|
|
pre.src-io:before { content: 'IO'; }
|
|
pre.src-J:before { content: 'J'; }
|
|
pre.src-makefile:before { content: 'Makefile'; }
|
|
pre.src-maxima:before { content: 'Maxima'; }
|
|
pre.src-perl:before { content: 'Perl'; }
|
|
pre.src-picolisp:before { content: 'Pico Lisp'; }
|
|
pre.src-scala:before { content: 'Scala'; }
|
|
pre.src-shell:before { content: 'Shell Script'; }
|
|
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
|
|
/* additional language identifiers per "defun org-babel-execute"
|
|
in ob-*.el */
|
|
pre.src-cpp:before { content: 'C++'; }
|
|
pre.src-abc:before { content: 'ABC'; }
|
|
pre.src-coq:before { content: 'Coq'; }
|
|
pre.src-groovy:before { content: 'Groovy'; }
|
|
/* additional language identifiers from org-babel-shell-names in
|
|
ob-shell.el: ob-shell is the only babel language using a lambda to put
|
|
the execution function name together. */
|
|
pre.src-bash:before { content: 'bash'; }
|
|
pre.src-csh:before { content: 'csh'; }
|
|
pre.src-ash:before { content: 'ash'; }
|
|
pre.src-dash:before { content: 'dash'; }
|
|
pre.src-ksh:before { content: 'ksh'; }
|
|
pre.src-mksh:before { content: 'mksh'; }
|
|
pre.src-posh:before { content: 'posh'; }
|
|
/* Additional Emacs modes also supported by the LaTeX listings package */
|
|
pre.src-ada:before { content: 'Ada'; }
|
|
pre.src-asm:before { content: 'Assembler'; }
|
|
pre.src-caml:before { content: 'Caml'; }
|
|
pre.src-delphi:before { content: 'Delphi'; }
|
|
pre.src-html:before { content: 'HTML'; }
|
|
pre.src-idl:before { content: 'IDL'; }
|
|
pre.src-mercury:before { content: 'Mercury'; }
|
|
pre.src-metapost:before { content: 'MetaPost'; }
|
|
pre.src-modula-2:before { content: 'Modula-2'; }
|
|
pre.src-pascal:before { content: 'Pascal'; }
|
|
pre.src-ps:before { content: 'PostScript'; }
|
|
pre.src-prolog:before { content: 'Prolog'; }
|
|
pre.src-simula:before { content: 'Simula'; }
|
|
pre.src-tcl:before { content: 'tcl'; }
|
|
pre.src-tex:before { content: 'TeX'; }
|
|
pre.src-plain-tex:before { content: 'Plain TeX'; }
|
|
pre.src-verilog:before { content: 'Verilog'; }
|
|
pre.src-vhdl:before { content: 'VHDL'; }
|
|
pre.src-xml:before { content: 'XML'; }
|
|
pre.src-nxml:before { content: 'XML'; }
|
|
/* add a generic configuration mode; LaTeX export needs an additional
|
|
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
|
|
pre.src-conf:before { content: 'Configuration File'; }
|
|
|
|
table { border-collapse:collapse; }
|
|
caption.t-above { caption-side: top; }
|
|
caption.t-bottom { caption-side: bottom; }
|
|
td, th { vertical-align:top; }
|
|
th.org-right { text-align: center; }
|
|
th.org-left { text-align: center; }
|
|
th.org-center { text-align: center; }
|
|
td.org-right { text-align: right; }
|
|
td.org-left { text-align: left; }
|
|
td.org-center { text-align: center; }
|
|
dt { font-weight: bold; }
|
|
.footpara { display: inline; }
|
|
.footdef { margin-bottom: 1em; }
|
|
.figure { padding: 1em; }
|
|
.figure p { text-align: center; }
|
|
.equation-container {
|
|
display: table;
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
.equation {
|
|
vertical-align: middle;
|
|
}
|
|
.equation-label {
|
|
display: table-cell;
|
|
text-align: right;
|
|
vertical-align: middle;
|
|
}
|
|
.inlinetask {
|
|
padding: 10px;
|
|
border: 2px solid gray;
|
|
margin: 10px;
|
|
background: #ffffcc;
|
|
}
|
|
#org-div-home-and-up
|
|
{ text-align: right; font-size: 70%; white-space: nowrap; }
|
|
textarea { overflow-x: auto; }
|
|
.linenr { font-size: smaller }
|
|
.code-highlighted { background-color: #ffff00; }
|
|
.org-info-js_info-navigation { border-style: none; }
|
|
#org-info-js_console-label
|
|
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
|
|
.org-info-js_search-highlight
|
|
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
|
.org-svg { width: 90%; }
|
|
/*]]>*/-->
|
|
</style>
|
|
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
|
|
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
|
|
<script type="text/javascript" src="./js/jquery.min.js"></script>
|
|
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
|
|
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
|
|
<script type="text/javascript" src="./js/readtheorg.js"></script>
|
|
<script type="text/javascript">
|
|
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
|
|
<!--/*--><![CDATA[/*><!--*/
|
|
function CodeHighlightOn(elem, id)
|
|
{
|
|
var target = document.getElementById(id);
|
|
if(null != target) {
|
|
elem.cacheClassElem = elem.className;
|
|
elem.cacheClassTarget = target.className;
|
|
target.className = "code-highlighted";
|
|
elem.className = "code-highlighted";
|
|
}
|
|
}
|
|
function CodeHighlightOff(elem, id)
|
|
{
|
|
var target = document.getElementById(id);
|
|
if(elem.cacheClassElem)
|
|
elem.className = elem.cacheClassElem;
|
|
if(elem.cacheClassTarget)
|
|
target.className = elem.cacheClassTarget;
|
|
}
|
|
/*]]>*///-->
|
|
// @license-end
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="org-div-home-and-up">
|
|
<a accesskey="h" href="./index.html"> UP </a>
|
|
|
|
|
<a accesskey="H" href="./index.html"> HOME </a>
|
|
</div><div id="content">
|
|
<h1 class="title">Dotfiles - Manjaro Linux</h1>
|
|
<div id="table-of-contents">
|
|
<h2>Table of Contents</h2>
|
|
<div id="text-table-of-contents">
|
|
<ul>
|
|
<li><a href="#org32f001f">Links to literate configs</a></li>
|
|
<li><a href="#orgc6e30ea">Package Manager: yay</a>
|
|
<ul>
|
|
<li><a href="#org20b86a6">Installation</a></li>
|
|
<li><a href="#orga8a9b85">CheatSheet</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org9a31d35">Git Setup</a>
|
|
<ul>
|
|
<li><a href="#org4888b5d">Installation</a></li>
|
|
<li><a href="#orgeb1a3f5">Configuration</a></li>
|
|
<li><a href="#org341237a">Diff-So-Fancy</a>
|
|
<ul>
|
|
<li><a href="#org3ad896c">Installation</a></li>
|
|
<li><a href="#org31f0df4">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org8210b2c">Credential Helper setup with Pass</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org494be80">Terminal</a>
|
|
<ul>
|
|
<li><a href="#orga0a6386">Termite</a>
|
|
<ul>
|
|
<li><a href="#org22471e0">Installation</a></li>
|
|
<li><a href="#orgf387b80">Configuration</a></li>
|
|
<li><a href="#orgfdcd108">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgff47016">Unicode Rxvt</a>
|
|
<ul>
|
|
<li><a href="#org8150c01">Installation</a></li>
|
|
<li><a href="#orgbbd62b7">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orga137c38">Shell: Bash and ZSH</a>
|
|
<ul>
|
|
<li><a href="#orgf6c7287">Installation</a></li>
|
|
<li><a href="#org8b815b1">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org6f481d0">Terminal Multiplexer: Tmux</a>
|
|
<ul>
|
|
<li><a href="#org1ff56ed">Installation</a></li>
|
|
<li><a href="#orgbbc50b8">Configuration</a></li>
|
|
<li><a href="#org4415c83">Ressources</a></li>
|
|
<li><a href="#org2890b76">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org2f520af">Fonts</a>
|
|
<ul>
|
|
<li><a href="#org0589414">Installation</a></li>
|
|
<li><a href="#org5945884">Default fonts</a></li>
|
|
<li><a href="#org526a515">Select font</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgfb566f9">Text Editors</a>
|
|
<ul>
|
|
<li><a href="#orgd117078">Neovim</a>
|
|
<ul>
|
|
<li><a href="#orge39f325">Installation</a></li>
|
|
<li><a href="#org807c595">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org6308a47">Emacs</a>
|
|
<ul>
|
|
<li><a href="#org06eb895">Installation</a></li>
|
|
<li><a href="#orgf863ac2">Configuration</a></li>
|
|
<li><a href="#org6b624f9">SpellCheck with Aspell</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org473374c">SSH setup</a>
|
|
<ul>
|
|
<li><a href="#orgdd564e1">Generating a new SSH key</a></li>
|
|
<li><a href="#orgab2b907">Start the ssh-agent in the background</a></li>
|
|
<li><a href="#orgb802049">Add the SSH key to the ssh-agent</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org57519a2">GnuPG</a>
|
|
<ul>
|
|
<li><a href="#org6e77f41">Install the gnupg package:</a></li>
|
|
<li><a href="#orgc04b768">Create a key pair</a></li>
|
|
<li><a href="#org565432f">Configure the gpg-agent to cache the passphrase</a></li>
|
|
<li><a href="#orgac500b1">Gnome-Keyring and automatic GnuPG key unlocking</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org1a0d488">Launcher - Rofi</a>
|
|
<ul>
|
|
<li><a href="#org31e8224">Installation</a></li>
|
|
<li><a href="#orgf7e9bf6">Setup rofi as a dmenu replacement</a></li>
|
|
<li><a href="#org22a7523">Run sudo commands with rofi</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgd143261">Password Manager: Pass</a>
|
|
<ul>
|
|
<li><a href="#org50bf175">Install the pass package</a></li>
|
|
<li><a href="#orgf4fcd8d">Initialize the password store as a git repository</a></li>
|
|
<li><a href="#org91695fd">Gui Manager</a></li>
|
|
<li><a href="#orgb740b78">Integration with Rofi</a>
|
|
<ul>
|
|
<li><a href="#orgf79f3dd">Installation</a></li>
|
|
<li><a href="#org344b11a">Alternative</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org0bcd3ad">Integration with Browsers</a></li>
|
|
<li><a href="#org91e58a6">Integration with Git</a>
|
|
<ul>
|
|
<li><a href="#org0e9281d">Installation</a></li>
|
|
<li><a href="#org9b3557f">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgeb12c58">Integration with other programs</a></li>
|
|
<li><a href="#orgd86be28">Alternative - Bitwarden</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org650b5b9">Bookmark Manager: Buku</a>
|
|
<ul>
|
|
<li><a href="#orgb562862">Installation</a></li>
|
|
<li><a href="#org99e420c">Integration with Rofi</a>
|
|
<ul>
|
|
<li><a href="#orgd54e736">Installation</a></li>
|
|
<li><a href="#org7baf517">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org7426f9e">Integration with qutebrowser</a></li>
|
|
<li><a href="#orgaa1d007">Synchronization with a git repository</a></li>
|
|
<li><a href="#orgb6a2d97">Import Bookmarks from Firefox and Chrome</a></li>
|
|
<li><a href="#org9f1ed22">Web Interface</a></li>
|
|
<li><a href="#org50b9615">Cheatsheet</a></li>
|
|
<li><a href="#orgaf835d1">Alternatives</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org36690f1">Browser: qutebrowser</a>
|
|
<ul>
|
|
<li><a href="#orgd691134">Installation</a></li>
|
|
<li><a href="#org53f4b15">View Pdf inside qutebrowser with pdfjs</a>
|
|
<ul>
|
|
<li><a href="#org9562f9d">Installation</a></li>
|
|
<li><a href="#org97c836d">Usage</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgbb0b801">Integration with Pass: the password manager</a></li>
|
|
<li><a href="#org2b9eb9c">Integration with Buku</a></li>
|
|
<li><a href="#org424393f">Spell Checking</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orge07e77a">Monitors</a></li>
|
|
<li><a href="#orga9be74f">Sound Setup</a></li>
|
|
<li><a href="#orgfd73370">Music Setup</a>
|
|
<ul>
|
|
<li><a href="#org0099d76">Sound Server - Pulse Audio</a></li>
|
|
<li><a href="#orgaadbe70">Audio Server - MPD</a>
|
|
<ul>
|
|
<li><a href="#org570e54e">Installation</a></li>
|
|
<li><a href="#org12a6895">Automatic Startup</a></li>
|
|
<li><a href="#orgde1e0b3">Command line interface to MPD - MPC</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org75fcf14">Audio Server with Spotify - Mopidy</a></li>
|
|
<li><a href="#org0bb84af">MPD Client - ncmpcpp</a>
|
|
<ul>
|
|
<li><a href="#org9ab8745">Installation</a></li>
|
|
<li><a href="#orgb160413">Config</a></li>
|
|
<li><a href="#org46d26ce">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orge0f38aa">Library Manager - beets</a>
|
|
<ul>
|
|
<li><a href="#orgfc01ccd">Installation</a></li>
|
|
<li><a href="#orgdb732d5">Configuration</a></li>
|
|
<li><a href="#org7ddac78">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org9511149">Movies</a>
|
|
<ul>
|
|
<li><a href="#org15efc6a">Media Player - MPV</a>
|
|
<ul>
|
|
<li><a href="#org4ceccf3">Installation</a></li>
|
|
<li><a href="#org4cb3e69">Key Bindings</a></li>
|
|
<li><a href="#org69ed93a">CheatSheet</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org7c61263">Chromecast with CATT</a>
|
|
<ul>
|
|
<li><a href="#org90e8a7c">Installation</a></li>
|
|
<li><a href="#org3c66bda">Usage to cast videos to chromecast</a></li>
|
|
<li><a href="#org6c221fb">Usage for controlling the device</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orga153057">Contact Manager</a>
|
|
<ul>
|
|
<li><a href="#org989df8f">Google Conctacts: Khard</a></li>
|
|
<li><a href="#orgbbf313d">Mu</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgb9fb4a8">Connect with Phone</a></li>
|
|
<li><a href="#orgb29bcc9">Chat Application - Weechat</a>
|
|
<ul>
|
|
<li><a href="#orgc0b1a6b">Installation</a></li>
|
|
<li><a href="#org9ecde09">Enable mouse support</a></li>
|
|
<li><a href="#org268077f">Scripts</a></li>
|
|
<li><a href="#orgc2f3551">Theme</a></li>
|
|
<li><a href="#org06f8d21">Configuration</a></li>
|
|
<li><a href="#orgdec4290">Multi-line messages</a></li>
|
|
<li><a href="#org7505e4b">Send message using <code>$EDITOR</code></a></li>
|
|
<li><a href="#orgb6ce9d7">CheatSheet</a></li>
|
|
<li><a href="#org839ce09">Slack Integration</a>
|
|
<ul>
|
|
<li><a href="#org575b3b5">Installation</a></li>
|
|
<li><a href="#orgf0499df">Add your Slack API key(s)</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org82edf1f">Aspell</a></li>
|
|
<li><a href="#org8361cab">Notifications</a></li>
|
|
<li><a href="#orgebd2a1f">Deamon and Client</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org279ab07">Redshift</a></li>
|
|
<li><a href="#org8a3d85f">Mail Setup</a>
|
|
<ul>
|
|
<li><a href="#org90a52ef">Synchronize Mailboxes - Mbsync</a>
|
|
<ul>
|
|
<li><a href="#orgb8fd070">Installation</a></li>
|
|
<li><a href="#org31ca840">Configuration</a></li>
|
|
<li><a href="#orgfff8219">Automation using systemd</a>
|
|
<ul>
|
|
<li><a href="#org9cb1913">Retreive New mails</a></li>
|
|
<li><a href="#orga0e4845">Synchronize all the mailboxes</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org68e3ec9">Send Mails - Msmtp</a>
|
|
<ul>
|
|
<li><a href="#orgece4389">Installation</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgca103dd">Mail Index, Search and Tagging - Mu</a></li>
|
|
<li><a href="#orgaec6b5f">Mail Client - NeoMutt</a>
|
|
<ul>
|
|
<li><a href="#org42ac6d4">Installation</a></li>
|
|
<li><a href="#orgbc0c034">Display html mails</a></li>
|
|
<li><a href="#orgfa9e080">Open PDF from mail</a></li>
|
|
<li><a href="#org643814d">Open Url from mail</a></li>
|
|
<li><a href="#orgf5a894f">Ressources</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org1cedf19">Notification system</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org88b8e12">File Manager</a>
|
|
<ul>
|
|
<li><a href="#orge21125c">Ranger</a>
|
|
<ul>
|
|
<li><a href="#org49f27c1">Installation</a></li>
|
|
<li><a href="#orga819d18">Configuration</a></li>
|
|
<li><a href="#org9c7bfe8">Display pdf</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org7ef6720">GUI File Manager: pcmanfm</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org6839bbd">Image viewer</a>
|
|
<ul>
|
|
<li><a href="#orgbf3bb49">sxiv</a>
|
|
<ul>
|
|
<li><a href="#org2d70070">Installation</a></li>
|
|
<li><a href="#org248e234">Open Gif</a></li>
|
|
<li><a href="#org08f3174">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org2f3019b">HotKeyManager - SXHKD</a></li>
|
|
<li><a href="#orgcfe7bd0">Windows Manager - i3</a>
|
|
<ul>
|
|
<li><a href="#org9f09b92">Installation</a></li>
|
|
<li><a href="#org082ace1">Configuration</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org7d321e8">Polybar</a>
|
|
<ul>
|
|
<li><a href="#org1683b16">Installation</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgfc0fd25">Compositor - Picom</a>
|
|
<ul>
|
|
<li><a href="#orgec4afb5">Installation</a></li>
|
|
<li><a href="#orgcc08d82">Configuration</a></li>
|
|
<li><a href="#org664d120">Automatic run as daemon</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgbaf69cd">Notification Manager - Dunst</a>
|
|
<ul>
|
|
<li><a href="#org53c5eeb">Installation</a></li>
|
|
<li><a href="#org49ce3cc">Configuration</a></li>
|
|
<li><a href="#org7b1c8b4">Usage</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org0eede2c">Office Suite</a>
|
|
<ul>
|
|
<li><a href="#org11f521b">WPS Office</a></li>
|
|
<li><a href="#org6254886">Minimap SpreadSheet - SC-IM</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orge111fe1">Managing Theme</a>
|
|
<ul>
|
|
<li><a href="#orgf319daa">GTK Themes</a>
|
|
<ul>
|
|
<li><a href="#org33d0e7c">Gui Manager</a></li>
|
|
<li><a href="#org8562db2">Icons and themes</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org096f3a5">QT Themes</a></li>
|
|
<li><a href="#org006f7d1">XFT Themes</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgd878c51">Advanced config</a>
|
|
<ul>
|
|
<li><a href="#org2c2aa64">Printer</a></li>
|
|
<li><a href="#orgac7fd77">Kernel Management</a></li>
|
|
<li><a href="#orgea2fafd">Power Management Tool: Powertop</a></li>
|
|
<li><a href="#orga3e7c85">Lid open/close</a></li>
|
|
<li><a href="#org55e904c">Automatically Mount devices - Udiskie</a></li>
|
|
<li><a href="#org269f916">Format disks</a></li>
|
|
<li><a href="#orgc872306">Bluetooth</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgf292135">LaTeX</a>
|
|
<ul>
|
|
<li><a href="#orgbded50e">Installation</a></li>
|
|
<li><a href="#orgfdff683">Personnal classes/packages</a></li>
|
|
<li><a href="#org9cfccdd">From screenshot to latex math formula</a>
|
|
<ul>
|
|
<li><a href="#orgb9542e3">Installation</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orge777a95">Mathematical Software</a>
|
|
<ul>
|
|
<li><a href="#orge40dc55">Insect</a>
|
|
<ul>
|
|
<li><a href="#orgd85a799">Installation</a></li>
|
|
<li><a href="#orgcebc57b">Usage</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org06cb08a">Matlab</a>
|
|
<ul>
|
|
<li><a href="#org37050ac">Installation</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orga7fa13a">SageMath</a>
|
|
<ul>
|
|
<li><a href="#orgc3b0f51">Installation</a></li>
|
|
<li><a href="#orgf0a916b">Usage</a></li>
|
|
<li><a href="#orgb2efdf2">Documentation</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org3a97f60">Download Manager</a>
|
|
<ul>
|
|
<li><a href="#org5a9831a">Torrent Client - deluge</a>
|
|
<ul>
|
|
<li><a href="#org38cbbde">Installation</a></li>
|
|
<li><a href="#org195d430">Configuration</a></li>
|
|
<li><a href="#orgcc19a06">Command Line Interface</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgc211495">Youtube-dl</a>
|
|
<ul>
|
|
<li><a href="#org43f7ea4">Download best audio</a></li>
|
|
<li><a href="#orga8247dd">Download best video with audio</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgbbe6412">Default Applications</a>
|
|
<ul>
|
|
<li><a href="#org9c88ec5">Mailcap file</a></li>
|
|
<li><a href="#org78cb6e6">XDG-OPEN</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org56d63a9">Desktop files</a></li>
|
|
<li><a href="#org642aaaf">Bibliography Management</a>
|
|
<ul>
|
|
<li><a href="#orgefa974f">Alternatives:</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgdecd381">Calendar</a>
|
|
<ul>
|
|
<li><a href="#org2162752">Vdirsyncer - Sync calendars</a>
|
|
<ul>
|
|
<li><a href="#org20ed590">Installation</a></li>
|
|
<li><a href="#org08ff646">Cheatsheet</a></li>
|
|
<li><a href="#org5f9f081">Automation - Systemd</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org96ca2fb">Calendar Client - Khal</a>
|
|
<ul>
|
|
<li><a href="#orgc21de3b">Installation</a></li>
|
|
<li><a href="#orgdfcd9d1">Import ICS files</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org9919ed3">RSS Reader</a>
|
|
<ul>
|
|
<li><a href="#org6879bd2">Newsboat</a>
|
|
<ul>
|
|
<li><a href="#orgf926f29">Installation</a></li>
|
|
<li><a href="#org778f644">Configuration</a></li>
|
|
<li><a href="#org02e0db3">CheatSheet</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org4b6777e">Task Manager</a>
|
|
<ul>
|
|
<li><a href="#orgd889db4">OrgMode and Emacs</a></li>
|
|
<li><a href="#orgcfae2cb">Wunderline</a>
|
|
<ul>
|
|
<li><a href="#orgc301829">Installation</a></li>
|
|
<li><a href="#org8cc5949">Cheatsheet</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org2ec9b45">Background manager: nitrogen</a>
|
|
<ul>
|
|
<li><a href="#orgd6b3241">Configuration</a></li>
|
|
<li><a href="#orgfa3853c">Wallpapers</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org2973f94">PDF Reader: Zathura</a>
|
|
<ul>
|
|
<li><a href="#orgda5b918">Installation</a></li>
|
|
<li><a href="#org95d8b62">Configuration</a></li>
|
|
<li><a href="#orga15ade6">Cheatsheet</a></li>
|
|
<li><a href="#orgaa85007">Multi-monitor pdf presentation - pdfpc</a>
|
|
<ul>
|
|
<li><a href="#org5ca28fd">Installation</a></li>
|
|
<li><a href="#org26bd0c5">Video support</a></li>
|
|
<li><a href="#orged86e0c">Usage</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org82dc6c4">Theme manager</a>
|
|
<ul>
|
|
<li><a href="#org2faeb0a">Base16</a>
|
|
<ul>
|
|
<li><a href="#orgedba202">Base16 Philosophy</a></li>
|
|
<li><a href="#orgfd5a140">Base16-shell</a></li>
|
|
<li><a href="#orgc5cd5bd">Base16-manager</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgda94ccd">Graphical Editor</a></li>
|
|
<li><a href="#org380e7ca">VPN Setup with NordVPN</a>
|
|
<ul>
|
|
<li><a href="#org48229c9">Installation</a></li>
|
|
<li><a href="#org0bb4304">Configuration</a></li>
|
|
<li><a href="#org42c3503">Usage</a></li>
|
|
<li><a href="#org1786e75">Alternative: Use NordVPM with openVPN Instead</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org7dc8acf">Others</a>
|
|
<ul>
|
|
<li><a href="#org8aede8c">Reddit on terminal: rtv</a></li>
|
|
<li><a href="#org480f125">Interact with API</a></li>
|
|
<li><a href="#orgb738acd">Take Screenshot</a></li>
|
|
<li><a href="#orga7e80a6">Utilities</a></li>
|
|
<li><a href="#org977e47b">Trash</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org8efd663">Usefull commands</a>
|
|
<ul>
|
|
<li><a href="#org21f1dc9">Find files or directories</a></li>
|
|
<li><a href="#orga12d3a0">Show informations about the machine</a></li>
|
|
<li><a href="#org5488b8e">Work with PDF</a></li>
|
|
<li><a href="#org73b7d82">Separate PDF</a></li>
|
|
<li><a href="#org633fefe">Readline</a>
|
|
<ul>
|
|
<li><a href="#orgb17be2a">Cursor Movement</a></li>
|
|
<li><a href="#org1d27903">Copy & Paste</a></li>
|
|
<li><a href="#org407fc37">History</a></li>
|
|
<li><a href="#org86767d6">Completion</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org017868f">Google translate from the command line</a></li>
|
|
<li><a href="#orgcc9e876">Others</a></li>
|
|
<li><a href="#orgad9efa3">Archive and Extract</a></li>
|
|
<li><a href="#orgc50b863">Hardware</a></li>
|
|
<li><a href="#org897b084">Network</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org0150854">Bash Snippets</a>
|
|
<ul>
|
|
<li><a href="#orga4fec90">For loop</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org79f21d6">Some notes - Systemd</a></li>
|
|
<li><a href="#org8d9fe19">Ressources</a>
|
|
<ul>
|
|
<li><a href="#org82f7678">Dotfiles</a></li>
|
|
<li><a href="#orgb87ec7b">Linux Softwares</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org32f001f" class="outline-2">
|
|
<h2 id="org32f001f">Links to literate configs</h2>
|
|
<div class="outline-text-2" id="text-org32f001f">
|
|
<p>
|
|
Desktop Configuration:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li>Windows Manager: <a href="bspwm.html">BSPWM</a> and <a href="i3.html">I3</a></li>
|
|
<li>Hotkey Manager: <a href="sxhkd.html">SXHKD</a></li>
|
|
<li>Status Bar: <a href="polybar.html">Polybar</a></li>
|
|
<li>Launcher: <a href="rofi.html">Rofi</a></li>
|
|
<li>Compositor: <a href="compositor.html">Picom</a></li>
|
|
<li>Notification Manager: <a href="notifications.html">Dunst</a></li>
|
|
<li><a href="systemd.html">Systemd</a></li>
|
|
<li><a href="xconfig.html">X configuration</a></li>
|
|
</ul>
|
|
|
|
<p>
|
|
Editors:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="vim.html">Vim</a></li>
|
|
<li><a href="./doom.html">Doom Emacs</a> (old <a href="spacemacs.html">Spacacemacs</a> configuration)</li>
|
|
</ul>
|
|
|
|
<p>
|
|
Command Line:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="bash.html">Bash</a> and <a href="zsh.html">ZSH</a></li>
|
|
<li>Terminal: <a href="termite.html">Termite</a></li>
|
|
<li>Terminal Multiplexer <a href="tmux.html">TMUX</a></li>
|
|
</ul>
|
|
|
|
<p>
|
|
Multimedia:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="image.html">Image</a></li>
|
|
<li><a href="music.html">Music</a></li>
|
|
<li><a href="video.html">Video</a></li>
|
|
</ul>
|
|
|
|
<p>
|
|
Internet Related:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li>Bookmark Manager: <a href="bookmarks.html">Buku</a></li>
|
|
<li>Web Browser: <a href="qutebrowser.html">Qutebrowser</a></li>
|
|
</ul>
|
|
|
|
<p>
|
|
PDF Reader:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="zathura.html">Zathura</a></li>
|
|
</ul>
|
|
|
|
<p>
|
|
File Managers:
|
|
</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>
|
|
|
|
<p>
|
|
Organization:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="calendar.html">Calendar</a></li>
|
|
<li><a href="mail.html">Mail</a></li>
|
|
<li><a href="contacts.html">Contacts</a></li>
|
|
<li>RSS-Reader: <a href="newsboat.html">Newsboat</a></li>
|
|
</ul>
|
|
|
|
<p>
|
|
Others:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li><a href="applications.html">Desktop Applications</a></li>
|
|
<li><a href="matlab.html">Matlab</a></li>
|
|
<li>Some useful <a href="binaries.html">Binaries</a></li>
|
|
<li>Some useful <a href="scripts.html">Scripts</a></li>
|
|
<li><a href="git.html">Git</a> Configuration</li>
|
|
<li><a href="gtk.html">GTK</a></li>
|
|
<li><a href="config.html">Other Config</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc6e30ea" class="outline-2">
|
|
<h2 id="orgc6e30ea">Package Manager: yay</h2>
|
|
<div class="outline-text-2" id="text-orgc6e30ea">
|
|
<p>
|
|
<a href="https://github.com/Jguer/yay">https://github.com/Jguer/yay</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org20b86a6" class="outline-3">
|
|
<h3 id="org20b86a6">Installation</h3>
|
|
<div class="outline-text-3" id="text-org20b86a6">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-type">sudo</span> pacman -S yay
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga8a9b85" class="outline-3">
|
|
<h3 id="orga8a9b85">CheatSheet</h3>
|
|
<div class="outline-text-3" id="text-orga8a9b85">
|
|
<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-org9a31d35" class="outline-2">
|
|
<h2 id="org9a31d35">Git Setup</h2>
|
|
<div class="outline-text-2" id="text-org9a31d35">
|
|
<p>
|
|
<a href="https://git-scm.com/">https://git-scm.com/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org4888b5d" class="outline-3">
|
|
<h3 id="org4888b5d">Installation</h3>
|
|
<div class="outline-text-3" id="text-org4888b5d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S <span class="org-type">git</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgeb1a3f5" class="outline-3">
|
|
<h3 id="orgeb1a3f5">Configuration</h3>
|
|
<div class="outline-text-3" id="text-orgeb1a3f5">
|
|
<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-org341237a" class="outline-3">
|
|
<h3 id="org341237a">Diff-So-Fancy</h3>
|
|
<div class="outline-text-3" id="text-org341237a">
|
|
<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-org3ad896c" class="outline-4">
|
|
<h4 id="org3ad896c">Installation</h4>
|
|
<div class="outline-text-4" id="text-org3ad896c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S diff-so-fancy
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org31f0df4" class="outline-4">
|
|
<h4 id="org31f0df4">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org31f0df4">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-type">git</span> config --global core.pager <span class="org-string">"diff-so-fancy | </span><span class="org-type"><span class="org-string">less</span></span><span class="org-string"> --tabs=4 -RFX"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8210b2c" class="outline-3">
|
|
<h3 id="org8210b2c">Credential Helper setup with Pass</h3>
|
|
<div class="outline-text-3" id="text-org8210b2c">
|
|
<p>
|
|
This is explained in a further part: <a href="#org91e58a6">Integration of Pass with Git</a>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org494be80" class="outline-2">
|
|
<h2 id="org494be80">Terminal</h2>
|
|
<div class="outline-text-2" id="text-org494be80">
|
|
<p>
|
|
<a href="https://github.com/thestinger/termite">https://github.com/thestinger/termite</a>
|
|
</p>
|
|
</div>
|
|
<div id="outline-container-orga0a6386" class="outline-3">
|
|
<h3 id="orga0a6386">Termite</h3>
|
|
<div class="outline-text-3" id="text-orga0a6386">
|
|
</div>
|
|
<div id="outline-container-org22471e0" class="outline-4">
|
|
<h4 id="org22471e0">Installation</h4>
|
|
<div class="outline-text-4" id="text-org22471e0">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S termite
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf387b80" class="outline-4">
|
|
<h4 id="orgf387b80">Configuration</h4>
|
|
<div class="outline-text-4" id="text-orgf387b80">
|
|
<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-orgfdcd108" class="outline-4">
|
|
<h4 id="orgfdcd108">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-orgfdcd108">
|
|
<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-orgff47016" class="outline-3">
|
|
<h3 id="orgff47016">Unicode Rxvt</h3>
|
|
<div class="outline-text-3" id="text-orgff47016">
|
|
</div>
|
|
<div id="outline-container-org8150c01" class="outline-4">
|
|
<h4 id="org8150c01">Installation</h4>
|
|
<div class="outline-text-4" id="text-org8150c01">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S rxvt-unicode
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgbbd62b7" class="outline-4">
|
|
<h4 id="orgbbd62b7">Configuration</h4>
|
|
<div class="outline-text-4" id="text-orgbbd62b7">
|
|
<p>
|
|
Most of Urxvt configuration is done in <code>~/.Xresources</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga137c38" class="outline-2">
|
|
<h2 id="orga137c38">Shell: Bash and ZSH</h2>
|
|
<div class="outline-text-2" id="text-orga137c38">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/Bash">https://wiki.archlinux.org/index.php/Bash</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf6c7287" class="outline-3">
|
|
<h3 id="orgf6c7287">Installation</h3>
|
|
<div class="outline-text-3" id="text-orgf6c7287">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S bash bash-completion zsh
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8b815b1" class="outline-3">
|
|
<h3 id="org8b815b1">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org8b815b1">
|
|
<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-org6f481d0" class="outline-2">
|
|
<h2 id="org6f481d0">Terminal Multiplexer: Tmux</h2>
|
|
<div class="outline-text-2" id="text-org6f481d0">
|
|
<p>
|
|
<a href="https://github.com/tmux/tmux">https://github.com/tmux/tmux</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org1ff56ed" class="outline-3">
|
|
<h3 id="org1ff56ed">Installation</h3>
|
|
<div class="outline-text-3" id="text-org1ff56ed">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S tmux
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgbbc50b8" class="outline-3">
|
|
<h3 id="orgbbc50b8">Configuration</h3>
|
|
<div class="outline-text-3" id="text-orgbbc50b8">
|
|
<p>
|
|
<a href="tmux.html">TMUX</a> configuration
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org4415c83" class="outline-3">
|
|
<h3 id="org4415c83">Ressources</h3>
|
|
<div class="outline-text-3" id="text-org4415c83">
|
|
<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-org2890b76" class="outline-3">
|
|
<h3 id="org2890b76">Cheatsheet</h3>
|
|
<div class="outline-text-3" id="text-org2890b76">
|
|
<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-org2f520af" class="outline-2">
|
|
<h2 id="org2f520af">Fonts</h2>
|
|
<div class="outline-text-2" id="text-org2f520af">
|
|
</div>
|
|
<div id="outline-container-org0589414" class="outline-3">
|
|
<h3 id="org0589414">Installation</h3>
|
|
<div class="outline-text-3" id="text-org0589414">
|
|
<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>
|
|
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S ttf-inconsolata ttf-linux-libertine ttf-emojione
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org5945884" class="outline-3">
|
|
<h3 id="org5945884">Default fonts</h3>
|
|
<div class="outline-text-3" id="text-org5945884">
|
|
<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-org526a515" class="outline-3">
|
|
<h3 id="org526a515">Select font</h3>
|
|
<div class="outline-text-3" id="text-org526a515">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S gtk2fontsel
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfb566f9" class="outline-2">
|
|
<h2 id="orgfb566f9">Text Editors</h2>
|
|
<div class="outline-text-2" id="text-orgfb566f9">
|
|
</div>
|
|
<div id="outline-container-orgd117078" class="outline-3">
|
|
<h3 id="orgd117078">Neovim</h3>
|
|
<div class="outline-text-3" id="text-orgd117078">
|
|
<p>
|
|
<a href="https://github.com/neovim/neovim">https://github.com/neovim/neovim</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orge39f325" class="outline-4">
|
|
<h4 id="orge39f325">Installation</h4>
|
|
<div class="outline-text-4" id="text-orge39f325">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S neovim
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org807c595" class="outline-4">
|
|
<h4 id="org807c595">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org807c595">
|
|
<p>
|
|
<a href="vim.html">Vim</a> configuration
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org6308a47" class="outline-3">
|
|
<h3 id="org6308a47">Emacs</h3>
|
|
<div class="outline-text-3" id="text-org6308a47">
|
|
<p>
|
|
<a href="https://www.gnu.org/software/emacs/">https://www.gnu.org/software/emacs/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org06eb895" class="outline-4">
|
|
<h4 id="org06eb895">Installation</h4>
|
|
<div class="outline-text-4" id="text-org06eb895">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S emacs
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf863ac2" class="outline-4">
|
|
<h4 id="orgf863ac2">Configuration</h4>
|
|
<div class="outline-text-4" id="text-orgf863ac2">
|
|
<p>
|
|
<a href="./doom.html">Doom Emacs</a> configuration
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org6b624f9" class="outline-4">
|
|
<h4 id="org6b624f9">SpellCheck with Aspell</h4>
|
|
<div class="outline-text-4" id="text-org6b624f9">
|
|
<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-org473374c" class="outline-2">
|
|
<h2 id="org473374c">SSH setup</h2>
|
|
<div class="outline-text-2" id="text-org473374c">
|
|
</div>
|
|
<div id="outline-container-orgdd564e1" class="outline-3">
|
|
<h3 id="orgdd564e1">Generating a new SSH key</h3>
|
|
<div class="outline-text-3" id="text-orgdd564e1">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">ssh-keygen -t rsa -b <span class="org-highlight-numbers-number">4096</span> -C <span class="org-string">"dehaeze.thomas@gmail.com"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgab2b907" class="outline-3">
|
|
<h3 id="orgab2b907">Start the ssh-agent in the background</h3>
|
|
<div class="outline-text-3" id="text-orgab2b907">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-builtin">eval</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ssh-agent</span><span class="org-string"><span class="org-sh-quoted-exec"> -s)</span></span><span class="org-string">"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb802049" class="outline-3">
|
|
<h3 id="orgb802049">Add the SSH key to the ssh-agent</h3>
|
|
<div class="outline-text-3" id="text-orgb802049">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">ssh-add ~/.ssh/id_rsa
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org57519a2" class="outline-2">
|
|
<h2 id="org57519a2">GnuPG</h2>
|
|
<div class="outline-text-2" id="text-org57519a2">
|
|
<p>
|
|
<a href="https://gnupg.org/">https://gnupg.org/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org6e77f41" class="outline-3">
|
|
<h3 id="org6e77f41">Install the gnupg package:</h3>
|
|
<div class="outline-text-3" id="text-org6e77f41">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S gnupg
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc04b768" class="outline-3">
|
|
<h3 id="orgc04b768">Create a key pair</h3>
|
|
<div class="outline-text-3" id="text-orgc04b768">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">gpg --full-gen-key
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org565432f" class="outline-3">
|
|
<h3 id="org565432f">Configure the gpg-agent to cache the passphrase</h3>
|
|
<div class="outline-text-3" id="text-org565432f">
|
|
<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 <span class="org-highlight-numbers-number">60480000</span>
|
|
max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgac500b1" class="outline-3">
|
|
<h3 id="orgac500b1">Gnome-Keyring and automatic GnuPG key unlocking</h3>
|
|
<div class="outline-text-3" id="text-orgac500b1">
|
|
<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-org1a0d488" class="outline-2">
|
|
<h2 id="org1a0d488">Launcher - Rofi</h2>
|
|
<div class="outline-text-2" id="text-org1a0d488">
|
|
<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-org31e8224" class="outline-3">
|
|
<h3 id="org31e8224">Installation</h3>
|
|
<div class="outline-text-3" id="text-org31e8224">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S rofi
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf7e9bf6" class="outline-3">
|
|
<h3 id="orgf7e9bf6">Setup rofi as a dmenu replacement</h3>
|
|
<div class="outline-text-3" id="text-orgf7e9bf6">
|
|
<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-org22a7523" class="outline-3">
|
|
<h3 id="org22a7523">Run sudo commands with rofi</h3>
|
|
<div class="outline-text-3" id="text-org22a7523">
|
|
<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"><span class="org-builtin">export</span> <span class="org-variable-name">SUDO_ASKPASS</span>=~/bin/askpass-rofi
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
The <code>askpass</code> script is:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-comment-delimiter">#</span><span class="org-comment">!/bin/</span><span class="org-keyword">sh</span>
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Take password prompt from STDIN, print password to STDOUT</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">the sed piece just removes the colon from the provided</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">prompt: rofi -p already gives us a colon</span>
|
|
rofi -dmenu <span class="org-sh-escaped-newline">\</span>
|
|
-password <span class="org-sh-escaped-newline">\</span>
|
|
-no-fixed-num-lines <span class="org-sh-escaped-newline">\</span>
|
|
-p <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">printf</span><span class="org-string"><span class="org-sh-quoted-exec"> "</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">1</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">" | sed s/://)</span></span><span class="org-string">"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd143261" class="outline-2">
|
|
<h2 id="orgd143261">Password Manager: Pass</h2>
|
|
<div class="outline-text-2" id="text-orgd143261">
|
|
<p>
|
|
<a href="https://www.passwordstore.org/">https://www.passwordstore.org/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org50bf175" class="outline-3">
|
|
<h3 id="org50bf175">Install the pass package</h3>
|
|
<div class="outline-text-3" id="text-org50bf175">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pass
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf4fcd8d" class="outline-3">
|
|
<h3 id="orgf4fcd8d">Initialize the password store as a git repository</h3>
|
|
<div class="outline-text-3" id="text-orgf4fcd8d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">pass <span class="org-type">git</span> init
|
|
pass <span class="org-type">git</span> remote add origin https://github.com/tdehaeze/pass.git
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org91695fd" class="outline-3">
|
|
<h3 id="org91695fd">Gui Manager</h3>
|
|
<div class="outline-text-3" id="text-org91695fd">
|
|
<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-orgb740b78" class="outline-3">
|
|
<h3 id="orgb740b78">Integration with Rofi</h3>
|
|
<div class="outline-text-3" id="text-orgb740b78">
|
|
<p>
|
|
<a href="https://github.com/carnager/rofi-pass">https://github.com/carnager/rofi-pass</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf79f3dd" class="outline-4">
|
|
<h4 id="orgf79f3dd">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgf79f3dd">
|
|
<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-org344b11a" class="outline-4">
|
|
<h4 id="org344b11a">Alternative</h4>
|
|
<div class="outline-text-4" id="text-org344b11a">
|
|
<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-org0bcd3ad" class="outline-3">
|
|
<h3 id="org0bcd3ad">Integration with Browsers</h3>
|
|
<div class="outline-text-3" id="text-org0bcd3ad">
|
|
<p>
|
|
This is explained <a href="#orgbb0b801">here</a>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org91e58a6" class="outline-3">
|
|
<h3 id="org91e58a6">Integration with Git</h3>
|
|
<div class="outline-text-3" id="text-org91e58a6">
|
|
<p>
|
|
<a href="https://github.com/languitar/pass-git-helper">https://github.com/languitar/pass-git-helper</a>
|
|
</p>
|
|
</div>
|
|
<div id="outline-container-org0e9281d" class="outline-4">
|
|
<h4 id="org0e9281d">Installation</h4>
|
|
<div class="outline-text-4" id="text-org0e9281d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pass-git-helper
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9b3557f" class="outline-4">
|
|
<h4 id="org9b3557f">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org9b3557f">
|
|
<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-orgeb12c58" class="outline-3">
|
|
<h3 id="orgeb12c58">Integration with other programs</h3>
|
|
<div class="outline-text-3" id="text-orgeb12c58">
|
|
<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-orgd86be28" class="outline-3">
|
|
<h3 id="orgd86be28">Alternative - Bitwarden</h3>
|
|
<div class="outline-text-3" id="text-orgd86be28">
|
|
<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-org650b5b9" class="outline-2">
|
|
<h2 id="org650b5b9">Bookmark Manager: Buku</h2>
|
|
<div class="outline-text-2" id="text-org650b5b9">
|
|
<p>
|
|
<a href="https://github.com/jarun/Buku">https://github.com/jarun/Buku</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb562862" class="outline-3">
|
|
<h3 id="orgb562862">Installation</h3>
|
|
<div class="outline-text-3" id="text-orgb562862">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S buku
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org99e420c" class="outline-3">
|
|
<h3 id="org99e420c">Integration with Rofi</h3>
|
|
<div class="outline-text-3" id="text-org99e420c">
|
|
<p>
|
|
<a href="https://github.com/carnager/buku_run">https://github.com/carnager/buku_run</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd54e736" class="outline-4">
|
|
<h4 id="orgd54e736">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgd54e736">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">wget https://raw.githubusercontent.com/carnager/buku_run/master/buku_run -o ~/bin/buku_run
|
|
<span class="org-type">chmod</span> +x ~/bin/buku_run
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7baf517" class="outline-4">
|
|
<h4 id="org7baf517">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org7baf517">
|
|
<p>
|
|
The configuration file is here: <code>~/.config/buku_run/config</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7426f9e" class="outline-3">
|
|
<h3 id="org7426f9e">Integration with qutebrowser</h3>
|
|
<div class="outline-text-3" id="text-org7426f9e">
|
|
<p>
|
|
<a href="#org2b9eb9c">Integration with Buku</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgaa1d007" class="outline-3">
|
|
<h3 id="orgaa1d007">Synchronization with a git repository</h3>
|
|
<div class="outline-text-3" id="text-orgaa1d007">
|
|
<p>
|
|
The database is stored in <code>~/.local/share/buku/bookmarks.db</code>.
|
|
</p>
|
|
|
|
<p>
|
|
We initialize a git repository in this folder:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/share/buku/bookmarks.db
|
|
<span class="org-type">git</span> init
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Then we create a script that will automatically add <code>bookmarks.db</code> and push to some repository: <code>~/scripts/buku_git_push.sh</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-orgb6a2d97" class="outline-3">
|
|
<h3 id="orgb6a2d97">Import Bookmarks from Firefox and Chrome</h3>
|
|
<div class="outline-text-3" id="text-orgb6a2d97">
|
|
<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-org9f1ed22" class="outline-3">
|
|
<h3 id="org9f1ed22">Web Interface</h3>
|
|
<div class="outline-text-3" id="text-org9f1ed22">
|
|
<p>
|
|
Run:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">bukuserver run --host 127.0.0.1 --port <span class="org-highlight-numbers-number">5001</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
And then browse to <a href="http://127.0.0.1:5001">http://127.0.0.1:5001</a>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org50b9615" class="outline-3">
|
|
<h3 id="org50b9615">Cheatsheet</h3>
|
|
<div class="outline-text-3" id="text-org50b9615">
|
|
<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-orgaf835d1" class="outline-3">
|
|
<h3 id="orgaf835d1">Alternatives</h3>
|
|
<div class="outline-text-3" id="text-orgaf835d1">
|
|
<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-org36690f1" class="outline-2">
|
|
<h2 id="org36690f1">Browser: qutebrowser</h2>
|
|
<div class="outline-text-2" id="text-org36690f1">
|
|
<p>
|
|
<a href="https://github.com/qutebrowser/qutebrowser">https://github.com/qutebrowser/qutebrowser</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd691134" class="outline-3">
|
|
<h3 id="orgd691134">Installation</h3>
|
|
<div class="outline-text-3" id="text-orgd691134">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S qutebrowser
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org53f4b15" class="outline-3">
|
|
<h3 id="org53f4b15">View Pdf inside qutebrowser with pdfjs</h3>
|
|
<div class="outline-text-3" id="text-org53f4b15">
|
|
</div>
|
|
<div id="outline-container-org9562f9d" class="outline-4">
|
|
<h4 id="org9562f9d">Installation</h4>
|
|
<div class="outline-text-4" id="text-org9562f9d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pdfjs
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org97c836d" class="outline-4">
|
|
<h4 id="org97c836d">Usage</h4>
|
|
<div class="outline-text-4" id="text-org97c836d">
|
|
<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-orgbb0b801" class="outline-3">
|
|
<h3 id="orgbb0b801">Integration with Pass: the password manager</h3>
|
|
<div class="outline-text-3" id="text-orgbb0b801">
|
|
<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-org2b9eb9c" class="outline-3">
|
|
<h3 id="org2b9eb9c">Integration with Buku</h3>
|
|
<div class="outline-text-3" id="text-org2b9eb9c">
|
|
<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-org424393f" class="outline-3">
|
|
<h3 id="org424393f">Spell Checking</h3>
|
|
<div class="outline-text-3" id="text-org424393f">
|
|
<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-orge07e77a" class="outline-2">
|
|
<h2 id="orge07e77a">Monitors</h2>
|
|
<div class="outline-text-2" id="text-orge07e77a">
|
|
<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-orga9be74f" class="outline-2">
|
|
<h2 id="orga9be74f">Sound Setup</h2>
|
|
<div class="outline-text-2" id="text-orga9be74f">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pulseaudio pavucontrol
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfd73370" class="outline-2">
|
|
<h2 id="orgfd73370">Music Setup</h2>
|
|
<div class="outline-text-2" id="text-orgfd73370">
|
|
</div>
|
|
<div id="outline-container-org0099d76" class="outline-3">
|
|
<h3 id="org0099d76">Sound Server - Pulse Audio</h3>
|
|
<div class="outline-text-3" id="text-org0099d76">
|
|
<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-orgaadbe70" class="outline-3">
|
|
<h3 id="orgaadbe70">Audio Server - MPD</h3>
|
|
<div class="outline-text-3" id="text-orgaadbe70">
|
|
<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-org570e54e" class="outline-4">
|
|
<h4 id="org570e54e">Installation</h4>
|
|
<div class="outline-text-4" id="text-org570e54e">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S mpd
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org12a6895" class="outline-4">
|
|
<h4 id="org12a6895">Automatic Startup</h4>
|
|
<div class="outline-text-4" id="text-org12a6895">
|
|
<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-orgde1e0b3" class="outline-4">
|
|
<h4 id="orgde1e0b3">Command line interface to MPD - MPC</h4>
|
|
<div class="outline-text-4" id="text-orgde1e0b3">
|
|
<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-org75fcf14" class="outline-3">
|
|
<h3 id="org75fcf14">Audio Server with Spotify - Mopidy</h3>
|
|
<div class="outline-text-3" id="text-org75fcf14">
|
|
<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-org0bb84af" class="outline-3">
|
|
<h3 id="org0bb84af">MPD Client - ncmpcpp</h3>
|
|
<div class="outline-text-3" id="text-org0bb84af">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/Ncmpcpp">https://wiki.archlinux.org/index.php/Ncmpcpp</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org9ab8745" class="outline-4">
|
|
<h4 id="org9ab8745">Installation</h4>
|
|
<div class="outline-text-4" id="text-org9ab8745">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S ncmpcpp
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb160413" class="outline-4">
|
|
<h4 id="orgb160413">Config</h4>
|
|
<div class="outline-text-4" id="text-orgb160413">
|
|
<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-org46d26ce" class="outline-4">
|
|
<h4 id="org46d26ce">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-org46d26ce">
|
|
<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-orge0f38aa" class="outline-3">
|
|
<h3 id="orge0f38aa">Library Manager - beets</h3>
|
|
<div class="outline-text-3" id="text-orge0f38aa">
|
|
<p>
|
|
<a href="https://github.com/beetbox/beets">https://github.com/beetbox/beets</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfc01ccd" class="outline-4">
|
|
<h4 id="orgfc01ccd">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgfc01ccd">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S beets
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgdb732d5" class="outline-4">
|
|
<h4 id="orgdb732d5">Configuration</h4>
|
|
<div class="outline-text-4" id="text-orgdb732d5">
|
|
<p>
|
|
Configuration folder: <code>~/.config/beets/</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7ddac78" class="outline-4">
|
|
<h4 id="org7ddac78">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-org7ddac78">
|
|
<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-org9511149" class="outline-2">
|
|
<h2 id="org9511149">Movies</h2>
|
|
<div class="outline-text-2" id="text-org9511149">
|
|
</div>
|
|
<div id="outline-container-org15efc6a" class="outline-3">
|
|
<h3 id="org15efc6a">Media Player - MPV</h3>
|
|
<div class="outline-text-3" id="text-org15efc6a">
|
|
</div>
|
|
<div id="outline-container-org4ceccf3" class="outline-4">
|
|
<h4 id="org4ceccf3">Installation</h4>
|
|
<div class="outline-text-4" id="text-org4ceccf3">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S mpv
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org4cb3e69" class="outline-4">
|
|
<h4 id="org4cb3e69">Key Bindings</h4>
|
|
<div class="outline-text-4" id="text-org4cb3e69">
|
|
<p>
|
|
The configuration is set in <code>/.config/mpv/input.conf</code>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org69ed93a" class="outline-4">
|
|
<h4 id="org69ed93a">CheatSheet</h4>
|
|
<div class="outline-text-4" id="text-org69ed93a">
|
|
<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-org7c61263" class="outline-3">
|
|
<h3 id="org7c61263">Chromecast with CATT</h3>
|
|
<div class="outline-text-3" id="text-org7c61263">
|
|
<p>
|
|
<a href="https://github.com/skorokithakis/catt">https://github.com/skorokithakis/catt</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org90e8a7c" class="outline-4">
|
|
<h4 id="org90e8a7c">Installation</h4>
|
|
<div class="outline-text-4" id="text-org90e8a7c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S catt
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org3c66bda" class="outline-4">
|
|
<h4 id="org3c66bda">Usage to cast videos to chromecast</h4>
|
|
<div class="outline-text-4" id="text-org3c66bda">
|
|
<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<sub>site</sub> <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-org6c221fb" class="outline-4">
|
|
<h4 id="org6c221fb">Usage for controlling the device</h4>
|
|
<div class="outline-text-4" id="text-org6c221fb">
|
|
<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-orga153057" class="outline-2">
|
|
<h2 id="orga153057">Contact Manager</h2>
|
|
<div class="outline-text-2" id="text-orga153057">
|
|
</div>
|
|
<div id="outline-container-org989df8f" class="outline-3">
|
|
<h3 id="org989df8f">Google Conctacts: Khard</h3>
|
|
<div class="outline-text-3" id="text-org989df8f">
|
|
<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-orgbbf313d" class="outline-3">
|
|
<h3 id="orgbbf313d">Mu</h3>
|
|
<div class="outline-text-3" id="text-orgbbf313d">
|
|
<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-orgb9fb4a8" class="outline-2">
|
|
<h2 id="orgb9fb4a8">Connect with Phone</h2>
|
|
<div class="outline-text-2" id="text-orgb9fb4a8">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S kdeconnect
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="outline-container-orgb29bcc9" class="outline-2">
|
|
<h2 id="orgb29bcc9">Chat Application - Weechat</h2>
|
|
<div class="outline-text-2" id="text-orgb29bcc9">
|
|
<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-orgc0b1a6b" class="outline-3">
|
|
<h3 id="orgc0b1a6b">Installation</h3>
|
|
<div class="outline-text-3" id="text-orgc0b1a6b">
|
|
<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-org9ecde09" class="outline-3">
|
|
<h3 id="org9ecde09">Enable mouse support</h3>
|
|
<div class="outline-text-3" id="text-org9ecde09">
|
|
<div class="org-src-container">
|
|
<pre class="src src-text">/mouse enable
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org268077f" class="outline-3">
|
|
<h3 id="org268077f">Scripts</h3>
|
|
<div class="outline-text-3" id="text-org268077f">
|
|
<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<sub>nicks.py</sub></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<sub>lines.pl</sub></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-orgc2f3551" class="outline-3">
|
|
<h3 id="orgc2f3551">Theme</h3>
|
|
<div class="outline-text-3" id="text-orgc2f3551">
|
|
<p>
|
|
<a href="https://www.bfoliver.com/technology/2017/07/15/weechat/">https://www.bfoliver.com/technology/2017/07/15/weechat/</a>
|
|
<a href="https://alexjj.com/blog/2016/9/setting-up-weechat/">https://alexjj.com/blog/2016/9/setting-up-weechat/</a>
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">/set weechat.look.prefix_same_nick <span class="org-string">"⤷"</span>
|
|
/set weechat.look.prefix_error <span class="org-string">"⚠"</span>
|
|
/set weechat.look.prefix_action <span class="org-string">"⚡"</span>
|
|
/set weechat.look.bar_more_down <span class="org-string">"▼▼"</span>
|
|
/set weechat.look.bar_more_left <span class="org-string">"◀◀"</span>
|
|
/set weechat.look.bar_more_right <span class="org-string">"▶▶"</span>
|
|
/set weechat.look.bar_more_up <span class="org-string">"▲▲"</span>
|
|
/set weechat.look.prefix_suffix <span class="org-string">"╡"</span>
|
|
/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
|
|
/set weechat.color.separator <span class="org-highlight-numbers-number">31</span>
|
|
/set buffers.color.current_fg <span class="org-highlight-numbers-number">31</span>
|
|
/set buffers.color.current_bg white
|
|
/set buffers.color.hotlist_message_fg <span class="org-highlight-numbers-number">229</span>
|
|
/set buffers.color.hotlist_private_fg <span class="org-highlight-numbers-number">121</span>
|
|
/set buffers.color.hotlist_highlight_fg <span class="org-highlight-numbers-number">163</span>
|
|
/set buffers.color.number <span class="org-highlight-numbers-number">239</span>
|
|
/set buffers.color.number_char <span class="org-highlight-numbers-number">245</span>
|
|
/set weechat.bar.title.conditions <span class="org-string">"${inactive}"</span>
|
|
/set weechat.bar.title.color_fg black
|
|
/set weechat.bar.title.color_bg <span class="org-highlight-numbers-number">31</span> <span class="org-comment-delimiter">#</span><span class="org-comment">Or white if 31 does nothing</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org06f8d21" class="outline-3">
|
|
<h3 id="org06f8d21">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org06f8d21">
|
|
<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-orgdec4290" class="outline-3">
|
|
<h3 id="orgdec4290">Multi-line messages</h3>
|
|
<div class="outline-text-3" id="text-orgdec4290">
|
|
<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-org7505e4b" class="outline-3">
|
|
<h3 id="org7505e4b">Send message using <code>$EDITOR</code></h3>
|
|
<div class="outline-text-3" id="text-org7505e4b">
|
|
<p>
|
|
<a href="https://github.com/keith/edit-weechat">https://github.com/keith/edit-weechat</a>
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-type">mkdir</span> -p ~/.weechat/python/autoload
|
|
<span class="org-type">cd</span> ~/.weechat/python/autoload
|
|
wget https://raw.githubusercontent.com/keith/edit-weechat/master/edit.py
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Then, on weechat, type <code>/edit</code>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb6ce9d7" class="outline-3">
|
|
<h3 id="orgb6ce9d7">CheatSheet</h3>
|
|
<div class="outline-text-3" id="text-orgb6ce9d7">
|
|
<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-org839ce09" class="outline-3">
|
|
<h3 id="org839ce09">Slack Integration</h3>
|
|
<div class="outline-text-3" id="text-org839ce09">
|
|
<p>
|
|
<a href="https://github.com/wee-slack/wee-slack">https://github.com/wee-slack/wee-slack</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org575b3b5" class="outline-4">
|
|
<h4 id="org575b3b5">Installation</h4>
|
|
<div class="outline-text-4" id="text-org575b3b5">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S python2-websocket-client
|
|
</pre>
|
|
</div>
|
|
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-type">cd</span> ~/.weechat/python
|
|
wget https://raw.githubusercontent.com/wee-slack/wee-slack/master/wee_slack.py
|
|
<span class="org-type">ln</span> -s ../wee_slack.py autoload
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf0499df" class="outline-4">
|
|
<h4 id="orgf0499df">Add your Slack API key(s)</h4>
|
|
<div class="outline-text-4" id="text-orgf0499df">
|
|
<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-org82edf1f" class="outline-3">
|
|
<h3 id="org82edf1f">Aspell</h3>
|
|
<div class="outline-text-3" id="text-org82edf1f">
|
|
<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-org8361cab" class="outline-3">
|
|
<h3 id="org8361cab">Notifications</h3>
|
|
<div class="outline-text-3" id="text-org8361cab">
|
|
<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-orgebd2a1f" class="outline-3">
|
|
<h3 id="orgebd2a1f">Deamon and Client</h3>
|
|
<div class="outline-text-3" id="text-orgebd2a1f">
|
|
<p>
|
|
Weechat is started with the systemd service <code>weechat</code>.
|
|
It runs weechat inside tmux.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org279ab07" class="outline-2">
|
|
<h2 id="org279ab07">Redshift</h2>
|
|
<div class="outline-text-2" id="text-org279ab07">
|
|
<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-org8a3d85f" class="outline-2">
|
|
<h2 id="org8a3d85f">Mail Setup</h2>
|
|
<div class="outline-text-2" id="text-org8a3d85f">
|
|
<p>
|
|
<a href="mail.html">Link</a> to the mail setup.
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org90a52ef" class="outline-3">
|
|
<h3 id="org90a52ef">Synchronize Mailboxes - Mbsync</h3>
|
|
<div class="outline-text-3" id="text-org90a52ef">
|
|
<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-orgb8fd070" class="outline-4">
|
|
<h4 id="orgb8fd070">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgb8fd070">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S isync
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org31ca840" class="outline-4">
|
|
<h4 id="org31ca840">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org31ca840">
|
|
<p>
|
|
<code>~/.mbsyncrc</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfff8219" class="outline-4">
|
|
<h4 id="orgfff8219">Automation using systemd</h4>
|
|
<div class="outline-text-4" id="text-orgfff8219">
|
|
</div>
|
|
<div id="outline-container-org9cb1913" class="outline-5">
|
|
<h5 id="org9cb1913">Retreive New mails</h5>
|
|
<div class="outline-text-5" id="text-org9cb1913">
|
|
<ul class="org-ul">
|
|
<li><code>~/scripts/checkmail.sh</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-orga0e4845" class="outline-5">
|
|
<h5 id="orga0e4845">Synchronize all the mailboxes</h5>
|
|
<div class="outline-text-5" id="text-orga0e4845">
|
|
<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-org68e3ec9" class="outline-3">
|
|
<h3 id="org68e3ec9">Send Mails - Msmtp</h3>
|
|
<div class="outline-text-3" id="text-org68e3ec9">
|
|
<p>
|
|
<a href="https://marlam.de/msmtp/">https://marlam.de/msmtp/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgece4389" class="outline-4">
|
|
<h4 id="orgece4389">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgece4389">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S msmtp
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgca103dd" class="outline-3">
|
|
<h3 id="orgca103dd">Mail Index, Search and Tagging - Mu</h3>
|
|
<div class="outline-text-3" id="text-orgca103dd">
|
|
<p>
|
|
<a href="https://github.com/djcb/mu">https://github.com/djcb/mu</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgaec6b5f" class="outline-3">
|
|
<h3 id="orgaec6b5f">Mail Client - NeoMutt</h3>
|
|
<div class="outline-text-3" id="text-orgaec6b5f">
|
|
<p>
|
|
<a href="https://github.com/neomutt/neomutt">https://github.com/neomutt/neomutt</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org42ac6d4" class="outline-4">
|
|
<h4 id="org42ac6d4">Installation</h4>
|
|
<div class="outline-text-4" id="text-org42ac6d4">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S neomutt
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgbc0c034" class="outline-4">
|
|
<h4 id="orgbc0c034">Display html mails</h4>
|
|
<div class="outline-text-4" id="text-orgbc0c034">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S w3m
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfa9e080" class="outline-4">
|
|
<h4 id="orgfa9e080">Open PDF from mail</h4>
|
|
<div class="outline-text-4" id="text-orgfa9e080">
|
|
<p>
|
|
<code>~/scripts/openfile.sh</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org643814d" class="outline-4">
|
|
<h4 id="org643814d">Open Url from mail</h4>
|
|
<div class="outline-text-4" id="text-org643814d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S urlview
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf5a894f" class="outline-4">
|
|
<h4 id="orgf5a894f">Ressources</h4>
|
|
<div class="outline-text-4" id="text-orgf5a894f">
|
|
<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-org1cedf19" class="outline-3">
|
|
<h3 id="org1cedf19">Notification system</h3>
|
|
<div class="outline-text-3" id="text-org1cedf19">
|
|
<p>
|
|
A script (<code>~/scripts/checkmail.sh</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-org88b8e12" class="outline-2">
|
|
<h2 id="org88b8e12">File Manager</h2>
|
|
<div class="outline-text-2" id="text-org88b8e12">
|
|
<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-orge21125c" class="outline-3">
|
|
<h3 id="orge21125c">Ranger</h3>
|
|
<div class="outline-text-3" id="text-orge21125c">
|
|
<p>
|
|
<a href="https://github.com/ranger/ranger">https://github.com/ranger/ranger</a>
|
|
</p>
|
|
</div>
|
|
<div id="outline-container-org49f27c1" class="outline-4">
|
|
<h4 id="org49f27c1">Installation</h4>
|
|
<div class="outline-text-4" id="text-org49f27c1">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S ranger
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga819d18" class="outline-4">
|
|
<h4 id="orga819d18">Configuration</h4>
|
|
<div class="outline-text-4" id="text-orga819d18">
|
|
<p>
|
|
The configuration file is <code>~/.config/ranger/rc.conf</code>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9c7bfe8" class="outline-4">
|
|
<h4 id="org9c7bfe8">Display pdf</h4>
|
|
<div class="outline-text-4" id="text-org9c7bfe8">
|
|
<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-org7ef6720" class="outline-3">
|
|
<h3 id="org7ef6720">GUI File Manager: pcmanfm</h3>
|
|
<div class="outline-text-3" id="text-org7ef6720">
|
|
<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-org6839bbd" class="outline-2">
|
|
<h2 id="org6839bbd">Image viewer</h2>
|
|
<div class="outline-text-2" id="text-org6839bbd">
|
|
</div>
|
|
<div id="outline-container-orgbf3bb49" class="outline-3">
|
|
<h3 id="orgbf3bb49">sxiv</h3>
|
|
<div class="outline-text-3" id="text-orgbf3bb49">
|
|
<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-org2d70070" class="outline-4">
|
|
<h4 id="org2d70070">Installation</h4>
|
|
<div class="outline-text-4" id="text-org2d70070">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S sxiv
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org248e234" class="outline-4">
|
|
<h4 id="org248e234">Open Gif</h4>
|
|
<div class="outline-text-4" id="text-org248e234">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">sxiv -a file.gif
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org08f3174" class="outline-4">
|
|
<h4 id="org08f3174">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-org08f3174">
|
|
<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-org2f3019b" class="outline-2">
|
|
<h2 id="org2f3019b">HotKeyManager - SXHKD</h2>
|
|
<div class="outline-text-2" id="text-org2f3019b">
|
|
<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-orgcfe7bd0" class="outline-2">
|
|
<h2 id="orgcfe7bd0">Windows Manager - i3</h2>
|
|
<div class="outline-text-2" id="text-orgcfe7bd0">
|
|
<p>
|
|
<a href="i3.html">Link</a> to the documentation
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org9f09b92" class="outline-3">
|
|
<h3 id="org9f09b92">Installation</h3>
|
|
<div class="outline-text-3" id="text-org9f09b92">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S i3-gaps
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org082ace1" class="outline-3">
|
|
<h3 id="org082ace1">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org082ace1">
|
|
<p>
|
|
<code>~/.i3/config</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7d321e8" class="outline-2">
|
|
<h2 id="org7d321e8">Polybar</h2>
|
|
<div class="outline-text-2" id="text-org7d321e8">
|
|
<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-org1683b16" class="outline-3">
|
|
<h3 id="org1683b16">Installation</h3>
|
|
<div class="outline-text-3" id="text-org1683b16">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S polybar
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfc0fd25" class="outline-2">
|
|
<h2 id="orgfc0fd25">Compositor - Picom</h2>
|
|
<div class="outline-text-2" id="text-orgfc0fd25">
|
|
<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-orgec4afb5" class="outline-3">
|
|
<h3 id="orgec4afb5">Installation</h3>
|
|
<div class="outline-text-3" id="text-orgec4afb5">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S picom
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgcc08d82" class="outline-3">
|
|
<h3 id="orgcc08d82">Configuration</h3>
|
|
<div class="outline-text-3" id="text-orgcc08d82">
|
|
<p>
|
|
<code>~/.config/picom/picom.conf</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org664d120" class="outline-3">
|
|
<h3 id="org664d120">Automatic run as daemon</h3>
|
|
<div class="outline-text-3" id="text-org664d120">
|
|
<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-orgbaf69cd" class="outline-2">
|
|
<h2 id="orgbaf69cd">Notification Manager - Dunst</h2>
|
|
<div class="outline-text-2" id="text-orgbaf69cd">
|
|
<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-org53c5eeb" class="outline-3">
|
|
<h3 id="org53c5eeb">Installation</h3>
|
|
<div class="outline-text-3" id="text-org53c5eeb">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S dunst dunstify
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org49ce3cc" class="outline-3">
|
|
<h3 id="org49ce3cc">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org49ce3cc">
|
|
<p>
|
|
<code>~/.config/dunst/dunstrc</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7b1c8b4" class="outline-3">
|
|
<h3 id="org7b1c8b4">Usage</h3>
|
|
<div class="outline-text-3" id="text-org7b1c8b4">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">dunstify --replace=<span class="org-highlight-numbers-number">16549</span> <span class="org-string">"AppName"</span> <span class="org-string">"Message"</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
The number <code>--replace</code> can be used with an ID to merge notifications from the
|
|
same application for instance.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org0eede2c" class="outline-2">
|
|
<h2 id="org0eede2c">Office Suite</h2>
|
|
<div class="outline-text-2" id="text-org0eede2c">
|
|
</div>
|
|
<div id="outline-container-org11f521b" class="outline-3">
|
|
<h3 id="org11f521b">WPS Office</h3>
|
|
<div class="outline-text-3" id="text-org11f521b">
|
|
<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-org6254886" class="outline-3">
|
|
<h3 id="org6254886">Minimap SpreadSheet - SC-IM</h3>
|
|
<div class="outline-text-3" id="text-org6254886">
|
|
<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-orge111fe1" class="outline-2">
|
|
<h2 id="orge111fe1">Managing Theme</h2>
|
|
<div class="outline-text-2" id="text-orge111fe1">
|
|
</div>
|
|
<div id="outline-container-orgf319daa" class="outline-3">
|
|
<h3 id="orgf319daa">GTK Themes</h3>
|
|
<div class="outline-text-3" id="text-orgf319daa">
|
|
<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-org33d0e7c" class="outline-4">
|
|
<h4 id="org33d0e7c">Gui Manager</h4>
|
|
<div class="outline-text-4" id="text-org33d0e7c">
|
|
<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-org8562db2" class="outline-4">
|
|
<h4 id="org8562db2">Icons and themes</h4>
|
|
<div class="outline-text-4" id="text-org8562db2">
|
|
<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-org096f3a5" class="outline-3">
|
|
<h3 id="org096f3a5">QT Themes</h3>
|
|
<div class="outline-text-3" id="text-org096f3a5">
|
|
<p>
|
|
Run <code>qt5ct</code> to manage QT Themes.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org006f7d1" class="outline-3">
|
|
<h3 id="org006f7d1">XFT Themes</h3>
|
|
<div class="outline-text-3" id="text-org006f7d1">
|
|
<p>
|
|
Some configuration are located in <code>~/.Xresources</code>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd878c51" class="outline-2">
|
|
<h2 id="orgd878c51">Advanced config</h2>
|
|
<div class="outline-text-2" id="text-orgd878c51">
|
|
</div>
|
|
<div id="outline-container-org2c2aa64" class="outline-3">
|
|
<h3 id="org2c2aa64">Printer</h3>
|
|
<div class="outline-text-3" id="text-org2c2aa64">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/CUPS">https://wiki.archlinux.org/index.php/CUPS</a>
|
|
Web based administration: <a href="http://localhost:631/">http://localhost:631/</a>
|
|
</p>
|
|
|
|
<p>
|
|
<code>system-config-printer</code>
|
|
</p>
|
|
|
|
<p>
|
|
Check the queue
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">lpq
|
|
lpq -a <span class="org-comment-delimiter"># </span><span class="org-comment">on all queues</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Clear the queue
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">lprm <span class="org-comment-delimiter"># </span><span class="org-comment">remove last entry only</span>
|
|
lprm - <span class="org-comment-delimiter"># </span><span class="org-comment">remove all entries</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Print a file
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">lpr -P printer_name filename.pdf
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
List available printers
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">lpstat -a
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Stats about the printer
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">lpstat -p printer_name
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgac7fd77" class="outline-3">
|
|
<h3 id="orgac7fd77">Kernel Management</h3>
|
|
<div class="outline-text-3" id="text-orgac7fd77">
|
|
<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-orgea2fafd" class="outline-3">
|
|
<h3 id="orgea2fafd">Power Management Tool: Powertop</h3>
|
|
<div class="outline-text-3" id="text-orgea2fafd">
|
|
<p>
|
|
<a href="https://wiki.archlinux.org/index.php/Powertop">https://wiki.archlinux.org/index.php/Powertop</a>
|
|
<a href="https://wiki.manjaro.org/index.php?title=Power_Savings">https://wiki.manjaro.org/index.php?title=Power_Savings</a>
|
|
</p>
|
|
|
|
<p>
|
|
<code>PowerTop</code> a diagnostic tool used to identify and report issues with power consumption and management.
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S powertop
|
|
</pre>
|
|
</div>
|
|
|
|
|
|
<p>
|
|
<code>TLP</code> is used for Power Management.
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S tlp
|
|
<span class="org-type">sudo</span> systemctl enable tlp
|
|
<span class="org-type">sudo</span> systemctl start tlp
|
|
<span class="org-type">sudo</span> systemctl enable tlp-sleep
|
|
<span class="org-type">sudo</span> systemctl start tlp-sleep
|
|
<span class="org-type">sudo</span> tlp start
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
<code>Thermald</code> is used to automatically handle CPU frequency scaling according to system load.
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S thermald
|
|
<span class="org-type">sudo</span> systemctl enable thermald
|
|
<span class="org-type">sudo</span> systemctl start thermald
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga3e7c85" class="outline-3">
|
|
<h3 id="orga3e7c85">Lid open/close</h3>
|
|
<div class="outline-text-3" id="text-orga3e7c85">
|
|
<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-org55e904c" class="outline-3">
|
|
<h3 id="org55e904c">Automatically Mount devices - Udiskie</h3>
|
|
<div class="outline-text-3" id="text-org55e904c">
|
|
<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-org269f916" class="outline-3">
|
|
<h3 id="org269f916">Format disks</h3>
|
|
<div class="outline-text-3" id="text-org269f916">
|
|
<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-orgc872306" class="outline-3">
|
|
<h3 id="orgc872306">Bluetooth</h3>
|
|
<div class="outline-text-3" id="text-orgc872306">
|
|
<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-orgf292135" class="outline-2">
|
|
<h2 id="orgf292135">LaTeX</h2>
|
|
<div class="outline-text-2" id="text-orgf292135">
|
|
</div>
|
|
<div id="outline-container-orgbded50e" class="outline-3">
|
|
<h3 id="orgbded50e">Installation</h3>
|
|
<div class="outline-text-3" id="text-orgbded50e">
|
|
<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-orgfdff683" class="outline-3">
|
|
<h3 id="orgfdff683">Personnal classes/packages</h3>
|
|
<div class="outline-text-3" id="text-orgfdff683">
|
|
<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-org9cfccdd" class="outline-3">
|
|
<h3 id="org9cfccdd">From screenshot to latex math formula</h3>
|
|
<div class="outline-text-3" id="text-org9cfccdd">
|
|
<p>
|
|
<a href="https://mathpix.com/">https://mathpix.com/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb9542e3" class="outline-4">
|
|
<h4 id="orgb9542e3">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgb9542e3">
|
|
<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-orge777a95" class="outline-2">
|
|
<h2 id="orge777a95">Mathematical Software</h2>
|
|
<div class="outline-text-2" id="text-orge777a95">
|
|
</div>
|
|
<div id="outline-container-orge40dc55" class="outline-3">
|
|
<h3 id="orge40dc55">Insect</h3>
|
|
<div class="outline-text-3" id="text-orge40dc55">
|
|
<p>
|
|
<a href="https://github.com/sharkdp/insect">https://github.com/sharkdp/insect</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd85a799" class="outline-4">
|
|
<h4 id="orgd85a799">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgd85a799">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S insect
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgcebc57b" class="outline-4">
|
|
<h4 id="orgcebc57b">Usage</h4>
|
|
<div class="outline-text-4" id="text-orgcebc57b">
|
|
<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-org06cb08a" class="outline-3">
|
|
<h3 id="org06cb08a">Matlab</h3>
|
|
<div class="outline-text-3" id="text-org06cb08a">
|
|
<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-org37050ac" class="outline-4">
|
|
<h4 id="org37050ac">Installation</h4>
|
|
<div class="outline-text-4" id="text-org37050ac">
|
|
<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-orga7fa13a" class="outline-3">
|
|
<h3 id="orga7fa13a">SageMath</h3>
|
|
<div class="outline-text-3" id="text-orga7fa13a">
|
|
<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-orgc3b0f51" class="outline-4">
|
|
<h4 id="orgc3b0f51">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgc3b0f51">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S sagemath
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf0a916b" class="outline-4">
|
|
<h4 id="orgf0a916b">Usage</h4>
|
|
<div class="outline-text-4" id="text-orgf0a916b">
|
|
<p>
|
|
Run <code>sage -n jupyter</code> to run jupyter notebooks
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb2efdf2" class="outline-4">
|
|
<h4 id="orgb2efdf2">Documentation</h4>
|
|
<div class="outline-text-4" id="text-orgb2efdf2">
|
|
<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-org3a97f60" class="outline-2">
|
|
<h2 id="org3a97f60">Download Manager</h2>
|
|
<div class="outline-text-2" id="text-org3a97f60">
|
|
</div>
|
|
<div id="outline-container-org5a9831a" class="outline-3">
|
|
<h3 id="org5a9831a">Torrent Client - deluge</h3>
|
|
<div class="outline-text-3" id="text-org5a9831a">
|
|
<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-org38cbbde" class="outline-4">
|
|
<h4 id="org38cbbde">Installation</h4>
|
|
<div class="outline-text-4" id="text-org38cbbde">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S deluge
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org195d430" class="outline-4">
|
|
<h4 id="org195d430">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org195d430">
|
|
<p>
|
|
<code>~/.config/deluge/</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgcc19a06" class="outline-4">
|
|
<h4 id="orgcc19a06">Command Line Interface</h4>
|
|
<div class="outline-text-4" id="text-orgcc19a06">
|
|
<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-orgc211495" class="outline-3">
|
|
<h3 id="orgc211495">Youtube-dl</h3>
|
|
<div class="outline-text-3" id="text-orgc211495">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S youtube-dl
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org43f7ea4" class="outline-4">
|
|
<h4 id="org43f7ea4">Download best audio</h4>
|
|
<div class="outline-text-4" id="text-org43f7ea4">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">youtube-dl -f bestaudio url
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga8247dd" class="outline-4">
|
|
<h4 id="orga8247dd">Download best video with audio</h4>
|
|
<div class="outline-text-4" id="text-orga8247dd">
|
|
<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-orgbbe6412" class="outline-2">
|
|
<h2 id="orgbbe6412">Default Applications</h2>
|
|
<div class="outline-text-2" id="text-orgbbe6412">
|
|
<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-org9c88ec5" class="outline-3">
|
|
<h3 id="org9c88ec5">Mailcap file</h3>
|
|
</div>
|
|
<div id="outline-container-org78cb6e6" class="outline-3">
|
|
<h3 id="org78cb6e6">XDG-OPEN</h3>
|
|
<div class="outline-text-3" id="text-org78cb6e6">
|
|
<p>
|
|
<code>~/.config/mimeapps.list</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org56d63a9" class="outline-2">
|
|
<h2 id="org56d63a9">Desktop files</h2>
|
|
<div class="outline-text-2" id="text-org56d63a9">
|
|
<p>
|
|
<a href="applications.html">Desktop Applications</a>
|
|
</p>
|
|
|
|
<p>
|
|
<code>~/.local/share/applications/</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org642aaaf" class="outline-2">
|
|
<h2 id="org642aaaf">Bibliography Management</h2>
|
|
<div class="outline-text-2" id="text-org642aaaf">
|
|
<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-orgefa974f" class="outline-3">
|
|
<h3 id="orgefa974f">Alternatives:</h3>
|
|
<div class="outline-text-3" id="text-orgefa974f">
|
|
<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-orgdecd381" class="outline-2">
|
|
<h2 id="orgdecd381">Calendar</h2>
|
|
<div class="outline-text-2" id="text-orgdecd381">
|
|
<p>
|
|
<a href="calendar.html">Link</a> to configuration
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org2162752" class="outline-3">
|
|
<h3 id="org2162752">Vdirsyncer - Sync calendars</h3>
|
|
<div class="outline-text-3" id="text-org2162752">
|
|
<p>
|
|
<a href="https://github.com/pimutils/vdirsyncer">https://github.com/pimutils/vdirsyncer</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org20ed590" class="outline-4">
|
|
<h4 id="org20ed590">Installation</h4>
|
|
<div class="outline-text-4" id="text-org20ed590">
|
|
<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"><span class="org-type">sudo</span> pip install requests-oauthlib
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org08ff646" class="outline-4">
|
|
<h4 id="org08ff646">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-org08ff646">
|
|
<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-org5f9f081" class="outline-4">
|
|
<h4 id="org5f9f081">Automation - Systemd</h4>
|
|
<div class="outline-text-4" id="text-org5f9f081">
|
|
<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-org96ca2fb" class="outline-3">
|
|
<h3 id="org96ca2fb">Calendar Client - Khal</h3>
|
|
<div class="outline-text-3" id="text-org96ca2fb">
|
|
<p>
|
|
<a href="https://github.com/pimutils/khal">https://github.com/pimutils/khal</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc21de3b" class="outline-4">
|
|
<h4 id="orgc21de3b">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgc21de3b">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S khal
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgdfcd9d1" class="outline-4">
|
|
<h4 id="orgdfcd9d1">Import ICS files</h4>
|
|
<div class="outline-text-4" id="text-orgdfcd9d1">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">khal import even.ics
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9919ed3" class="outline-2">
|
|
<h2 id="org9919ed3">RSS Reader</h2>
|
|
<div class="outline-text-2" id="text-org9919ed3">
|
|
<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-org6879bd2" class="outline-3">
|
|
<h3 id="org6879bd2">Newsboat</h3>
|
|
<div class="outline-text-3" id="text-org6879bd2">
|
|
<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-orgf926f29" class="outline-4">
|
|
<h4 id="orgf926f29">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgf926f29">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S newboat
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org778f644" class="outline-4">
|
|
<h4 id="org778f644">Configuration</h4>
|
|
<div class="outline-text-4" id="text-org778f644">
|
|
<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-org02e0db3" class="outline-4">
|
|
<h4 id="org02e0db3">CheatSheet</h4>
|
|
<div class="outline-text-4" id="text-org02e0db3">
|
|
<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-org4b6777e" class="outline-2">
|
|
<h2 id="org4b6777e">Task Manager</h2>
|
|
<div class="outline-text-2" id="text-org4b6777e">
|
|
</div>
|
|
<div id="outline-container-orgd889db4" class="outline-3">
|
|
<h3 id="orgd889db4">OrgMode and Emacs</h3>
|
|
</div>
|
|
<div id="outline-container-orgcfae2cb" class="outline-3">
|
|
<h3 id="orgcfae2cb">Wunderline</h3>
|
|
<div class="outline-text-3" id="text-orgcfae2cb">
|
|
<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-orgc301829" class="outline-4">
|
|
<h4 id="orgc301829">Installation</h4>
|
|
<div class="outline-text-4" id="text-orgc301829">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S wunderline
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8cc5949" class="outline-4">
|
|
<h4 id="org8cc5949">Cheatsheet</h4>
|
|
<div class="outline-text-4" id="text-org8cc5949">
|
|
<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-org2ec9b45" class="outline-2">
|
|
<h2 id="org2ec9b45">Background manager: nitrogen</h2>
|
|
<div class="outline-text-2" id="text-org2ec9b45">
|
|
<p>
|
|
<a href="https://github.com/l3ib/nitrogen/">https://github.com/l3ib/nitrogen/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd6b3241" class="outline-3">
|
|
<h3 id="orgd6b3241">Configuration</h3>
|
|
<div class="outline-text-3" id="text-orgd6b3241">
|
|
<p>
|
|
<code>~/.config/nitrogen/nitrogen.cfg</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfa3853c" class="outline-3">
|
|
<h3 id="orgfa3853c">Wallpapers</h3>
|
|
<div class="outline-text-3" id="text-orgfa3853c">
|
|
<p>
|
|
<code>~/scripts/wallpaper.sh</code>: script to automatically change wallpaper each x minutes.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org2973f94" class="outline-2">
|
|
<h2 id="org2973f94">PDF Reader: Zathura</h2>
|
|
<div class="outline-text-2" id="text-org2973f94">
|
|
<p>
|
|
<a href="https://pwmt.org/projects/zathura/">https://pwmt.org/projects/zathura/</a>
|
|
</p>
|
|
</div>
|
|
<div id="outline-container-orgda5b918" class="outline-3">
|
|
<h3 id="orgda5b918">Installation</h3>
|
|
<div class="outline-text-3" id="text-orgda5b918">
|
|
<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-org95d8b62" class="outline-3">
|
|
<h3 id="org95d8b62">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org95d8b62">
|
|
<p>
|
|
<code>~/.config/zathura/zathurarc</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga15ade6" class="outline-3">
|
|
<h3 id="orga15ade6">Cheatsheet</h3>
|
|
<div class="outline-text-3" id="text-orga15ade6">
|
|
<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-orgaa85007" class="outline-3">
|
|
<h3 id="orgaa85007">Multi-monitor pdf presentation - pdfpc</h3>
|
|
<div class="outline-text-3" id="text-orgaa85007">
|
|
<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-org5ca28fd" class="outline-4">
|
|
<h4 id="org5ca28fd">Installation</h4>
|
|
<div class="outline-text-4" id="text-org5ca28fd">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S pdfpc
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org26bd0c5" class="outline-4">
|
|
<h4 id="org26bd0c5">Video support</h4>
|
|
<div class="outline-text-4" id="text-org26bd0c5">
|
|
<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-orged86e0c" class="outline-4">
|
|
<h4 id="orged86e0c">Usage</h4>
|
|
<div class="outline-text-4" id="text-orged86e0c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">pdfpc filename.pdf
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org82dc6c4" class="outline-2">
|
|
<h2 id="org82dc6c4">Theme manager</h2>
|
|
<div class="outline-text-2" id="text-org82dc6c4">
|
|
<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.
|
|
Applications that could change:
|
|
</p>
|
|
<ul class="org-ul">
|
|
<li class="off"><code>[ ]</code> terminal: <a href="https://github.com/khamer/base16-termite">https://github.com/khamer/base16-termite</a>. TODO: this does not seems to work. Some is takken from config of termite, some from xresources. Also when reload the terminal is does not make the colors well: <a href="https://github.com/thestinger/termite/issues/273">https://github.com/thestinger/termite/issues/273</a></li>
|
|
</ul>
|
|
<p>
|
|
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"><span class="org-variable-name">BASE16_SHELL</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">HOME</span></span><span class="org-string">/.base16-manager/chriskempson/base16-shell/"</span>
|
|
<span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PS1</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> && <span class="org-sh-escaped-newline">\</span>
|
|
<span class="org-rainbow-delimiters-depth-1">[</span> -s <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">BASE16_SHELL</span></span><span class="org-string">/profile_helper.sh"</span> <span class="org-rainbow-delimiters-depth-1">]</span> && <span class="org-sh-escaped-newline">\</span>
|
|
<span class="org-builtin">eval</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$("</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">BASE16_SHELL</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">/profile_helper.sh")</span></span><span class="org-string">"</span>
|
|
</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-org2faeb0a" class="outline-3">
|
|
<h3 id="org2faeb0a">Base16</h3>
|
|
<div class="outline-text-3" id="text-org2faeb0a">
|
|
<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-orgedba202" class="outline-4">
|
|
<h4 id="orgedba202">Base16 Philosophy</h4>
|
|
<div class="outline-text-4" id="text-orgedba202">
|
|
<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-orgfd5a140" class="outline-4">
|
|
<h4 id="orgfd5a140">Base16-shell</h4>
|
|
<div class="outline-text-4" id="text-orgfd5a140">
|
|
<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"><span class="org-comment-delimiter"># </span><span class="org-comment">Base16 Shell</span>
|
|
<span class="org-variable-name">BASE16_SHELL</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">HOME</span></span><span class="org-string">/.config/base16-shell/"</span>
|
|
<span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PS1</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> && <span class="org-sh-escaped-newline">\</span>
|
|
<span class="org-rainbow-delimiters-depth-1">[</span> -s <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">BASE16_SHELL</span></span><span class="org-string">/profile_helper.sh"</span> <span class="org-rainbow-delimiters-depth-1">]</span> && <span class="org-sh-escaped-newline">\</span>
|
|
<span class="org-builtin">eval</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$("</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">BASE16_SHELL</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">/profile_helper.sh")</span></span><span class="org-string">"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc5cd5bd" class="outline-4">
|
|
<h4 id="orgc5cd5bd">Base16-manager</h4>
|
|
<div class="outline-text-4" id="text-orgc5cd5bd">
|
|
<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-orgda94ccd" class="outline-2">
|
|
<h2 id="orgda94ccd">Graphical Editor</h2>
|
|
<div class="outline-text-2" id="text-orgda94ccd">
|
|
<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-org380e7ca" class="outline-2">
|
|
<h2 id="org380e7ca">VPN Setup with NordVPN</h2>
|
|
<div class="outline-text-2" id="text-org380e7ca">
|
|
<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-org48229c9" class="outline-3">
|
|
<h3 id="org48229c9">Installation</h3>
|
|
<div class="outline-text-3" id="text-org48229c9">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S nordvpn-bin
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org0bb4304" class="outline-3">
|
|
<h3 id="org0bb4304">Configuration</h3>
|
|
<div class="outline-text-3" id="text-org0bb4304">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-type">sudo</span> systemctl enable nordvpnd.service
|
|
<span class="org-type">sudo</span> systemctl start nordvpnd.service
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org42c3503" class="outline-3">
|
|
<h3 id="org42c3503">Usage</h3>
|
|
<div class="outline-text-3" id="text-org42c3503">
|
|
<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-org1786e75" class="outline-3">
|
|
<h3 id="org1786e75">Alternative: Use NordVPM with openVPN Instead</h3>
|
|
<div class="outline-text-3" id="text-org1786e75">
|
|
<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-org7dc8acf" class="outline-2">
|
|
<h2 id="org7dc8acf">Others</h2>
|
|
<div class="outline-text-2" id="text-org7dc8acf">
|
|
</div>
|
|
<div id="outline-container-org8aede8c" class="outline-3">
|
|
<h3 id="org8aede8c">Reddit on terminal: rtv</h3>
|
|
<div class="outline-text-3" id="text-org8aede8c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S rtv
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org480f125" class="outline-3">
|
|
<h3 id="org480f125">Interact with API</h3>
|
|
<div class="outline-text-3" id="text-org480f125">
|
|
<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-orgb738acd" class="outline-3">
|
|
<h3 id="orgb738acd">Take Screenshot</h3>
|
|
<div class="outline-text-3" id="text-orgb738acd">
|
|
<p>
|
|
<a href="https://github.com/naelstrof/maim">https://github.com/naelstrof/maim</a>
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S maim
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">man maim
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orga7e80a6" class="outline-3">
|
|
<h3 id="orga7e80a6">Utilities</h3>
|
|
<div class="outline-text-3" id="text-orga7e80a6">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S fd ripgrep pdf2svg pdftk
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">yay -S unclutter
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="outline-container-org977e47b" class="outline-3">
|
|
<h3 id="org977e47b">Trash</h3>
|
|
<div class="outline-text-3" id="text-org977e47b">
|
|
<p>
|
|
<code>trash-cli</code> is used to manage the trash.
|
|
It is integrated with Ranger.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8efd663" class="outline-2">
|
|
<h2 id="org8efd663">Usefull commands</h2>
|
|
<div class="outline-text-2" id="text-org8efd663">
|
|
</div>
|
|
<div id="outline-container-org21f1dc9" class="outline-3">
|
|
<h3 id="org21f1dc9">Find files or directories</h3>
|
|
<div class="outline-text-3" id="text-org21f1dc9">
|
|
<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-orga12d3a0" class="outline-3">
|
|
<h3 id="orga12d3a0">Show informations about the machine</h3>
|
|
<div class="outline-text-3" id="text-orga12d3a0">
|
|
<ul class="org-ul">
|
|
<li><a href="https://github.com/dylanaraps/neofetch">neofetch</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org5488b8e" class="outline-3">
|
|
<h3 id="org5488b8e">Work with PDF</h3>
|
|
<div class="outline-text-3" id="text-org5488b8e">
|
|
<p>
|
|
<code>pdftk</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org73b7d82" class="outline-3">
|
|
<h3 id="org73b7d82">Separate PDF</h3>
|
|
<div class="outline-text-3" id="text-org73b7d82">
|
|
<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-org633fefe" class="outline-3">
|
|
<h3 id="org633fefe">Readline</h3>
|
|
<div class="outline-text-3" id="text-org633fefe">
|
|
<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-orgb17be2a" class="outline-4">
|
|
<h4 id="orgb17be2a">Cursor Movement</h4>
|
|
<div class="outline-text-4" id="text-orgb17be2a">
|
|
<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-org1d27903" class="outline-4">
|
|
<h4 id="org1d27903">Copy & Paste</h4>
|
|
<div class="outline-text-4" id="text-org1d27903">
|
|
<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-org407fc37" class="outline-4">
|
|
<h4 id="org407fc37">History</h4>
|
|
<div class="outline-text-4" id="text-org407fc37">
|
|
<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-org86767d6" class="outline-4">
|
|
<h4 id="org86767d6">Completion</h4>
|
|
<div class="outline-text-4" id="text-org86767d6">
|
|
<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-org017868f" class="outline-3">
|
|
<h3 id="org017868f">Google translate from the command line</h3>
|
|
<div class="outline-text-3" id="text-org017868f">
|
|
<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-orgcc9e876" class="outline-3">
|
|
<h3 id="orgcc9e876">Others</h3>
|
|
<div class="outline-text-3" id="text-orgcc9e876">
|
|
<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-orgad9efa3" class="outline-3">
|
|
<h3 id="orgad9efa3">Archive and Extract</h3>
|
|
<div class="outline-text-3" id="text-orgad9efa3">
|
|
<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-orgc50b863" class="outline-3">
|
|
<h3 id="orgc50b863">Hardware</h3>
|
|
<div class="outline-text-3" id="text-orgc50b863">
|
|
<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-org897b084" class="outline-3">
|
|
<h3 id="org897b084">Network</h3>
|
|
<div class="outline-text-3" id="text-org897b084">
|
|
<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-org0150854" class="outline-2">
|
|
<h2 id="org0150854">Bash Snippets</h2>
|
|
<div class="outline-text-2" id="text-org0150854">
|
|
</div>
|
|
<div id="outline-container-orga4fec90" class="outline-3">
|
|
<h3 id="orga4fec90">For loop</h3>
|
|
<div class="outline-text-3" id="text-orga4fec90">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-keyword">for</span> file<span class="org-keyword"> in</span> ./*; <span class="org-keyword">do</span>
|
|
<span class="org-builtin">command</span> $<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">file</span><span class="org-rainbow-delimiters-depth-1">}</span>;
|
|
<span class="org-keyword">done</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="outline-container-org79f21d6" class="outline-2">
|
|
<h2 id="org79f21d6">Some notes - Systemd</h2>
|
|
<div class="outline-text-2" id="text-org79f21d6">
|
|
<p>
|
|
To improve the startup time.
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-type">sudo</span> systemctl disable apparmor
|
|
<span class="org-type">sudo</span> systemctl disable snapd
|
|
<span class="org-type">sudo</span> systemctl disable systemd-backlight@backlight<span class="org-string">\:</span>intel_backlight.service
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
To see next timers
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-matlab">systemctl <span class="org-type">--</span>user list<span class="org-type">-</span>timers
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8d9fe19" class="outline-2">
|
|
<h2 id="org8d9fe19">Ressources</h2>
|
|
<div class="outline-text-2" id="text-org8d9fe19">
|
|
</div>
|
|
<div id="outline-container-org82f7678" class="outline-3">
|
|
<h3 id="org82f7678">Dotfiles</h3>
|
|
<div class="outline-text-3" id="text-org82f7678">
|
|
<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-orgb87ec7b" class="outline-3">
|
|
<h3 id="orgb87ec7b">Linux Softwares</h3>
|
|
<div class="outline-text-3" id="text-orgb87ec7b">
|
|
<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>
|
|
<div id="postamble" class="status">
|
|
<p class="author">Author: Dehaeze Thomas</p>
|
|
<p class="date">Created: 2020-03-01 dim. 22:50</p>
|
|
</div>
|
|
</body>
|
|
</html>
|