Org-Publish

This commit is contained in:
Thomas Dehaeze 2020-05-26 08:40:15 +02:00
parent cde58c3f2d
commit 9bbbb42a85
25 changed files with 14130 additions and 17283 deletions

View File

@ -1,229 +1,19 @@
<?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-04-05 dim. 11:29 -->
<!-- 2020-05-26 mar. 08:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Desktop file for the applications</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&amp;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">
@ -240,7 +30,6 @@
<li><a href="#org40d2ff7">Neomutt</a></li>
<li><a href="#orgfba702e">Weechat</a></li>
<li><a href="#org0917adc">Matlab</a></li>
<li><a href="#org67724e9">Zathura</a></li>
<li><a href="#org721c080">Neovim</a></li>
<li><a href="#org11a99e9">Images</a></li>
<li><a href="#org6d53535">Org-Protocol</a></li>
@ -255,33 +44,33 @@
<h2 id="org3781e6a">Mime Applications</h2>
<div class="outline-text-2" id="text-org3781e6a">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Default Applications</span>]
<span class="org-variable-name">text/plain</span>=nvim.desktop
<span class="org-variable-name">x-scheme-handler/magnet</span>=torrent.desktop;
<span class="org-variable-name">text/x-shellscript</span>=nvim.desktop;
<span class="org-variable-name">image/png</span>=img.desktop;
<span class="org-variable-name">image/jpeg</span>=img.desktop;
<span class="org-variable-name">image/gif</span>=img.desktop;
<span class="org-variable-name">application/rss+xml</span>=rss.desktop
<span class="org-variable-name">x-scheme-handler/mailto</span>=neomutt.desktop
<span class="org-variable-name">message/rfc822</span>=neomutt.desktop
<span class="org-variable-name">application/x-bittorrent</span>=deluge.desktop
<span class="org-variable-name">application/pdf</span>=zathura.desktop
<span class="org-variable-name">x-scheme-handler/http</span>=qutebrowser.desktop
<span class="org-variable-name">x-scheme-handler/https</span>=qutebrowser.desktop
<span class="org-variable-name">x-scheme-handler/ftp</span>=qutebrowser.desktop
<span class="org-variable-name">x-scheme-handler/chrome</span>=qutebrowser.desktop
<span class="org-variable-name">text/html</span>=qutebrowser.desktop
<span class="org-variable-name">application/x-extension-htm</span>=qutebrowser.desktop
<span class="org-variable-name">application/x-extension-html</span>=qutebrowser.desktop
<span class="org-variable-name">application/x-extension-shtml</span>=qutebrowser.desktop
<span class="org-variable-name">application/xhtml+xml</span>=qutebrowser.desktop
<span class="org-variable-name">application/x-extension-xhtml</span>=qutebrowser.desktop
<span class="org-variable-name">application/x-extension-xht</span>=qutebrowser.desktop
<pre class="src src-conf">[Default Applications]
text/plain=nvim.desktop
x-scheme-handler/magnet=torrent.desktop;
text/x-shellscript=nvim.desktop;
image/png=img.desktop;
image/jpeg=img.desktop;
image/gif=img.desktop;
application/rss+xml=rss.desktop
x-scheme-handler/mailto=neomutt.desktop
message/rfc822=neomutt.desktop
application/x-bittorrent=deluge.desktop
application/pdf=zathura.desktop
x-scheme-handler/http=qutebrowser.desktop
x-scheme-handler/https=qutebrowser.desktop
x-scheme-handler/ftp=qutebrowser.desktop
x-scheme-handler/chrome=qutebrowser.desktop
text/html=qutebrowser.desktop
application/x-extension-htm=qutebrowser.desktop
application/x-extension-html=qutebrowser.desktop
application/x-extension-shtml=qutebrowser.desktop
application/xhtml+xml=qutebrowser.desktop
application/x-extension-xhtml=qutebrowser.desktop
application/x-extension-xht=qutebrowser.desktop
[<span class="org-type">Added Associations</span>]
<span class="org-variable-name">text/plain</span>=mousepad.desktop;
<span class="org-variable-name">application/x-bittorrent</span>=deluge.desktop;
[Added Associations]
text/plain=mousepad.desktop;
application/x-bittorrent=deluge.desktop;
</pre>
</div>
</div>
@ -291,15 +80,15 @@
<h2 id="org40d2ff7">Neomutt</h2>
<div class="outline-text-2" id="text-org40d2ff7">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Name</span>=Neomutt
<span class="org-variable-name">GenericName</span>=Email client
<span class="org-variable-name">Exec</span>=$TERMINAL -e neomutt %u
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Icon</span>=/usr/share/icons/Papirus/64x64/apps/mutt.svg
<span class="org-variable-name">Categories</span>=Network;Email;
<span class="org-variable-name">MimeType</span>=message/rfc822;x-scheme-handler/mailto;application/x-xpinstall;
<span class="org-variable-name">StartupNotify</span>=true
<pre class="src src-conf">[Desktop Entry]
Name=Neomutt
GenericName=Email client
Exec=$TERMINAL -e neomutt %u
Type=Application
Icon=/usr/share/icons/Papirus/64x64/apps/mutt.svg
Categories=Network;Email;
MimeType=message/rfc822;x-scheme-handler/mailto;application/x-xpinstall;
StartupNotify=true
</pre>
</div>
</div>
@ -309,18 +98,18 @@
<h2 id="orgfba702e">Weechat</h2>
<div class="outline-text-2" id="text-orgfba702e">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Encoding</span>=UTF-8
<span class="org-variable-name">MultipleArgs</span>=false
<span class="org-variable-name">Terminal</span>=false
<span class="org-variable-name">Exec</span>=$TERMINAL --class=WeeChat -e <span class="org-string">'weechat'</span>
<span class="org-variable-name">StartupWMClass</span>=WeeChat
<span class="org-variable-name">Icon</span>=/usr/share/icons/Papirus/64x64/apps/weechat.svg
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Categories</span>=Network;IRCClient;
<span class="org-variable-name">StartupNotify</span>=true
<span class="org-variable-name">Name</span>=WeeChat
<span class="org-variable-name">GenericName</span>=IRC Client
<pre class="src src-conf">[Desktop Entry]
Encoding=UTF-8
MultipleArgs=false
Terminal=false
Exec=$TERMINAL --class=WeeChat -e 'weechat'
StartupWMClass=WeeChat
Icon=/usr/share/icons/Papirus/64x64/apps/weechat.svg
Type=Application
Categories=Network;IRCClient;
StartupNotify=true
Name=WeeChat
GenericName=IRC Client
</pre>
</div>
</div>
@ -330,36 +119,17 @@
<h2 id="org0917adc">Matlab</h2>
<div class="outline-text-2" id="text-org0917adc">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Version</span>=R2019b
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Terminal</span>=false
<span class="org-variable-name">MimeType</span>=text/x-matlab
<span class="org-variable-name">Exec</span>=/usr/local/MATLAB/R2019b/bin/matlab -desktop
<span class="org-variable-name">Name</span>=MATLAB
<span class="org-variable-name">Icon</span>=matlab
<span class="org-variable-name">Categories</span>=Development;Math;Science
<span class="org-variable-name">Comment</span>=Scientific computing environment
<span class="org-variable-name">StartupNotify</span>=true
</pre>
</div>
</div>
</div>
<div id="outline-container-org67724e9" class="outline-2">
<h2 id="org67724e9">Zathura</h2>
<div class="outline-text-2" id="text-org67724e9">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Version</span>=<span class="org-highlight-numbers-number">1.0</span>
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Name</span>=Zathura
<span class="org-variable-name">Comment</span>=A minimalistic document viewer
<span class="org-variable-name">Exec</span>=zathura %U
<span class="org-variable-name">Icon</span>=/usr/share/icons/Papirus/64x64/apps/zathura.svg
<span class="org-variable-name">Terminal</span>=false
<span class="org-variable-name">Categories</span>=Office;Viewer;
<span class="org-variable-name">Keywords</span>=PDF;PS;PostScript;DjVU;document;presentation;viewer;
<pre class="src src-conf">[Desktop Entry]
Version=R2020a
Type=Application
Terminal=false
MimeType=text/x-matlab
Exec=/usr/local/MATLAB/R2020a/bin/matlab -desktop -nosplash
Name=MATLAB
Icon=matlab
Categories=Development;Math;Science
Comment=Scientific computing environment
StartupNotify=true
</pre>
</div>
</div>
@ -369,18 +139,18 @@
<h2 id="org721c080">Neovim</h2>
<div class="outline-text-2" id="text-org721c080">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Name</span>=Neovim
<span class="org-variable-name">GenericName</span>=Text Editor
<span class="org-variable-name">Comment</span>=Edit text files
<span class="org-variable-name">Exec</span>=nvim %F
<span class="org-variable-name">Terminal</span>=true
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Keywords</span>=Text;editor;
<span class="org-variable-name">Icon</span>=/usr/share/icons/Papirus/48x48/apps/nvim.svg
<span class="org-variable-name">Categories</span>=Utility;TextEditor;
<span class="org-variable-name">StartupNotify</span>=false
<span class="org-variable-name">MimeType</span>=text/english;text/plain;text/x-makefile;
<pre class="src src-conf">[Desktop Entry]
Name=Neovim
GenericName=Text Editor
Comment=Edit text files
Exec=nvim %F
Terminal=true
Type=Application
Keywords=Text;editor;
Icon=/usr/share/icons/Papirus/48x48/apps/nvim.svg
Categories=Utility;TextEditor;
StartupNotify=false
MimeType=text/english;text/plain;text/x-makefile;
</pre>
</div>
</div>
@ -390,10 +160,10 @@
<h2 id="org11a99e9">Images</h2>
<div class="outline-text-2" id="text-org11a99e9">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Name</span>=Image viewer
<span class="org-variable-name">Exec</span>=/usr/bin/sxiv -a %u
<pre class="src src-conf">[Desktop Entry]
Type=Application
Name=Image viewer
Exec=/usr/bin/sxiv -a %u
</pre>
</div>
</div>
@ -403,30 +173,31 @@
<h2 id="org6d53535">Org-Protocol</h2>
<div class="outline-text-2" id="text-org6d53535">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Name</span>=org-protocol
<span class="org-variable-name">Exec</span>=emacsclient %u
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Terminal</span>=false
<span class="org-variable-name">Categories</span>=System;
<span class="org-variable-name">MimeType</span>=x-scheme-handler/org-protocol;
<pre class="src src-conf">[Desktop Entry]
Name=org-protocol
Exec=emacsclient %u
Icon=emacs-icon
Type=Application
Terminal=false
MimeType=x-scheme-handler/org-protocol;
</pre>
</div>
</div>
</div>
<div id="outline-container-org77502a5" class="outline-2">
<h2 id="org77502a5">Ranger</h2>
<div class="outline-text-2" id="text-org77502a5">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Name</span>=ranger
<span class="org-variable-name">Comment</span>=Launches the ranger file manager
<span class="org-variable-name">Icon</span>=utilities-terminal
<span class="org-variable-name">Terminal</span>=true
<span class="org-variable-name">Exec</span>=ranger
<span class="org-variable-name">Categories</span>=ConsoleOnly;System;FileTools;FileManager
<span class="org-variable-name">MimeType</span>=inode/directory;inode/mount-point;x-scheme-handler/ssh;x-scheme-handler/smb;x-scheme-handler/nfs;x-scheme-handler/ftp;
<pre class="src src-conf">[Desktop Entry]
Type=Application
Name=ranger
Comment=Launches the ranger file manager
Icon=utilities-terminal
Terminal=true
Exec=ranger
Categories=ConsoleOnly;System;FileTools;FileManager
MimeType=inode/directory;inode/mount-point;x-scheme-handler/ssh;x-scheme-handler/smb;x-scheme-handler/nfs;x-scheme-handler/ftp;
</pre>
</div>
</div>
@ -435,14 +206,14 @@
<h2 id="orgbb53a17">Emacs Client</h2>
<div class="outline-text-2" id="text-orgbb53a17">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Name</span>=Emacs Client
<span class="org-variable-name">Exec</span>=emacsclient -c %u
<span class="org-variable-name">Icon</span>=emacs-icon
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Terminal</span>=false
<span class="org-variable-name">MimeType</span>=x-scheme-handler/org-protocol;
<span class="org-variable-name">NoDisplay</span>=true
<pre class="src src-conf">[Desktop Entry]
Name=Emacs Client
Exec=emacsclient -c %u
Icon=emacs-icon
Type=Application
Terminal=false
MimeType=x-scheme-handler/org-protocol;
NoDisplay=true
</pre>
</div>
</div>
@ -452,10 +223,10 @@
<h2 id="org3bbf6ce">Torrent with Transmission</h2>
<div class="outline-text-2" id="text-org3bbf6ce">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Name</span>=Torrent
<span class="org-variable-name">Exec</span>=tremc %U
<pre class="src src-conf">[Desktop Entry]
Type=Application
Name=Torrent
Exec=tremc %U
</pre>
</div>
</div>
@ -463,7 +234,7 @@
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-04-05 dim. 11:29</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

157
docs/binaries-private.html Normal file
View File

@ -0,0 +1,157 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2020-05-26 mar. 08:39 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>My own specific binaries</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" />
<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>
</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">My own specific binaries</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org6b54cb5"><code>remote-desktop</code> - Remote Desktop Connect</a></li>
<li><a href="#org510bdb5"><code>print-rnice</code> - Print on Rnice</a></li>
<li><a href="#org23d98e4"><code>tmp14</code> - Mount/Umount tmp_14_days folder</a></li>
<li><a href="#org86657ca"><code>nas</code> - Interact with the NAS</a></li>
<li><a href="#org626d308"><code>torrent-add</code> - Download Torrent</a></li>
</ul>
</div>
</div>
<div id="outline-container-org6b54cb5" class="outline-2">
<h2 id="org6b54cb5"><code>remote-desktop</code> - Remote Desktop Connect</h2>
<div class="outline-text-2" id="text-org6b54cb5">
<div class="org-src-container">
<pre class="src src-bash">computer=$(echo -e 'RNICE\nPCMEL1\nPCNASS1\nPCMEG01' | dmenu -p 'Computer:' -l 20);
case $computer in
PCMEL1)
rdesktop -a 16 -P -z -x m -r sound:off -g "80%" -u "ESRF\OPPEL" -p $(pass esrf/PCMEL1/OPPEL | sed -n 1p) pcmel1
;;
PCMEG01)
rdesktop -a 16 -P -z -x m -r sound:off -g "80%" -u "ESRF\DEHAEZE" -p $(pass ssl.esrf.fr/dehaeze | sed -n 1p) pcmeg01
;;
PCNASS1)
rdesktop -a 16 -P -z -x m -r sound:off -g "80%" -u "ESRF\DEHAEZE" -p $(pass ssl.esrf.fr/dehaeze | sed -n 1p) pcnass1
;;
RNICE)
echo "Not yet implemented"
;;
*)
echo "Not existing"
;;
esac
</pre>
</div>
</div>
</div>
<div id="outline-container-org510bdb5" class="outline-2">
<h2 id="org510bdb5"><code>print-rnice</code> - Print on Rnice</h2>
<div class="outline-text-2" id="text-org510bdb5">
<div class="org-src-container">
<pre class="src src-bash">nbpage=$(echo -e '1\n2\n4' | dmenu -p 'Number of pages per sheet' -l 20);
sides=$(echo -e 'one-sided\ntwo-sided-long-edge\ntwo-sided-short-edge' | dmenu -p 'Two Sided:' -l 20);
# First copy the file to Rnice
if sshpass -p "$(pass ssl.esrf.fr/dehaeze | sed -n 1p)" scp $1 dehaeze@rnice:~/Downloads/; then
# Then print on Rnice
sshpass -p "$(pass ssl.esrf.fr/dehaeze | sed -n 1p)" ssh dehaeze@rnice "lpr -o media=A4 -o sides=$sides -o number-up=$nbpage -P ctb110c1u ~/Downloads/$1";
# Finally, delete the file
else
echo "Command Failed"
fi
</pre>
</div>
</div>
</div>
<div id="outline-container-org23d98e4" class="outline-2">
<h2 id="org23d98e4"><code>tmp14</code> - Mount/Umount tmp_14_days folder</h2>
<div class="outline-text-2" id="text-org23d98e4">
<div class="org-src-container">
<pre class="src src-bash">if [ $1 == "mount" ]; then
if sshfs -o allow_other,default_permissions -p 5022 dehaeze@firewall.esrf.fr:/tmp_14_days/ ~/mnt/ESRF; then
dunstify --replace=58249 'ESRF TMP ' 'Successfully mounted'
else
dunstify --replace=58249 --urgency=critical 'ESRF TMP ' 'Error while mounted'
fi
elif [ $1 == "umount" ]; then
if umount /home/thomas/mnt/ESRF/; then
dunstify --replace=58249 'ESRF TMP ' 'Successfully unmounted'
else
dunstify --replace=58249 --urgency=critical 'ESRF TMP ' 'Error while unmounted'
fi
fi
</pre>
</div>
</div>
</div>
<div id="outline-container-org86657ca" class="outline-2">
<h2 id="org86657ca"><code>nas</code> - Interact with the NAS</h2>
<div class="outline-text-2" id="text-org86657ca">
<p>
As an alternative, <code>sshfs</code> can be used:
</p>
<div class="org-src-container">
<pre class="src src-bash">sshfs -o allow_other,default_permissions nas:/Data ~/mnt/NAS
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash">if [ $1 == "mount" ]; then
if mount /home/thomas/mnt/NAS/; then
dunstify --replace=58249 'NAS ' 'Successfully mounted'
else
dunstify --replace=58249 --urgency=critical 'NAS ' 'Error while mounted'
fi
elif [ $1 == "umount" ]; then
if umount /home/thomas/mnt/NAS/; then
dunstify --replace=58249 'NAS ' 'Successfully unmounted'
else
dunstify --replace=58249 --urgency=critical 'NAS ' 'Error while unmounted'
fi
fi
</pre>
</div>
</div>
</div>
<div id="outline-container-org626d308" class="outline-2">
<h2 id="org626d308"><code>torrent-add</code> - Download Torrent</h2>
<div class="outline-text-2" id="text-org626d308">
<div class="org-src-container">
<pre class="src src-bash">transmission-remote ***REMOVED***:9091 --auth tdehaeze:$(pass nas/transmission | sed -n 1p) -a $1 &amp;&amp; \
dunstify 'Torrent' 'Successfully added' || \
dunstify 'Torrent' 'Error'
</pre>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -1,229 +1,19 @@
<?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:49 -->
<!-- 2020-05-26 mar. 08:39 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Calendar Configuration</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">
@ -246,43 +36,43 @@
<h2 id="org6792e9b">Vdirsyncer</h2>
<div class="outline-text-2" id="text-org6792e9b">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">general</span>]
<span class="org-variable-name">status_path</span> = <span class="org-string">"~/.config/vdirsyncer/status/"</span>
<pre class="src src-conf">[general]
status_path = "~/.config/vdirsyncer/status/"
[<span class="org-type">pair google_calendar</span>]
<span class="org-variable-name">a</span> = <span class="org-string">"google_calendar_remote"</span>
<span class="org-variable-name">b</span> = <span class="org-string">"google_calendar_local"</span>
<span class="org-variable-name">collections</span> = [<span class="org-string">"dehaeze.thomas@gmail.com"</span>, <span class="org-string">"8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com"</span>]
<span class="org-variable-name">conflict_resolution</span> = <span class="org-string">"a wins"</span>
[pair google_calendar]
a = "google_calendar_remote"
b = "google_calendar_local"
collections = ["dehaeze.thomas@gmail.com", "8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com"]
conflict_resolution = "a wins"
[<span class="org-type">storage google_calendar_remote</span>]
<span class="org-variable-name">type</span> = <span class="org-string">"google_calendar"</span>
<span class="org-variable-name">token_file</span> = <span class="org-string">"~/.config/dotfiles/private/token_file"</span>
<span class="org-variable-name">client_id</span> = <span class="org-string">"188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"</span>
<span class="org-variable-name">client_secret</span> = <span class="org-string">"&lt;&lt;get-password(passname="</span>calendar/google_client_secret<span class="org-string">")&gt;&gt;"</span>
[storage google_calendar_remote]
type = "google_calendar"
token_file = "~/.config/dotfiles/private/token_file"
client_id = "188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"
client_secret = "&lt;&lt;get-password(passname="calendar/google_client_secret")&gt;&gt;"
[<span class="org-type">storage google_calendar_local</span>]
<span class="org-variable-name">type</span> = <span class="org-string">"filesystem"</span>
<span class="org-variable-name">path</span> = <span class="org-string">"~/.calendars/google/"</span>
<span class="org-variable-name">fileext</span> = <span class="org-string">".ics"</span>
[storage google_calendar_local]
type = "filesystem"
path = "~/.calendars/google/"
fileext = ".ics"
[<span class="org-type">pair google_contacts</span>]
<span class="org-variable-name">a</span> = <span class="org-string">"google_contacts_remote"</span>
<span class="org-variable-name">b</span> = <span class="org-string">"google_contacts_local"</span>
<span class="org-variable-name">collections</span> = [<span class="org-string">"from a"</span>, <span class="org-string">"from b"</span>]
<span class="org-variable-name">conflict_resolution</span> = <span class="org-string">"a wins"</span>
[pair google_contacts]
a = "google_contacts_remote"
b = "google_contacts_local"
collections = ["from a", "from b"]
conflict_resolution = "a wins"
[<span class="org-type">storage google_contacts_local</span>]
<span class="org-variable-name">type</span> = <span class="org-string">"filesystem"</span>
<span class="org-variable-name">path</span> = <span class="org-string">"~/.contacts/"</span>
<span class="org-variable-name">fileext</span> = <span class="org-string">".vcf"</span>
[storage google_contacts_local]
type = "filesystem"
path = "~/.contacts/"
fileext = ".vcf"
[<span class="org-type">storage google_contacts_remote</span>]
<span class="org-variable-name">type</span> = <span class="org-string">"google_contacts"</span>
<span class="org-variable-name">token_file</span> = <span class="org-string">"~/.config/dotfiles/private/token_file_carddav"</span>
<span class="org-variable-name">client_id</span> = <span class="org-string">"188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"</span>
<span class="org-variable-name">client_secret</span> = <span class="org-string">"&lt;&lt;get-password(passname="</span>contacts/google_client_secret<span class="org-string">")&gt;&gt;"</span>
[storage google_contacts_remote]
type = "google_contacts"
token_file = "~/.config/dotfiles/private/token_file_carddav"
client_id = "188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"
client_secret = "&lt;&lt;get-password(passname="contacts/google_client_secret")&gt;&gt;"
</pre>
</div>
</div>
@ -291,32 +81,36 @@
<div id="outline-container-org481e0d6" class="outline-2">
<h2 id="org481e0d6">Khal</h2>
<div class="outline-text-2" id="text-org481e0d6">
<p>
:header-arg s: :tangle ~/.config/khal/config
:header-args+: :comments both :mkdirp yes
</p>
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">calendars</span>]
<pre class="src src-conf">[calendars]
[<span class="org-type">[home]</span>]
<span class="org-variable-name">path</span> = ~/.calendars/google/dehaeze.thomas@gmail.com/
<span class="org-variable-name">color</span> = <span class="org-string">"#B8BB26"</span>
[[home]]
path = ~/.calendars/google/dehaeze.thomas@gmail.com/
color = "#B8BB26"
[<span class="org-type">[work]</span>]
<span class="org-variable-name">path</span> = ~/.calendars/google/8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com/
<span class="org-variable-name">color</span> = <span class="org-string">"#FB4934"</span>
[[work]]
path = ~/.calendars/google/8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com/
color = "#FB4934"
[<span class="org-type">highlight_days</span>]
<span class="org-variable-name">multiple</span> = <span class="org-string">"#FABD2F"</span>
[highlight_days]
multiple = "#FABD2F"
[<span class="org-type">default</span>]
<span class="org-variable-name">highlight_event_days</span> = True
[default]
highlight_event_days = True
[<span class="org-type">keybindings</span>]
<span class="org-variable-name">delete</span> = d
<span class="org-variable-name">today</span> = .
<span class="org-variable-name">new</span> = c
[locale]
local_timezone= Europe/Berlin
default_timezone= Europe/Berlin
timeformat= %H:%M
dateformat= %d.%m.
longdateformat= %d.%m.%Y
datetimeformat= %d.%m. %H:%M
longdatetimeformat= %d.%m.%Y %H:%M
[keybindings]
delete = d
today = .
new = c
</pre>
</div>
</div>
@ -324,7 +118,7 @@
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-03-01 dim. 22:49</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p>
</div>
</body>
</html>

View File

@ -1,229 +1,19 @@
<?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-04-05 dim. 11:29 -->
<!-- 2020-05-26 mar. 08:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Configuration Files</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&amp;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">
@ -238,7 +28,6 @@
<ul>
<li><a href="#org964079a">SSH</a></li>
<li><a href="#org4d50f78">Font</a></li>
<li><a href="#org09a995e">Input</a></li>
<li><a href="#org5432d18">GnuPG</a></li>
<li><a href="#orgb73fd39">Redshift</a></li>
<li><a href="#org2836d2e">dmenu</a></li>
@ -256,31 +45,31 @@
Host grenoble
hostname ***REMOVED***
Port <span class="org-highlight-numbers-number">10022</span>
Port 10022
user tdehaeze
IdentityFile ~/.ssh/id_rsa
Host wingaudio
hostname 207.154.251.241
Port <span class="org-highlight-numbers-number">22</span>
Port 22
user tdehaeze
IdentityFile ~/.ssh/id_rsa
Host octoprint
hostname 192.168.1.56
Port <span class="org-highlight-numbers-number">22</span>
Port 22
user pi
IdentityFile ~/.ssh/id_rsa
Host hassio
hostname 192.168.1.101
Port <span class="org-highlight-numbers-number">10022</span>
Port 10022
user root
IdentityFile ~/.ssh/id_rsa
Host nas
hostname 192.168.1.50
Port <span class="org-highlight-numbers-number">10022</span>
Port 10022
user tdehaeze
IdentityFile ~/.ssh/id_rsa
</pre>
@ -292,8 +81,8 @@ Host nas
<h2 id="org4d50f78">Font</h2>
<div class="outline-text-2" id="text-org4d50f78">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">&lt;?xml version</span>=<span class="org-string">'1.0'</span>?&gt;
&lt;!DOCTYPE fontconfig SYSTEM <span class="org-string">'fonts.dtd'</span>&gt;
<pre class="src src-conf">&lt;?xml version='1.0'?&gt;
&lt;!DOCTYPE fontconfig SYSTEM 'fonts.dtd'&gt;
&lt;fontconfig&gt;
&lt;alias&gt;
@ -319,90 +108,12 @@ Host nas
</div>
</div>
<div id="outline-container-org09a995e" class="outline-2">
<h2 id="org09a995e">Input</h2>
<div class="outline-text-2" id="text-org09a995e">
<p>
Completion:
</p>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Single tab for autocompletion</span>
set show-all-if-ambiguous on
<span class="org-comment-delimiter"># </span><span class="org-comment">Ignore case for completion</span>
set completion-ignore-case on
</pre>
</div>
<p>
vi mode:
</p>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">VI mode (works in bash and zsh)</span>
set editing-mode vi
<span class="org-comment-delimiter"># </span><span class="org-comment">Show which mode (normal or insert)</span>
set show-mode-in-prompt on
<span class="org-comment-delimiter"># </span><span class="org-comment">Show the mode by changing the cursor</span>
set vi-ins-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">6</span> q\<span class="org-highlight-numbers-number">2</span>
set vi-cmd-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">2</span> q\<span class="org-highlight-numbers-number">2</span>
</pre>
</div>
<p>
Key-bindings for vi-mode:
</p>
<div class="org-src-container">
<pre class="src src-conf">set keymap vi-command
<span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-command mode</span>
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line
Control-w: <span class="org-string">"\C-aisudo \C-e"</span>
set keymap vi-insert
<span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-insert mode</span>
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line
Control-w: <span class="org-string">"\C-asudo \C-e"</span>
</pre>
</div>
<p>
Colorized completion
</p>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Color files by types</span>
set colored-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Append char to indicate type</span>
set visible-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Mark symlinked directories</span>
set mark-symlinked-directories On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix</span>
set colored-completion-prefix On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix in menu-complete</span>
set menu-complete-display-prefix On
</pre>
</div>
<p>
Don&rsquo;t echo <code>^C</code> after <code>Ctrl+C</code> is pressed.
</p>
<div class="org-src-container">
<pre class="src src-conf">set echo-control-characters off
</pre>
</div>
</div>
</div>
<div id="outline-container-org5432d18" class="outline-2">
<h2 id="org5432d18">GnuPG</h2>
<div class="outline-text-2" id="text-org5432d18">
<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 class="src src-conf">default-cache-ttl 60480000
max-cache-ttl 60480000
</pre>
</div>
</div>
@ -412,22 +123,22 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<h2 id="orgb73fd39">Redshift</h2>
<div class="outline-text-2" id="text-orgb73fd39">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">redshift</span>]
<span class="org-variable-name">temp-day</span>=<span class="org-highlight-numbers-number">5700</span>
<span class="org-variable-name">temp-night</span>=<span class="org-highlight-numbers-number">3500</span>
<pre class="src src-conf">[redshift]
temp-day=5700
temp-night=3500
<span class="org-variable-name">transition</span>=<span class="org-highlight-numbers-number">1</span>
transition=1
<span class="org-variable-name">;brightness-day</span>=<span class="org-highlight-numbers-number">0.7</span>
<span class="org-variable-name">;brightness-night</span>=<span class="org-highlight-numbers-number">0.4</span>
;brightness-day=0.7
;brightness-night=0.4
<span class="org-variable-name">location-provider</span>=manual
location-provider=manual
<span class="org-variable-name">adjustment-method</span>=randr
adjustment-method=randr
[<span class="org-type">manual</span>]
<span class="org-variable-name">lat</span>=<span class="org-highlight-numbers-number">45.1</span>
<span class="org-variable-name">lon</span>=<span class="org-highlight-numbers-number">5.7</span>
[manual]
lat=45.1
lon=5.7
</pre>
</div>
</div>
@ -437,26 +148,26 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<h2 id="org2836d2e">dmenu</h2>
<div class="outline-text-2" id="text-org2836d2e">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">define the font for dmenu to be used</span>
<span class="org-variable-name">DMENU_FN</span>=<span class="org-string">"Hack Nerd Font 12"</span>
<pre class="src src-conf"># define the font for dmenu to be used
DMENU_FN="Hack Nerd Font 12"
<span class="org-comment-delimiter"># </span><span class="org-comment">background colour for unselected menu-items</span>
<span class="org-variable-name">DMENU_NB</span>=<span class="org-string">"#222D31"</span>
# background colour for unselected menu-items
DMENU_NB="#222D31"
<span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for unselected menu-items</span>
<span class="org-variable-name">DMENU_NF</span>=<span class="org-string">"#F9FAF9"</span>
# textcolour for unselected menu-items
DMENU_NF="#F9FAF9"
<span class="org-comment-delimiter"># </span><span class="org-comment">background colour for selected menu-items</span>
<span class="org-variable-name">DMENU_SB</span>=<span class="org-string">"#16A085"</span>
# background colour for selected menu-items
DMENU_SB="#16A085"
<span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for selected menu-items</span>
<span class="org-variable-name">DMENU_SF</span>=<span class="org-string">"#F9FAF9"</span>
# textcolour for selected menu-items
DMENU_SF="#F9FAF9"
<span class="org-comment-delimiter"># </span><span class="org-comment">command for the terminal application to be used:</span>
<span class="org-variable-name">TERMINAL_CMD</span>=<span class="org-string">"terminal -e"</span>
# command for the terminal application to be used:
TERMINAL_CMD="terminal -e"
<span class="org-comment-delimiter"># </span><span class="org-comment">export our variables</span>
<span class="org-variable-name">DMENU_OPTIONS</span>=<span class="org-string">"-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"</span>
# export our variables
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
</pre>
</div>
</div>
@ -466,20 +177,20 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<h2 id="org4f16229">Locale</h2>
<div class="outline-text-2" id="text-org4f16229">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">LANG</span>=en_US.UTF-8
<span class="org-variable-name">LC_CTYPE</span>=<span class="org-string">"en_US.UTF-8"</span>
<span class="org-variable-name">LC_NUMERIC</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_TIME</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_COLLATE</span>=<span class="org-string">"en_US.UTF-8"</span>
<span class="org-variable-name">LC_MONETARY</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_MESSAGES</span>=<span class="org-string">"en_US.UTF-8"</span>
<span class="org-variable-name">LC_PAPER</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_NAME</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_ADDRESS</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_TELEPHONE</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_MEASUREMENT</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_IDENTIFICATION</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_ALL</span>=
<pre class="src src-conf">LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=
</pre>
</div>
</div>
@ -489,8 +200,8 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<h2 id="org3de708f">Pass Git Helper</h2>
<div class="outline-text-2" id="text-org3de708f">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">github.com*</span>]
<span class="org-variable-name">target</span>=github.com/tdehaeze
<pre class="src src-conf">[github.com*]
target=github.com/tdehaeze
</pre>
</div>
</div>
@ -498,7 +209,7 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-04-05 dim. 11:29</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,115 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2020-05-26 mar. 08:39 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>My Own Library of Babel</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Thomas Dehaeze" />
</head>
<body>
<div id="content">
<h1 class="title">My Own Library of Babel</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org71b708a"><code>get-password</code> - Get Password from <code>pass</code></a></li>
<li><a href="#org79b9e08"><code>pdf2svg</code> - Export to pdf/png/svg at the same time</a></li>
<li><a href="#org6ba9d05"><code>addhdr</code> - Add hline to tables</a></li>
<li><a href="#org7b7c23f">Matlab Related</a>
<ul>
<li><a href="#orgd33f90b"><code>matlab-dir</code> Go to current directory</a></li>
<li><a href="#org408551b"><code>matlab-init</code> Initialize matlab</a></li>
<li><a href="#orgf9fe5d3"><code>plt-matlab</code> Plot figures</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org71b708a" class="outline-2">
<h2 id="org71b708a"><code>get-password</code> - Get Password from <code>pass</code></h2>
<div class="outline-text-2" id="text-org71b708a">
<div class="org-src-container">
<pre class="src src-bash" id="org8e7df7d">pass $passname | sed -n 1p
</pre>
</div>
</div>
</div>
<div id="outline-container-org79b9e08" class="outline-2">
<h2 id="org79b9e08"><code>pdf2svg</code> - Export to pdf/png/svg at the same time</h2>
<div class="outline-text-2" id="text-org79b9e08">
<div class="org-src-container">
<pre class="src src-sh" id="org2d9e76a">_mydir="$(pwd)";
file=$(echo "$file" | cut -f 2- -d ':');
_figdir=$(dirname "$file");
cd $_figdir;
filename=$(echo "${file##*/}" | cut -f 1 -d '.');
pdftocairo -png -transp -singlefile "$filename.pdf";
pdftocairo -svg "$filename.pdf";
cd "$_mydir";
echo "[[file:$_figdir/$filename.$ext]]"
</pre>
</div>
</div>
</div>
<div id="outline-container-org6ba9d05" class="outline-2">
<h2 id="org6ba9d05"><code>addhdr</code> - Add hline to tables</h2>
<div class="outline-text-2" id="text-org6ba9d05">
<div class="org-src-container">
<pre class="src src-emacs-lisp" id="orgf8eebf6">(cons (car tbl) (cons 'hline (cdr tbl)))
</pre>
</div>
</div>
</div>
<div id="outline-container-org7b7c23f" class="outline-2">
<h2 id="org7b7c23f">Matlab Related</h2>
<div class="outline-text-2" id="text-org7b7c23f">
</div>
<div id="outline-container-orgd33f90b" class="outline-3">
<h3 id="orgd33f90b"><code>matlab-dir</code> Go to current directory</h3>
</div>
<div id="outline-container-org408551b" class="outline-3">
<h3 id="org408551b"><code>matlab-init</code> Initialize matlab</h3>
</div>
<div id="outline-container-orgf9fe5d3" class="outline-3">
<h3 id="orgf9fe5d3"><code>plt-matlab</code> Plot figures</h3>
<div class="outline-text-3" id="text-orgf9fe5d3">
<p>
Some variable can be set by block that expands this org source code block:
</p>
<ul class="org-ul">
<li><code>path</code>: specify the path of the figure including the file extension. Can be relative or absolute. If not provided, it will create the figure in the <code>/tmp</code> folder</li>
<li><code>fig_size</code>: can specify the size of the figure. If not specify, default will be applied.</li>
</ul>
<div class="org-src-container">
<pre class="src src-matlab" id="org035555e">if ~exist('filepath') || length(filepath) &lt; 2
symbols = ['a':'z' 'A':'Z' '0':'9'];
random_string = symbols(randi(numel(symbols),[1 5]));
filepath = ['/tmp/matlab-fig-', random_string];
end
size_strings = strsplit(figsize, '-');
ans = exportFig(filepath, 'width', size_strings{1}, 'height', size_strings{2});
</pre>
</div>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Thomas Dehaeze</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p>
</div>
</body>
</html>

812
docs/emacs-snippets.html Normal file
View File

@ -0,0 +1,812 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2020-05-26 mar. 08:39 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Doom Emacs Configuration</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" />
<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>
</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">Doom Emacs Configuration</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org2d95028">LaTeX</a>
<ul>
<li><a href="#org8474362">Coordinate</a></li>
<li><a href="#org59ecb26">Draw</a></li>
<li><a href="#org7d9566f">Node</a></li>
<li><a href="#org2bf4fa9">Path</a></li>
</ul>
</li>
<li><a href="#org184a71b">Matlab</a>
<ul>
<li><a href="#org57b4acd">Clear</a></li>
<li><a href="#org2e18b5b">Function</a></li>
</ul>
</li>
<li><a href="#org1d5c56b">Org Mode</a>
<ul>
<li><a href="#orge6f2295">Begin</a></li>
<li><a href="#orge3638b9">Caption</a></li>
<li><a href="#org5baebfd">Block</a></li>
<li><a href="#org5af680d">Custom Box</a></li>
<li><a href="#orgbc9e91e">Latex Class</a></li>
<li><a href="#org44e3f97">Bibliography with completion</a></li>
<li><a href="#orgff33361">Cite</a></li>
<li><a href="#org2596a7d">Ref</a></li>
<li><a href="#orgad4ea52">Beamer - CBOX</a></li>
<li><a href="#orgeceea05">Code</a></li>
<li><a href="#org07c50c9">Equation</a></li>
<li><a href="#orgc8d9a5f">Figure</a></li>
<li><a href="#org110ed8f">Frac</a></li>
<li><a href="#orgd3f3c7d">Left</a></li>
<li><a href="#org7443b06">Minipage</a></li>
<li><a href="#orgeb4af43">Multicolumn</a></li>
<li><a href="#org88c6f73">Subfigure</a></li>
<li><a href="#orgc411771">Table</a></li>
<li><a href="#org9f4cd61">Tikz</a></li>
<li><a href="#org354eeb6">Tikzfig</a></li>
<li><a href="#org82996fc">Tikzheader</a></li>
<li><a href="#orge0d83c7">User-config</a></li>
<li><a href="#orgdd8424a">User-init</a></li>
<li><a href="#orgfd7122c">Wrap</a></li>
<li><a href="#orgca596d4">Matlab Specific</a>
<ul>
<li><a href="#org8ec12f3">Mconfig</a></li>
<li><a href="#orge7bcf86">Mdescription</a></li>
<li><a href="#orgbc46c85">Mfigure</a></li>
<li><a href="#orgab32029">Mfunction</a></li>
<li><a href="#orgc44afd5">Mheader</a></li>
<li><a href="#orga9eb6ca">Minit</a></li>
<li><a href="#org3ccf909">Mtable</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org2d95028" class="outline-2">
<h2 id="org2d95028">LaTeX</h2>
<div class="outline-text-2" id="text-org2d95028">
</div>
<div id="outline-container-org8474362" class="outline-3">
<h3 id="org8474362">Coordinate</h3>
<div class="outline-text-3" id="text-org8474362">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :coordinate
# --
\coordinate[${1:-&gt;}] (${2:name}) at (${3:pointcoordinate});
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org59ecb26" class="outline-3">
<h3 id="org59ecb26">Draw</h3>
<div class="outline-text-3" id="text-org59ecb26">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :draw
# --
\draw[${1:-&gt;}] (${2:point1}) -- (${3:point2});
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org7d9566f" class="outline-3">
<h3 id="org7d9566f">Node</h3>
<div class="outline-text-3" id="text-org7d9566f">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :node
# --
node[${1:below right}] (${2:name}) {${3:label}};
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org2bf4fa9" class="outline-3">
<h3 id="org2bf4fa9">Path</h3>
<div class="outline-text-3" id="text-org2bf4fa9">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :path
# --
\path[${1}] (${2:point1}) -- (${3:point2});
$0
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org184a71b" class="outline-2">
<h2 id="org184a71b">Matlab</h2>
<div class="outline-text-2" id="text-org184a71b">
</div>
<div id="outline-container-org57b4acd" class="outline-3">
<h3 id="org57b4acd">Clear</h3>
<div class="outline-text-3" id="text-org57b4acd">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :clear and close all
# --
clear; close all; clc;
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org2e18b5b" class="outline-3">
<h3 id="org2e18b5b">Function</h3>
<div class="outline-text-3" id="text-org2e18b5b">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :function
# --
function [${4:outputs}] = ${1:functionName}(${2:inputs}, ${3:opts_param})
% $1 - Description
%
% Syntax: $1($2, $3)
%
% Inputs:
% - $2 -
% - $3 - Optionals parameters: structure with the following fields:
% -
%
% Outputs:
% - $4 -
%% Default value for opts
opts = struct(...
'${5:outputs}', ${6:default_value} ...
);
if exist('opts_param','var')
for opt = fieldnames($3)'
if sum(strcmp(fieldnames(opts), opt{1})) == 1
opts.(opt{1}) = $3.(opt{1});
else
warning(sprintf('%s is not a valid option.', opt{1}));
end
end
end
$0
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org1d5c56b" class="outline-2">
<h2 id="org1d5c56b">Org Mode</h2>
<div class="outline-text-2" id="text-org1d5c56b">
</div>
<div id="outline-container-orge6f2295" class="outline-3">
<h3 id="orge6f2295">Begin</h3>
<div class="outline-text-3" id="text-orge6f2295">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :LaTeX Environment
# --
\begin{${1:equation}}
$0
\end{$1}
</pre>
</div>
</div>
</div>
<div id="outline-container-orge3638b9" class="outline-3">
<h3 id="orge3638b9">Caption</h3>
<div class="outline-text-3" id="text-orge3638b9">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Caption
# --
#+caption: $0
</pre>
</div>
</div>
</div>
<div id="outline-container-org5baebfd" class="outline-3">
<h3 id="org5baebfd">Block</h3>
<div class="outline-text-3" id="text-org5baebfd">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Org-Mode Block
#key: block
# --
#+begin_${1:$$(let ((type (yas-choose-value '("src" "example" "quote" "verse" "center" "latex" "html" "ascii"))))
(if type (concat type (if (equal type "src")
(concat " " (yas-choose-value '("emacs-lisp" "latex" "python" "sh" "matlab")))))))}
$0
#+end_${1:$(car (split-string yas-text))}
</pre>
</div>
</div>
</div>
<div id="outline-container-org5af680d" class="outline-3">
<h3 id="org5af680d">Custom Box</h3>
<div class="outline-text-3" id="text-org5af680d">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Custom Box
# --
#+attr_latex: :options [$1]{${2:blue}}{${3:ams nodisplayskip}}
#+begin_cbox
$0
#+end_cbox
</pre>
</div>
</div>
</div>
<div id="outline-container-orgbc9e91e" class="outline-3">
<h3 id="orgbc9e91e">Latex Class</h3>
<div class="outline-text-3" id="text-orgbc9e91e">
<div class="org-src-container">
<pre class="src src-conf">#name: latex-class
#key: lc
#expand-env: ((classes (mapcar 'car org-latex-classes)))
# --
#+latex_class: ${1:$$(yas-choose-value classes)}
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org44e3f97" class="outline-3">
<h3 id="org44e3f97">Bibliography with completion</h3>
<div class="outline-text-3" id="text-org44e3f97">
<div class="org-src-container">
<pre class="src src-conf">#name: bibliography with completion
#key: bib
# --
bibliography:${1:$$(yas-choose-value (org-ref-find-bibliography))}
</pre>
</div>
</div>
</div>
<div id="outline-container-orgff33361" class="outline-3">
<h3 id="orgff33361">Cite</h3>
<div class="outline-text-3" id="text-orgff33361">
<div class="org-src-container">
<pre class="src src-conf">#name: org-ref cite link
#key: cite
# --
cite:${1:$$(completing-read
"bibtex key: "
(let ((bibtex-files (org-ref-find-bibliography)))(bibtex-global-key-alist)))}
</pre>
</div>
</div>
</div>
<div id="outline-container-org2596a7d" class="outline-3">
<h3 id="org2596a7d">Ref</h3>
<div class="outline-text-3" id="text-org2596a7d">
<div class="org-src-container">
<pre class="src src-conf">#name: org-ref ref link with completion
#key: ref
# --
ref:${1:$$(completing-read "label: " (org-ref-get-labels))}
</pre>
</div>
</div>
</div>
<div id="outline-container-orgad4ea52" class="outline-3">
<h3 id="orgad4ea52">Beamer - CBOX</h3>
<div class="outline-text-3" id="text-orgad4ea52">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Beamer Custom Box
# --
*** ${1:@@latex:@@} :B_cbox:
,:PROPERTIES:
:BEAMER_env: cbox
:BEAMER_opt: {${2:blue}}{${3:ams nodisplayskip}}
:END:
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orgeceea05" class="outline-3">
<h3 id="orgeceea05">Code</h3>
<div class="outline-text-3" id="text-orgeceea05">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Code
# --
#+caption: ${1:Listing Caption}
#+label: lst:${2:listing_name}
#+begin_src ${3:listing_language}
$0
#+end_src
</pre>
</div>
</div>
</div>
<div id="outline-container-org07c50c9" class="outline-3">
<h3 id="org07c50c9">Equation</h3>
<div class="outline-text-3" id="text-org07c50c9">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Equation
# --
#+name: eq:${1:equation_name}
\begin{equation}
$0
\end{equation}
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc8d9a5f" class="outline-3">
<h3 id="orgc8d9a5f">Figure</h3>
<div class="outline-text-3" id="text-orgc8d9a5f">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Figure
# --
#+name: fig:${1:figure_name}
#+caption: ${2:Figure caption}
[[file:${3:figs/}$1.${4:pdf}]]
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org110ed8f" class="outline-3">
<h3 id="org110ed8f">Frac</h3>
<div class="outline-text-3" id="text-org110ed8f">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :LaTeX Fraction
# --
\frac{$1}{$2} $0
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd3f3c7d" class="outline-3">
<h3 id="orgd3f3c7d">Left</h3>
<div class="outline-text-3" id="text-orgd3f3c7d">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Left Right mathematical delimitations
# --
\left$1 $0 \right$2
</pre>
</div>
</div>
</div>
<div id="outline-container-org7443b06" class="outline-3">
<h3 id="org7443b06">Minipage</h3>
<div class="outline-text-3" id="text-org7443b06">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :minipage
# --
#+BEGIN_EXPORT latex
\begin{figure}[htbp]
\centering
\begin{minipage}[t]{0.49\linewidth}
#+END_EXPORT
#+attr_latex: :float nil :width 0.95\linewidth
$0
#+BEGIN_EXPORT latex
\end{minipage}%
\hfill%
\begin{minipage}[t]{0.49\linewidth}
#+END_EXPORT
#+attr_latex: :float nil :width 0.95\linewidth
#+BEGIN_EXPORT latex
\end{minipage}
\end{figure}
#+END_EXPORT
</pre>
</div>
</div>
</div>
<div id="outline-container-orgeb4af43" class="outline-3">
<h3 id="orgeb4af43">Multicolumn</h3>
<div class="outline-text-3" id="text-orgeb4af43">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Multcolumn
# --
#+attr_latex: :float multicolumn
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org88c6f73" class="outline-3">
<h3 id="org88c6f73">Subfigure</h3>
<div class="outline-text-3" id="text-org88c6f73">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Subfigure
# --
#+name: fig:${1:figure_name}
#+caption: ${2:figure caption}
#+attr_latex: :environment subfigure :width 0.49\linewidth :align c
| file:${3:sub_fig_name}.${4:pdf} | file:${5:sub_fig_name}.${6:pdf} |
| &lt;&lt;fig:$3&gt;&gt; ${7:sub figure caption} | &lt;&lt;fig:$5&gt;&gt; ${8:sub figure caption} |
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc411771" class="outline-3">
<h3 id="orgc411771">Table</h3>
<div class="outline-text-3" id="text-orgc411771">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Table
# --
#+name: tab:${1:table_name}
#+caption: ${2:Table caption}
#+attr_latex: :environment tabularx :width ${3:\linewidth} :align ${4:lXX}
#+attr_latex: :center t :booktabs t :float t
| $0 | | |
|---+---+---|
| | | |
</pre>
</div>
</div>
</div>
<div id="outline-container-org9f4cd61" class="outline-3">
<h3 id="org9f4cd61">Tikz</h3>
<div class="outline-text-3" id="text-org9f4cd61">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Tikz figure
# --
#+begin_src latex :file ${1:figure_name}.pdf :post pdf2svg(file=*this*, ext="png") :exports both
\begin{tikzpicture}
$0
\end{tikzpicture}
#+end_src
</pre>
</div>
</div>
</div>
<div id="outline-container-org354eeb6" class="outline-3">
<h3 id="org354eeb6">Tikzfig</h3>
<div class="outline-text-3" id="text-org354eeb6">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Tikz Figure
# --
#+NAME: fig:${1:figure_name}
#+HEADER: :headers '("\\\\usepackage{tikz}" "\\\\usepackage{import}" "\\\\import{$HOME/Cloud/thesis/LaTeX/}{config.tex}")
#+HEADER: :imagemagick t :fit yes :iminoptions -scale 100% -density 150 :imoutoptions -quality 100
#+HEADER: :results raw replace :buffer no :eval no-export :exports both :mkdirp yes
#+HEADER: :output-dir ${2:figs}
#+begin_src latex :file $1.pdf :post pdf2svg(file=*this*, ext="png") :exports both
\begin{tikzpicture}
$0
\end{tikzpicture}
#+end_src
#+NAME: fig:$1
#+CAPTION: ${3:Caption}
#+RESULTS: fig:$1
</pre>
</div>
</div>
</div>
<div id="outline-container-org82996fc" class="outline-3">
<h3 id="org82996fc">Tikzheader</h3>
<div class="outline-text-3" id="text-org82996fc">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Tikz Header
# --
* ${1:Title/Description of the figure}
#+begin_src latex :file ${2:figure_name}.pdf :tangle figs/$2.tex :exports ${3:both}
\begin{tikzpicture}
$0
\end{tikzpicture}
#+end_src
#+name: fig:$2
#+caption: $1 ([[./figs/$2.png][png]], [[./figs/$2.pdf][pdf]], [[./figs/$2.tex][tex]]).
#+RESULTS:
[[file:./figs/$2.png]]
</pre>
</div>
</div>
</div>
<div id="outline-container-orge0d83c7" class="outline-3">
<h3 id="orge0d83c7">User-config</h3>
<div class="outline-text-3" id="text-orge0d83c7">
<div class="org-src-container">
<pre class="src src-conf"># -*- mode: snippet -*-
# name: user-config
# key: uc
# --
#+begin_src emacs-lisp :tangle user-config.el
$1
#+end_src
</pre>
</div>
</div>
</div>
<div id="outline-container-orgdd8424a" class="outline-3">
<h3 id="orgdd8424a">User-init</h3>
<div class="outline-text-3" id="text-orgdd8424a">
<p>
#+begin_src conf :tangle ~/.config/doom/snippets/org-mode/user-init
</p>
<p>
,#+begin_src emacs-lisp :tangle user-init.el
$1
,#+end_src
#+end_Sec
</p>
</div>
</div>
<div id="outline-container-orgfd7122c" class="outline-3">
<h3 id="orgfd7122c">Wrap</h3>
<div class="outline-text-3" id="text-orgfd7122c">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Wrap
# --
#+attr_latex: :float wrap
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orgca596d4" class="outline-3">
<h3 id="orgca596d4">Matlab Specific</h3>
<div class="outline-text-3" id="text-orgca596d4">
</div>
<div id="outline-container-org8ec12f3" class="outline-4">
<h4 id="org8ec12f3">Mconfig</h4>
<div class="outline-text-4" id="text-org8ec12f3">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Configuration-Header
# --
#+PROPERTY: header-args:matlab :session *MATLAB*
#+PROPERTY: header-args:matlab+ :tangle ${1:filename}.m
#+PROPERTY: header-args:matlab+ :comments org
#+PROPERTY: header-args:matlab+ :exports both
#+PROPERTY: header-args:matlab+ :results none
#+PROPERTY: header-args:matlab+ :eval no-export
#+PROPERTY: header-args:matlab+ :noweb yes
#+PROPERTY: header-args:matlab+ :mkdirp yes
#+PROPERTY: header-args:matlab+ :output-dir ${2:figs}
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orge7bcf86" class="outline-4">
<h4 id="orge7bcf86">Mdescription</h4>
<div class="outline-text-4" id="text-orge7bcf86">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Measurement-Description
# --
* Measurement description
** Setup :ignore:
*Setup*:
** Goal :ignore:
*Goal*:
** Measurements :ignore:
*Measurements*:
Three measurements are done:
| Measurement File | Description |
|-------------------------+------------------------------|
| =mat/data_${1:001}.mat= | $2 |
Each of the measurement =mat= file contains one =data= array with 3 columns:
| Column number | Description |
|---------------+-------------------|
| 1 | $3 |
| 2 | $4 |
| 3 | Time |
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orgbc46c85" class="outline-4">
<h4 id="orgbc46c85">Mfigure</h4>
<div class="outline-text-4" id="text-orgbc46c85">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Figure
# --
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/${1:filename}.pdf', 'width', '${2:full}', 'height', '${3:full}');
#+end_src
#+name: fig:$1
#+caption: $0
#+RESULTS:
[[file:figs/$1.png]]
</pre>
</div>
</div>
</div>
<div id="outline-container-orgab32029" class="outline-4">
<h4 id="orgab32029">Mfunction</h4>
<div class="outline-text-4" id="text-orgab32029">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Function
# --
* ${1:Function Name}
:PROPERTIES:
:header-args:matlab+: :tangle src/${2:matlab_file_name}.m
:header-args:matlab+: :comments none :mkdirp yes :eval no
:END:
&lt;&lt;sec:$2&gt;&gt;
This Matlab function is accessible [[file:src/$2.m][here]].
#+begin_src matlab
function [${4:in_data}] = $2(${3:in_data})
% $2 - $0
%
% Syntax: [$4] = $2($3)
%
% Inputs:
% - $3 -
%
% Outputs:
% - $4 -
end
#+end_src
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc44afd5" class="outline-4">
<h4 id="orgc44afd5">Mheader</h4>
<div class="outline-text-4" id="text-orgc44afd5">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Header
# --
* ${1:Heading Name}
:PROPERTIES:
:header-args:matlab+: :tangle matlab/${2:matlab_file_name}.m
:header-args:matlab+: :comments org :mkdirp yes
:END:
&lt;&lt;sec:$2&gt;&gt;
** ZIP file containing the data and matlab files :ignore:
#+begin_src bash :exports none :results none
if [ matlab/$2.m -nt data/$2.zip ]; then
cp matlab/$2.m $2.m;
zip data/$2 \
mat/data.mat \
$2.m
rm $2.m;
fi
#+end_src
#+begin_note
All the files (data and Matlab scripts) are accessible [[file:data/$2.zip][here]].
#+end_note
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orga9eb6ca" class="outline-4">
<h4 id="orga9eb6ca">Minit</h4>
<div class="outline-text-4" id="text-orga9eb6ca">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Init
# --
** Matlab Init :noexport:ignore:
#+begin_src matlab :tangle no :exports none :results silent :noweb yes :var current_dir=(file-name-directory buffer-file-name)
&lt;&lt;matlab-dir&gt;&gt;
#+end_src
#+begin_src matlab :exports none :results silent :noweb yes
&lt;&lt;matlab-init&gt;&gt;
#+end_src
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org3ccf909" class="outline-4">
<h4 id="org3ccf909">Mtable</h4>
<div class="outline-text-4" id="text-org3ccf909">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Table
# --
#+begin_src matlab :exports results :results value table replace :tangle no :post addhdr(*this*)
data2orgtable(${1:data}, {${2:'rowlabel'}}, {${3:'collabel'}}, ' %.1f ');
#+end_src
$0
</pre>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p>
</div>
</body>
</html>

View File

@ -1,229 +1,19 @@
<?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-04-05 dim. 11:29 -->
<!-- 2020-05-26 mar. 08:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>I3 Configuration</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&amp;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">
@ -258,9 +48,8 @@
</ul>
</div>
</div>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">i3 config file (v4)</span>
<pre class="src src-conf"># i3 config file (v4)
</pre>
</div>
@ -281,8 +70,8 @@ Set mod key (Mod1=&lt;Alt&gt;, Mod4=&lt;Super&gt;)
<h2 id="org6e4f11a">Border Style</h2>
<div class="outline-text-2" id="text-org6e4f11a">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Use custom colors for black</span>
new_window pixel <span class="org-highlight-numbers-number">1</span>
<pre class="src src-conf"># Use custom colors for black
new_window pixel 1
new_float normal
</pre>
</div>
@ -301,7 +90,7 @@ Hide borders
<h2 id="orgb3d9c62">Font for window titles</h2>
<div class="outline-text-2" id="text-orgb3d9c62">
<div class="org-src-container">
<pre class="src src-conf">font Hack Nerd Font <span class="org-highlight-numbers-number">11</span>
<pre class="src src-conf">font Hack Nerd Font 11
</pre>
</div>
</div>
@ -311,22 +100,22 @@ Hide borders
<h2 id="orge2dfbd2">Colors Variables</h2>
<div class="outline-text-2" id="text-orge2dfbd2">
<div class="org-src-container">
<pre class="src src-conf">set_from_resource $bg color0 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkred color1 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkgreen color2 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkyellow color3 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkblue color4 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkpurple color5 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkaqua color6 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkgray color7 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $gray color8 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $red color9 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $green color10 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $yellow color11 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $blue color12 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $purple color13 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $aqua color14 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $fg color15 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
<pre class="src src-conf">set_from_resource $bg color0 #000000
set_from_resource $darkred color1 #000000
set_from_resource $darkgreen color2 #000000
set_from_resource $darkyellow color3 #000000
set_from_resource $darkblue color4 #000000
set_from_resource $darkpurple color5 #000000
set_from_resource $darkaqua color6 #000000
set_from_resource $darkgray color7 #000000
set_from_resource $gray color8 #000000
set_from_resource $red color9 #000000
set_from_resource $green color10 #000000
set_from_resource $yellow color11 #000000
set_from_resource $blue color12 #000000
set_from_resource $purple color13 #000000
set_from_resource $aqua color14 #000000
set_from_resource $fg color15 #000000
</pre>
</div>
</div>
@ -336,7 +125,7 @@ set_from_resource $fg color15 <span class="org-comment-delimiter">#</spa
<h2 id="orgec5c654">Theme colors</h2>
<div class="outline-text-2" id="text-orgec5c654">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">class border backgr. text indic. child_border</span>
<pre class="src src-conf"># class border backgr. text indic. child_border
client.focused $darkaqua $darkaqua $fg $bg
client.focused_inactive $bg $bg $fg $bg
client.unfocused $bg $bg $fg $bg
@ -370,7 +159,7 @@ Layout mode for new containers
<h2 id="orgb1cbca7">Border</h2>
<div class="outline-text-2" id="text-orgb1cbca7">
<div class="org-src-container">
<pre class="src src-conf">default_border pixel <span class="org-highlight-numbers-number">1</span>
<pre class="src src-conf">default_border pixel 1
</pre>
</div>
</div>
@ -380,13 +169,13 @@ Layout mode for new containers
<h2 id="org92d84a9">Settings for i3-gaps</h2>
<div class="outline-text-2" id="text-org92d84a9">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">for_window [class=".*"] border pixel 0</span>
<pre class="src src-conf"># for_window [class=".*"] border pixel 0
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">gaps inner <span class="org-highlight-numbers-number">10</span>
gaps outer <span class="org-highlight-numbers-number">2</span>
<pre class="src src-conf">gaps inner 10
gaps outer 2
</pre>
</div>
</div>
@ -400,14 +189,14 @@ To display names or symbols instead of plain workspace numbers you can use somet
</p>
<div class="org-src-container">
<pre class="src src-conf">set $ws1 <span class="org-highlight-numbers-number">1</span>
set $ws2 <span class="org-highlight-numbers-number">2</span>
set $ws3 <span class="org-highlight-numbers-number">3</span>
set $ws4 <span class="org-highlight-numbers-number">4</span>
set $ws5 <span class="org-highlight-numbers-number">5</span>
set $ws6 <span class="org-highlight-numbers-number">6</span>
set $ws7 <span class="org-highlight-numbers-number">7</span>
set $ws8 <span class="org-highlight-numbers-number">8</span>
<pre class="src src-conf">set $ws1 1
set $ws2 2
set $ws3 3
set $ws4 4
set $ws5 5
set $ws6 6
set $ws7 7
set $ws8 8
</pre>
</div>
</div>
@ -441,9 +230,9 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
<h3 id="orgec227a1">Open applications on specific workspaces</h3>
<div class="outline-text-3" id="text-orgec227a1">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">assign[title</span>=<span class="org-string">"^Fig"</span>] $ws6 <span class="org-comment-delimiter"># </span><span class="org-comment">Matlab Figures</span>
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"^Fig"</span>] layout tabbed
<span class="org-variable-name">assign[title</span>=<span class="org-string">"^HG_Peer"</span>] $ws6 <span class="org-comment-delimiter"># </span><span class="org-comment">Name of window when export figure with matlab</span>
<pre class="src src-conf">assign[title="^Fig"] $ws6 # Matlab Figures
for_window [title="^Fig"] layout tabbed
assign[title="^HG_Peer"] $ws6 # Name of window when export figure with matlab
</pre>
</div>
</div>
@ -453,20 +242,22 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
<h3 id="org05defe1">Open specific applications in floating mode</h3>
<div class="outline-text-3" id="text-org05defe1">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">for_window [title</span>=<span class="org-string">"File Transfer*"</span>] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"GParted"</span>] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Lightdm-settings"</span>] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Lxappearance"</span>] floating enable sticky enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Pavucontrol"</span>] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Arandr"</span>] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Simple-scan"</span>] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"(?i)System-config-printer.py"</span>] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Xfburn"</span>] floating enable
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"^Documentation -"</span>] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Yad"</span>] floating enable
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"Bluetooth Devices"</span>] floating enable
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"Simulink Library Browser"</span>] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Floating"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">600</span>, move position <span class="org-highlight-numbers-number">1100</span> <span class="org-highlight-numbers-number">460</span>
<pre class="src src-conf">for_window [title="File Transfer*"] floating enable
for_window [class="GParted"] floating enable border normal
for_window [class="Lightdm-settings"] floating enable
for_window [class="Lxappearance"] floating enable sticky enable border normal
for_window [class="Pavucontrol"] floating enable
for_window [class="Arandr"] floating enable
for_window [class="Simple-scan"] floating enable border normal
for_window [class="(?i)System-config-printer.py"] floating enable border normal
for_window [class="Xfburn"] floating enable
for_window [title="^Documentation -"] floating enable border normal
for_window [class="Yad"] floating enable
for_window [title="Bluetooth Devices"] floating enable
for_window [title="Simulink Library Browser"] floating enable
for_window [class="Floating"] floating enable, resize set 800 600, move position 1100 460
for_window [class="Sxiv"] floating enable, resize set 800 600, move position center
for_window [title="nmtui"] floating enable, resize set 800 600
</pre>
</div>
</div>
@ -499,7 +290,7 @@ If there are multiple scratchpad windows, this command cycles through them.
<h2 id="orgff12892">Run Polybar and SXHKD</h2>
<div class="outline-text-2" id="text-orgff12892">
<div class="org-src-container">
<pre class="src src-conf">exec --no-startup-id sxhkd -m <span class="org-highlight-numbers-number">1</span> -c ~/.config/sxhkd/sxhkdrc.i3
<pre class="src src-conf">exec --no-startup-id sxhkd -m 1 -c ~/.config/sxhkd/sxhkdrc.i3
exec --no-startup-id $HOME/.config/polybar/scripts/launch.sh
</pre>
</div>
@ -508,7 +299,7 @@ exec --no-startup-id $HOME/.config/polybar/scripts/launch.sh
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-04-05 dim. 11:29</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p>
</div>
</body>
</html>

View File

@ -1,229 +1,19 @@
<?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-19 jeu. 10:46 -->
<!-- 2020-05-26 mar. 08:40 -->
<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">
@ -248,7 +38,6 @@
</ul>
</div>
</div>
<p>
The general installation process is described <a href="install.html">here</a>.
</p>
@ -349,7 +138,6 @@ The general installation process is described <a href="install.html">here</a>.
<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>
@ -359,7 +147,7 @@ The general installation process is described <a href="install.html">here</a>.
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-03-19 jeu. 10:46</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,251 +1,19 @@
<?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-01-28 mar. 21:32 -->
<!-- 2020-05-26 mar. 08:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Matlab Configuration</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">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2020 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![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;
}
/*]]>*///-->
</script>
</head>
<body>
<div id="org-div-home-and-up">
@ -293,10 +61,10 @@ for the JavaScript code in this tag.
<h3 id="orgf6d1f33">Setup LaTeX as a default interpreter</h3>
<div class="outline-text-3" id="text-orgf6d1f33">
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextInterpreter'</span>, <span class="org-string">'LaTeX'</span>);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesTickLabelInterpreter'</span>, <span class="org-string">'LaTeX'</span>);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontName'</span>, <span class="org-string">'LaTeX'</span>);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultLegendInterpreter'</span>, <span class="org-string">'LaTeX'</span>);
<pre class="src src-matlab">set(groot, 'DefaultTextInterpreter', 'LaTeX');
set(groot, 'DefaultAxesTickLabelInterpreter', 'LaTeX');
set(groot, 'DefaultAxesFontName', 'LaTeX');
set(groot, 'DefaultLegendInterpreter', 'LaTeX');
</pre>
</div>
</div>
@ -306,8 +74,8 @@ for the JavaScript code in this tag.
<h3 id="org4d6a4e5">Default Line Width</h3>
<div class="outline-text-3" id="text-org4d6a4e5">
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultLineLineWidth'</span>, 1.5);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesLineWidth'</span>, 0.5);
<pre class="src src-matlab">set(groot, 'DefaultLineLineWidth', 1.5);
set(groot, 'DefaultAxesLineWidth', 0.5);
</pre>
</div>
</div>
@ -317,9 +85,9 @@ for the JavaScript code in this tag.
<h3 id="org14081cd">Default grids on all axis</h3>
<div class="outline-text-3" id="text-org14081cd">
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesXGrid'</span>,<span class="org-string">'on'</span>);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesYGrid'</span>,<span class="org-string">'on'</span>);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesZGrid'</span>,<span class="org-string">'on'</span>);
<pre class="src src-matlab">set(groot, 'DefaultAxesXGrid','on');
set(groot, 'DefaultAxesYGrid','on');
set(groot, 'DefaultAxesZGrid','on');
</pre>
</div>
</div>
@ -329,11 +97,11 @@ for the JavaScript code in this tag.
<h3 id="org3406bd4">Default Font Size</h3>
<div class="outline-text-3" id="text-org3406bd4">
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextFontUnits'</span>, <span class="org-string">'points'</span>);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextFontSize'</span>, 10);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontUnits'</span>, <span class="org-string">'points'</span>);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontSize'</span>, 10);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultUicontrolFontSize'</span>, 10);
<pre class="src src-matlab">set(groot, 'DefaultTextFontUnits', 'points');
set(groot, 'DefaultTextFontSize', 10);
set(groot, 'DefaultAxesFontUnits', 'points');
set(groot, 'DefaultAxesFontSize', 10);
set(groot, 'DefaultUicontrolFontSize', 10);
</pre>
</div>
</div>
@ -343,8 +111,8 @@ for the JavaScript code in this tag.
<h3 id="org6451de0">Default Fonts</h3>
<div class="outline-text-3" id="text-org6451de0">
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontName'</span>, <span class="org-string">'Helvetica'</span>);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextFontName'</span>, <span class="org-string">'Helvetica'</span>);
<pre class="src src-matlab">set(groot, 'DefaultAxesFontName', 'Helvetica');
set(groot, 'DefaultTextFontName', 'Helvetica');
</pre>
</div>
</div>
@ -354,7 +122,7 @@ for the JavaScript code in this tag.
<h3 id="orgad9e350">Make figures into a Box</h3>
<div class="outline-text-3" id="text-orgad9e350">
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesBox'</span>, <span class="org-string">'on'</span>);
<pre class="src src-matlab">set(groot, 'DefaultAxesBox', 'on');
</pre>
</div>
</div>
@ -364,11 +132,11 @@ for the JavaScript code in this tag.
<h3 id="org9a40d31">Default Colors</h3>
<div class="outline-text-3" id="text-org9a40d31">
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesColor'</span>, <span class="org-string">'w'</span>);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesXColor'</span>, <span class="org-string">'k'</span>);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesYColor'</span>, <span class="org-string">'k'</span>);
<pre class="src src-matlab">set(groot, 'DefaultAxesColor', 'w');
set(groot, 'DefaultAxesXColor', 'k');
set(groot, 'DefaultAxesYColor', 'k');
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultFigureColor'</span>, <span class="org-string">'w'</span>);
set(groot, 'DefaultFigureColor', 'w');
</pre>
</div>
</div>
@ -378,15 +146,15 @@ for the JavaScript code in this tag.
<h3 id="org64d60de">Default Plot Colors</h3>
<div class="outline-text-3" id="text-org64d60de">
<div class="org-src-container">
<pre class="src src-matlab">c1 = [ 0 0.4470 0.7410]; <span class="org-comment">% Blue</span>
c2 = [0.8500 0.3250 0.0980]; <span class="org-comment">% Orange</span>
c3 = [0.9290 0.6940 0.1250]; <span class="org-comment">% Yellow</span>
c4 = [0.4940 0.1840 0.5560]; <span class="org-comment">% Purple</span>
c5 = [0.4660 0.6740 0.1880]; <span class="org-comment">% Green</span>
c6 = [0.3010 0.7450 0.9330]; <span class="org-comment">% Light Blue</span>
c7 = [0.6350 0.0780 0.1840]; <span class="org-comment">% Red</span>
<pre class="src src-matlab">c1 = [ 0 0.4470 0.7410]; % Blue
c2 = [0.8500 0.3250 0.0980]; % Orange
c3 = [0.9290 0.6940 0.1250]; % Yellow
c4 = [0.4940 0.1840 0.5560]; % Purple
c5 = [0.4660 0.6740 0.1880]; % Green
c6 = [0.3010 0.7450 0.9330]; % Light Blue
c7 = [0.6350 0.0780 0.1840]; % Red
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'defaultAxesColorOrder'</span>, [c1; c2; c3; c4; c5; c6; c7])
set(groot, 'defaultAxesColorOrder', [c1; c2; c3; c4; c5; c6; c7])
</pre>
</div>
</div>
@ -396,8 +164,8 @@ c7 = [0.6350 0.0780 0.1840]; <span class="org-comment">% Red</span>
<h3 id="org27ce6db">Figure paper and window style</h3>
<div class="outline-text-3" id="text-org27ce6db">
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultFigurePaperType'</span>, <span class="org-string">'A4'</span>);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultFigureWindowStyle'</span>, <span class="org-string">'normal'</span>);
<pre class="src src-matlab">set(groot, 'DefaultFigurePaperType', 'A4');
set(groot, 'DefaultFigureWindowStyle', 'normal');
</pre>
</div>
</div>
@ -418,7 +186,7 @@ format long g;
<h3 id="orga60f640">Home Path</h3>
<div class="outline-text-3" id="text-orga60f640">
<div class="org-src-container">
<pre class="src src-matlab">toolboxes_path = <span class="org-string">'~/Cloud/thesis/matlab/toolboxes/'</span>;
<pre class="src src-matlab">toolboxes_path = '~/Cloud/thesis/matlab/toolboxes/';
</pre>
</div>
</div>
@ -428,29 +196,30 @@ format long g;
<h3 id="org83d6337">Add to path</h3>
<div class="outline-text-3" id="text-org83d6337">
<div class="org-src-container">
<pre class="src src-matlab">addpath([toolboxes_path <span class="org-string">'Org-Mode-Toolbox/src'</span>])
addpath([toolboxes_path <span class="org-string">'Usefull-Functions/src'</span>])
addpath([toolboxes_path <span class="org-string">'Stacked-Elements-Toolbox/src'</span>])
addpath([toolboxes_path <span class="org-string">'Measure-Analysis-Toolbox/src'</span>])
addpath([toolboxes_path <span class="org-string">'Hinf-Toolbox/src'</span>])
addpath([toolboxes_path <span class="org-string">'Fit-Model-Toolbox/src'</span>])
addpath([toolboxes_path <span class="org-string">'Dspace-Toolbox/src'</span>])
addpath([toolboxes_path <span class="org-string">'SpeedGoat-Toolbox/src'</span>])
addpath([toolboxes_path <span class="org-string">'Add-Ons/matrix_fitting_toolbox_1'</span>])
addpath([toolboxes_path <span class="org-string">'Add-Ons/matlab-schemer'</span>])
addpath([toolboxes_path <span class="org-string">'Add-Ons/matlab2tikz/src'</span>])
addpath([toolboxes_path <span class="org-string">'Add-Ons/hline_vline'</span>])
addpath([toolboxes_path <span class="org-string">'Add-Ons/export_fig'</span>])
addpath([toolboxes_path <span class="org-string">'Add-Ons/subaxis'</span>])
addpath([toolboxes_path <span class="org-string">'Add-Ons/cbrewer'</span>])
addpath([toolboxes_path <span class="org-string">'Add-Ons/tightfig'</span>])
addpath([toolboxes_path <span class="org-string">'Add-Ons/fig2svg/src'</span>])
addpath([toolboxes_path <span class="org-string">'Add-Ons/CVX'</span>])
<pre class="src src-matlab">addpath([toolboxes_path 'Org-Mode-Toolbox/src'])
addpath([toolboxes_path 'Usefull-Functions/src'])
addpath([toolboxes_path 'Stacked-Elements-Toolbox/src'])
addpath([toolboxes_path 'Measure-Analysis-Toolbox/src'])
addpath([toolboxes_path 'Hinf-Toolbox/src'])
addpath([toolboxes_path 'Fit-Model-Toolbox/src'])
addpath([toolboxes_path 'Dspace-Toolbox/src'])
addpath([toolboxes_path 'SpeedGoat-Toolbox/src'])
addpath([toolboxes_path 'Add-Ons/matrix_fitting_toolbox_1'])
addpath([toolboxes_path 'Add-Ons/matlab-schemer'])
addpath([toolboxes_path 'Add-Ons/matlab2tikz/src'])
addpath([toolboxes_path 'Add-Ons/hline_vline'])
addpath([toolboxes_path 'Add-Ons/export_fig'])
addpath([toolboxes_path 'Add-Ons/subaxis'])
addpath([toolboxes_path 'Add-Ons/cbrewer'])
addpath([toolboxes_path 'Add-Ons/tightfig'])
addpath([toolboxes_path 'Add-Ons/fig2svg/src'])
addpath([toolboxes_path 'Add-Ons/CVX'])
addpath([toolboxes_path 'Add-Ons/MBeautifier'])
</pre>
</div>
<div class="org-src-container">
<pre class="src src-matlab">addpath(<span class="org-string">'/home/thomas/.emacs.d/.local/straight/repos/mirror/toolbox'</span>)
<pre class="src src-matlab">addpath('/home/thomas/.emacs.d/.local/straight/repos/mirror/toolbox')
</pre>
</div>
</div>
@ -476,7 +245,7 @@ addpath([toolboxes_path <span class="org-string">'Add-Ons/CVX'</span>])
<h3 id="org2f8f36d">Schemer Import</h3>
<div class="outline-text-3" id="text-org2f8f36d">
<div class="org-src-container">
<pre class="src src-matlab">schemer_import([home_path <span class="org-string">'/Cloud/thesis/matlab/toolboxes/Add-Ons/matlab-schemer/schemes/monokai.prf'</span>]);
<pre class="src src-matlab">schemer_import([home_path '/Cloud/thesis/matlab/toolboxes/Add-Ons/matlab-schemer/schemes/monokai.prf']);
</pre>
</div>
</div>
@ -485,7 +254,7 @@ addpath([toolboxes_path <span class="org-string">'Add-Ons/CVX'</span>])
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-28 mar. 21:32</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p>
</div>
</body>
</html>

View File

@ -1,229 +1,19 @@
<?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-19 jeu. 10:39 -->
<!-- 2020-05-26 mar. 08:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Music/Sound Configuration</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">
@ -254,14 +44,14 @@
<h2 id="org1984a25">Pavu Control</h2>
<div class="outline-text-2" id="text-org1984a25">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">window</span>]
<span class="org-variable-name">width</span>=<span class="org-highlight-numbers-number">500</span>
<span class="org-variable-name">height</span>=<span class="org-highlight-numbers-number">400</span>
<span class="org-variable-name">sinkInputType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">sourceOutputType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">sinkType</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">sourceType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">showVolumeMeters</span>=<span class="org-highlight-numbers-number">1</span>
<pre class="src src-conf">[window]
width=500
height=400
sinkInputType=1
sourceOutputType=1
sinkType=0
sourceType=1
showVolumeMeters=1
</pre>
</div>
</div>
@ -283,7 +73,7 @@ Cheatsheet: <a href="https://pkgbuild.com/~jelle/ncmpcpp/">https://pkgbuild.com/
Configuration directory.
</p>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">ncmpcpp_directory</span> = ~/.config/ncmpcpp
<pre class="src src-conf">ncmpcpp_directory = ~/.config/ncmpcpp
</pre>
</div>
@ -291,9 +81,9 @@ Configuration directory.
MPD Configuration.
</p>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">mpd_host</span> = localhost
<span class="org-variable-name">mpd_port</span> = <span class="org-highlight-numbers-number">6600</span>
<span class="org-variable-name">mpd_music_dir</span> = ~/Music
<pre class="src src-conf">mpd_host = localhost
mpd_port = 6600
mpd_music_dir = ~/Music
</pre>
</div>
@ -301,7 +91,7 @@ MPD Configuration.
Notification of song change.
</p>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">execute_on_song_change</span> = dunstify --replace=<span class="org-highlight-numbers-number">19845</span> <span class="org-string">"Now Playing &#9835;"</span> <span class="org-string">"$(mpc current)"</span>
<pre class="src src-conf">execute_on_song_change = dunstify --replace=19845 "Now Playing ♫" "$(mpc current)"
</pre>
</div>
</div>
@ -311,41 +101,41 @@ Notification of song change.
<h3 id="orgef62173">Bindings</h3>
<div class="outline-text-3" id="text-orgef62173">
<div class="org-src-container">
<pre class="src src-conf">def_key <span class="org-string">"q"</span>
run_external_command <span class="org-string">"if [ $TMUX ]; then tmux detach; fi"</span>
def_key <span class="org-string">"Q"</span>
<pre class="src src-conf">def_key "q"
run_external_command "if [ $TMUX ]; then tmux detach; fi"
def_key "Q"
quit
def_key <span class="org-string">"g"</span>
def_key "g"
move_home
def_key <span class="org-string">"G"</span>
def_key "G"
move_end
def_key <span class="org-string">"j"</span>
def_key "j"
scroll_down
def_key <span class="org-string">"k"</span>
def_key "k"
scroll_up
def_key <span class="org-string">"ctrl-u"</span>
def_key "ctrl-u"
page_up
def_key <span class="org-string">"ctrl-d"</span>
def_key "ctrl-d"
page_down
def_key <span class="org-string">"l"</span>
def_key "l"
enter_directory
def_key <span class="org-string">"h"</span>
def_key "h"
jump_to_parent_directory
def_key <span class="org-string">"."</span>
def_key "."
show_lyrics
def_key <span class="org-string">"n"</span>
def_key "n"
next_found_item
def_key <span class="org-string">"N"</span>
def_key "N"
previous_found_item
def_key <span class="org-string">"J"</span>
def_key "J"
move_sort_order_down
def_key <span class="org-string">"K"</span>
def_key "K"
move_sort_order_up
def_key <span class="org-string">"d"</span>
def_key "d"
delete_playlist_items
def_key <span class="org-string">"+"</span>
def_key "+"
volume_up
def_key <span class="org-string">"-"</span>
def_key "-"
volume_down
</pre>
@ -379,28 +169,28 @@ plugins: fromfilename discogs
<h2 id="org887303a">Mopidy</h2>
<div class="outline-text-2" id="text-org887303a">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">spotify</span>]
<span class="org-variable-name">username</span> = dehaeze.thomas@gmail.com
<span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify.com/dehaeze.thomas@gmail.com"</span>)&gt;&gt;
<span class="org-variable-name">client_id</span> = 9dd02534-f038-46d8-946e-bfe72498204e
<span class="org-variable-name">client_secret</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify/client_secret"</span>)&gt;&gt;
<span class="org-variable-name">bitrate</span> = <span class="org-highlight-numbers-number">320</span>
<pre class="src src-conf">[spotify]
username = dehaeze.thomas@gmail.com
password = &lt;&lt;get-password(passname="spotify.com/dehaeze.thomas@gmail.com")&gt;&gt;
client_id = 9dd02534-f038-46d8-946e-bfe72498204e
client_secret = &lt;&lt;get-password(passname="spotify/client_secret")&gt;&gt;
bitrate = 320
[<span class="org-type">mpd</span>]
<span class="org-variable-name">enabled</span> = true
<span class="org-variable-name">hostname</span> = 127.0.0.1
<span class="org-variable-name">port</span> = <span class="org-highlight-numbers-number">6600</span>
<span class="org-variable-name">password</span> =
<span class="org-variable-name">max_connections</span> = <span class="org-highlight-numbers-number">20</span>
<span class="org-variable-name">connection_timeout</span> = <span class="org-highlight-numbers-number">60</span>
<span class="org-variable-name">zeroconf</span> = Mopidy MPD server on $hostname
<span class="org-variable-name">command_blacklist</span> = listall,listallinfo
<span class="org-variable-name">default_playlist_scheme</span> = m3u
[mpd]
enabled = true
hostname = 127.0.0.1
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist = listall,listallinfo
default_playlist_scheme = m3u
[<span class="org-type">file</span>]
<span class="org-variable-name">enabled</span> = true
<span class="org-variable-name">media_dirs</span> = /home/thomas/Music
<span class="org-variable-name">excluded_file_extensions</span> =
[file]
enabled = true
media_dirs = /home/thomas/Music
excluded_file_extensions =
.db
.directory
.html
@ -412,9 +202,6 @@ plugins: fromfilename discogs
.png
.txt
.zip
[<span class="org-type">audio</span>]
<span class="org-variable-name">output</span> = tee name=t t. ! queue ! autoaudiosink t. ! queue ! audioresample ! audioconvert ! audio/x-raw,rate=<span class="org-highlight-numbers-number">44100</span>,channels=<span class="org-highlight-numbers-number">2</span>,format=S16LE ! wavenc ! filesink location=/tmp/mpd.fifo
</pre>
</div>
</div>
@ -424,26 +211,26 @@ plugins: fromfilename discogs
<h2 id="org6b37adb">Radio with curseradio</h2>
<div class="outline-text-2" id="text-org6b37adb">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">opml</span>]
<span class="org-variable-name">root</span> = http://opml.radiotime.com/
<pre class="src src-conf">[opml]
root = http://opml.radiotime.com/
[<span class="org-type">playback</span>]
<span class="org-variable-name">command</span> = /usr/bin/mpv
[playback]
command = /usr/bin/mpv
[<span class="org-type">interface</span>]
<span class="org-variable-name">keymap</span> = vi
[interface]
keymap = vi
[<span class="org-type">keymap.vi</span>]
<span class="org-variable-name">up</span> = k
<span class="org-variable-name">down</span> = j
<span class="org-variable-name">start</span> = <span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">end</span> = $
<span class="org-variable-name">pageup</span> = u
<span class="org-variable-name">pagedown</span> = d
<span class="org-variable-name">enter</span> = l
<span class="org-variable-name">stop</span> = p
<span class="org-variable-name">exit</span> = q
<span class="org-variable-name">favourite</span> = f
[keymap.vi]
up = k
down = j
start = 0
end = $
pageup = u
pagedown = d
enter = l
stop = p
exit = q
favourite = f
</pre>
</div>
</div>
@ -451,7 +238,7 @@ plugins: fromfilename discogs
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-03-19 jeu. 10:39</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,229 +1,19 @@
<?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-04-05 dim. 11:29 -->
<!-- 2020-05-26 mar. 08:39 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Simple X Hotkey Daemon</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&amp;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">
@ -253,23 +43,21 @@
<li><a href="#org9d0a9b9">BSPWM related</a>
<ul>
<li><a href="#org97f0c44">BSPWM hotkeys</a></li>
<li><a href="#orgd7260b2">Monocle Layout</a></li>
<li><a href="#org7675fb7">Set the window State</a></li>
<li><a href="#org370d3f4">Sticky Window</a></li>
<li><a href="#org22b42d5">Monocle Layout</a></li>
<li><a href="#org832c633">Set the window State</a></li>
<li><a href="#org8464120">Sticky Window</a></li>
<li><a href="#org33a7d86">Focus and Swap</a></li>
<li><a href="#org1822729">Preselect</a></li>
<li><a href="#org9872528">Resize</a></li>
<li><a href="#org64cc91f">Preselect</a></li>
<li><a href="#org567d2ed">Resize</a></li>
</ul>
</li>
<li><a href="#org177f7f6">I3 related</a>
<ul>
<li><a href="#org43a8bcb">Quit/Restart hotkeys</a></li>
<li><a href="#org22b42d5">Monocle Layout</a></li>
<li><a href="#org832c633">Set the window State</a></li>
<li><a href="#org8464120">Sticky Window</a></li>
<li><a href="#org0592921">Set the window State</a></li>
<li><a href="#orgd24232d">focus/swap</a></li>
<li><a href="#org64cc91f">Preselect</a></li>
<li><a href="#org567d2ed">Resize</a></li>
<li><a href="#org2ff4446">Preselect</a></li>
<li><a href="#org1f53e51">Resize</a></li>
</ul>
</li>
</ul>
@ -286,11 +74,11 @@
</div>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">make sxhkd reload its configuration files:</span>
<pre class="src src-conf"># make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd
<span class="org-comment-delimiter"># </span><span class="org-comment">Update Polybar</span>
# Update Polybar
super + r
$HOME/.config/polybar/scripts/launch.sh
</pre>
@ -303,9 +91,9 @@ super + r
<div class="outline-text-2" id="text-org09132ec">
<div class="org-src-container">
<pre class="src src-conf">XF86PowerOff
$HOME/scripts/quit.sh
super + <span class="org-highlight-numbers-number">0</span>
$HOME/scripts/quit.sh
i3exit
super + 0
i3exit
</pre>
</div>
</div>
@ -315,54 +103,58 @@ super + <span class="org-highlight-numbers-number">0</span>
<h2 id="orgbf890ea">Start Applications</h2>
<div class="outline-text-2" id="text-orgbf890ea">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Start program launcher</span>
<pre class="src src-conf"># Start program launcher
super + d
rofi -show run
<span class="org-comment-delimiter"># </span><span class="org-comment">Launch categorized menu</span>
# Launch categorized menu
super + z
rofi -show drun
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Sound Manager</span>
# Start network manager
super + w
$TERMINAL -e 'sudo nmtui'
# Start Sound Manager
super + shift + s
pavucontrol
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Bluetooth Manager</span>
# Start Bluetooth Manager
super + shift + b
blueman-manager
<span class="org-comment-delimiter"># </span><span class="org-comment">Windows Switch</span>
# Windows Switch
super + shift + w
rofi -show window
<span class="org-comment-delimiter"># </span><span class="org-comment">Bookmarks</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">super + shift + f</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">$HOME/bin/bukurun</span>
# Bookmarks
# super + shift + f
# $HOME/bin/bukurun
<span class="org-comment-delimiter"># </span><span class="org-comment">Passwords</span>
# Passwords
super + shift + p
rofi-pass
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Start Terminal</span>
<pre class="src src-conf"># Start Terminal
super + Return
$TERMINAL
<span class="org-comment-delimiter"># </span><span class="org-comment">Tmux Terminal</span>
# Tmux Terminal
super + shift + Return
$TERMINAL -e <span class="org-string">'tmux'</span>
$TERMINAL -e 'tmux'
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Command line Calendar</span>
# Start Command line Calendar
super + shift + c
$TERMINAL -e <span class="org-string">"khal interactive"</span>
$TERMINAL -e "khal interactive"
<span class="org-comment-delimiter"># </span><span class="org-comment">File Manager</span>
# File Manager
super + o
$TERMINAL -e <span class="org-string">"tmux new-session -A -s ranger ranger"</span>
$TERMINAL -e "tmux new-session -A -s ranger ranger"
<span class="org-comment-delimiter"># </span><span class="org-comment">Browser</span>
# Browser
super + i
qutebrowser
</pre>
@ -394,9 +186,9 @@ XF86AudioLowerVolume
<div class="outline-text-3" id="text-orgfbf581a">
<div class="org-src-container">
<pre class="src src-conf">XF86MonBrightnessUp
xbacklight -inc <span class="org-highlight-numbers-number">10</span>
xbacklight -inc 10
XF86MonBrightnessDown
xbacklight -dec <span class="org-highlight-numbers-number">10</span>
xbacklight -dec 10
</pre>
</div>
</div>
@ -430,7 +222,7 @@ XF86AudioPrev
<div class="outline-text-3" id="text-org4be15b6">
<div class="org-src-container">
<pre class="src src-conf">Print
~/bin/screenshot
~/.local/bin/screenshot
XF86Display
rofi -show window
</pre>
@ -454,60 +246,68 @@ XF86Display
<h2 id="org3ba2ae2">Command Mode</h2>
<div class="outline-text-2" id="text-org3ba2ae2">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Command line Calendar Client (khal)</span>
<pre class="src src-conf"># Command line Calendar Client (khal)
super + space ; c
$TERMINAL -e <span class="org-string">"khal interactive"</span>
$TERMINAL -e "khal interactive"
<span class="org-comment-delimiter"># </span><span class="org-comment">GUI Calendar (Google Calendar)</span>
# GUI Calendar (Google Calendar)
super + space ; shift + c
$BROWSER https://calendar.google.com/
<span class="org-comment-delimiter"># </span><span class="org-comment">pcmanfm: GUI file manager</span>
# pcmanfm: GUI file manager
super + space ; o
pcmanfm;
<span class="org-comment-delimiter"># </span><span class="org-comment">Mails with neomutt</span>
# Download with Aria2c
super + space ; d
$TERMINAL -e "tmux new-session -A -s aria2p aria2p"
# Mails with neomutt
super + space ; m
$TERMINAL -e <span class="org-string">"tmux new-session -A -s neomutt neomutt"</span>
$TERMINAL -e "tmux new-session -A -s neomutt neomutt"
super + space ; shift + m
$TERMINAL -e <span class="org-string">"neomutt -R"</span>
$TERMINAL -e "neomutt -R"
<span class="org-comment-delimiter"># </span><span class="org-comment">Weechat</span>
# Weechat
super + space ; w
$TERMINAL -e <span class="org-string">"tmux new-session -A -s weechat weechat"</span>
$TERMINAL -e "tmux new-session -A -s weechat weechat"
<span class="org-comment-delimiter"># </span><span class="org-comment">News with newsboat</span>
# News with newsboat
super + space ; n
$TERMINAL -e <span class="org-string">"tmux new-session -A -s newsboat newsboat"</span>
$TERMINAL -e "tmux new-session -A -s newsboat newsboat"
<span class="org-comment-delimiter"># </span><span class="org-comment">Music with ncmpcpp</span>
# Music with ncmpcpp
super + space ; p
$TERMINAL -e <span class="org-string">"tmux new-session -A -s ncmpcpp ncmpcpp"</span>
$TERMINAL -e "tmux new-session -A -s ncmpcpp ncmpcpp"
<span class="org-comment-delimiter"># </span><span class="org-comment">Print Screen</span>
# Print Screen
super + space ; shift + p
$HOME/bin/mopidy-restart
$HOME/.local/bin/mopidy-restart
<span class="org-comment-delimiter"># </span><span class="org-comment">Default Browser</span>
# Default Browser
super + space ; i
$BROWSER;
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Terminal Application</span>
# Start Terminal Application
super + space ; t
$TERMINAL -e <span class="org-string">"tremc"</span>
$TERMINAL -e "tremc"
<span class="org-comment-delimiter"># </span><span class="org-comment">Alternative Browser</span>
# Alternative Browser
super + space ; shift + i
brave;
<span class="org-comment-delimiter"># </span><span class="org-comment">Emacs</span>
# Emacs
super + space ; e
emacs;
<span class="org-comment-delimiter"># </span><span class="org-comment">Emacs Client</span>
# Emacs Client
super + space ; shift + e
<span class="org-variable-name">emacsclient -create-frame --alternate-editor</span>=<span class="org-string">""</span>
emacsclient -create-frame --alternate-editor=""
# Weather
super + space ; shift + w
weather;
</pre>
</div>
</div>
@ -535,11 +335,11 @@ super + shift + d
<h3 id="org97f0c44">BSPWM hotkeys</h3>
<div class="outline-text-3" id="text-org97f0c44">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">quit/restart bspwm</span>
<pre class="src src-conf"># quit/restart bspwm
super + alt + {q,r}
bspc {quit,wm -r}
<span class="org-comment-delimiter"># </span><span class="org-comment">close and kill</span>
# close and kill
super + {_,shift + }q
bspc node -{c,k}
</pre>
@ -547,15 +347,15 @@ super + {_,shift + }q
</div>
</div>
<div id="outline-container-orgd7260b2" class="outline-3">
<h3 id="orgd7260b2">Monocle Layout</h3>
<div class="outline-text-3" id="text-orgd7260b2">
<div id="outline-container-org22b42d5" class="outline-3">
<h3 id="org22b42d5">Monocle Layout</h3>
<div class="outline-text-3" id="text-org22b42d5">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">alternate between the tiled and monocle layout</span>
<pre class="src src-conf"># alternate between the tiled and monocle layout
super + m
bspc desktop -l next
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the next/previous node in the current desktop</span>
# focus the next/previous node in the current desktop
super + c
bspc node -f next.local
</pre>
@ -563,26 +363,26 @@ super + c
</div>
</div>
<div id="outline-container-org7675fb7" class="outline-3">
<h3 id="org7675fb7">Set the window State</h3>
<div class="outline-text-3" id="text-org7675fb7">
<div id="outline-container-org832c633" class="outline-3">
<h3 id="org832c633">Set the window State</h3>
<div class="outline-text-3" id="text-org832c633">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Set the window state to tiled</span>
<pre class="src src-conf"># Set the window state to tiled
super + t
bspc node -t tiled
<span class="org-comment-delimiter"># </span><span class="org-comment">Toggle Fullscreen State</span>
# Toggle Fullscreen State
super + f
if [ -z <span class="org-string">"$(bspc query -N -n focused.fullscreen)"</span> ]; then \
if [ -z "$(bspc query -N -n focused.fullscreen)" ]; then \
bspc node focused -t fullscreen; \
else \
bspc node focused -t tiled; \
fi
<span class="org-comment-delimiter"># </span><span class="org-comment">Toggle Floating State</span>
# Toggle Floating State
super + s
if [ -z <span class="org-string">"$(bspc query -N -n focused.floating)"</span> ]; then \
if [ -z "$(bspc query -N -n focused.floating)" ]; then \
bspc node focused -t floating; \
else \
bspc node focused -t tiled; \
@ -592,11 +392,11 @@ super + s
</div>
</div>
<div id="outline-container-org370d3f4" class="outline-3">
<h3 id="org370d3f4">Sticky Window</h3>
<div class="outline-text-3" id="text-org370d3f4">
<div id="outline-container-org8464120" class="outline-3">
<h3 id="org8464120">Sticky Window</h3>
<div class="outline-text-3" id="text-org8464120">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the node flags</span>
<pre class="src src-conf"># set the node flags
super + ctrl + y
bspc node -g sticky
</pre>
@ -608,50 +408,50 @@ super + ctrl + y
<h3 id="org33a7d86">Focus and Swap</h3>
<div class="outline-text-3" id="text-org33a7d86">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus/swap the node in the given direction</span>
<pre class="src src-conf"># Focus/swap the node in the given direction
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Node</span>
# focus the last Node
super + Tab
bspc node -f last
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus the next/previous desktop in the current monitor</span>
<pre class="src src-conf"># Focus the next/previous desktop in the current monitor
super + {p,n}
bspc desktop -f {prev,next}.local
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Desktop</span>
# focus the last Desktop
super + b
bspc desktop -f last
<span class="org-comment-delimiter"># </span><span class="org-comment">focus or send to the given desktop</span>
# focus or send to the given desktop
super + {_,ctrl + }{1-9}
bspc {desktop -f,node -d} <span class="org-string">'^{1-9}'</span>
bspc {desktop -f,node -d} '^{1-9}'
<span class="org-comment-delimiter"># </span><span class="org-comment">Send and Focus to the given desktop</span>
# Send and Focus to the given desktop
super + shift + {1-9}
bspc node -d <span class="org-string">'^{1-9}'</span> --follow
bspc node -d '^{1-9}' --follow
</pre>
</div>
</div>
</div>
<div id="outline-container-org1822729" class="outline-3">
<h3 id="org1822729">Preselect</h3>
<div class="outline-text-3" id="text-org1822729">
<div id="outline-container-org64cc91f" class="outline-3">
<h3 id="org64cc91f">Preselect</h3>
<div class="outline-text-3" id="text-org64cc91f">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">preselect the direction</span>
<pre class="src src-conf"># preselect the direction
super + ctrl + {h,j,k,l}
bspc node -p {west,south,north,east}
<span class="org-comment-delimiter"># </span><span class="org-comment">preselect the ratio</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">super + ctrl + {1-9}</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">bspc node -o 0.{1-9}</span>
# preselect the ratio
# super + ctrl + {1-9}
# bspc node -o 0.{1-9}
<span class="org-comment-delimiter"># </span><span class="org-comment">cancel the preselection for the focused node</span>
# cancel the preselection for the focused node
super + ctrl + space
bspc node -p cancel
</pre>
@ -659,24 +459,24 @@ super + ctrl + space
</div>
</div>
<div id="outline-container-org9872528" class="outline-3">
<h3 id="org9872528">Resize</h3>
<div class="outline-text-3" id="text-org9872528">
<div id="outline-container-org567d2ed" class="outline-3">
<h3 id="org567d2ed">Resize</h3>
<div class="outline-text-3" id="text-org567d2ed">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">expand a window by moving one of its side outward</span>
<pre class="src src-conf"># expand a window by moving one of its side outward
super + alt + {h,j,k,l}
bspc node -z {left -20 <span class="org-highlight-numbers-number">0</span>,bottom <span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,top <span class="org-highlight-numbers-number">0</span> -20,right <span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>}
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
<span class="org-comment-delimiter"># </span><span class="org-comment">contract a window by moving one of its side inward</span>
# contract a window by moving one of its side inward
super + alt + shift + {h,j,k,l}
bspc node -z {right -20 <span class="org-highlight-numbers-number">0</span>,top <span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,bottom <span class="org-highlight-numbers-number">0</span> -20,left <span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>}
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">move a floating window</span>
<pre class="src src-conf"># move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 <span class="org-highlight-numbers-number">0</span>,<span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,<span class="org-highlight-numbers-number">0</span> -20,<span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>}
bspc node -v {-20 0,0 20,0 -20,20 0}
</pre>
</div>
</div>
@ -692,11 +492,11 @@ super + {Left,Down,Up,Right}
<h3 id="org43a8bcb">Quit/Restart hotkeys</h3>
<div class="outline-text-3" id="text-org43a8bcb">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">quit/restart bspwm</span>
<pre class="src src-conf"># quit/restart bspwm
super + alt + {q,r}
i3-msg {quit,restart}
<span class="org-comment-delimiter"># </span><span class="org-comment">close and kill</span>
# close and kill
super + {_,shift + }q
i3-msg {kill,kill}
</pre>
@ -704,39 +504,28 @@ super + {_,shift + }q
</div>
</div>
<div id="outline-container-org22b42d5" class="outline-3">
<h3 id="org22b42d5">Monocle Layout</h3>
<div class="outline-text-3" id="text-org22b42d5">
<div id="outline-container-org0592921" class="outline-3">
<h3 id="org0592921">Set the window State</h3>
<div class="outline-text-3" id="text-org0592921">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">alternate between the tiled and monocle layout</span>
<pre class="src src-conf"># Set the window to full-screen
super + f
i3-msg fullscreen toggle
# Set the window to floating
super + s
i3-msg floating toggle
# Alternate between the tiled and normal layout
super + t
i3-msg layout toggle tabbed split
<span class="org-comment-delimiter"># </span><span class="org-comment">Change focus between tiling / floating windows</span>
# Change focus between tiling / floating windows
super + c
i3-msg focus mode_toggle
</pre>
</div>
</div>
</div>
<div id="outline-container-org832c633" class="outline-3">
<h3 id="org832c633">Set the window State</h3>
<div class="outline-text-3" id="text-org832c633">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the window state</span>
super + {t,s, shift + f}
i3-msg {fullscreen disable,floating toggle,fullscreen toggle}
</pre>
</div>
</div>
</div>
<div id="outline-container-org8464120" class="outline-3">
<h3 id="org8464120">Sticky Window</h3>
<div class="outline-text-3" id="text-org8464120">
<div class="org-src-container">
<pre class="src src-conf">super + ctrl + y
# Sticky window
super + y
i3-msg sticky toggle
</pre>
</div>
@ -747,7 +536,7 @@ super + {t,s, shift + f}
<h3 id="orgd24232d">focus/swap</h3>
<div class="outline-text-3" id="text-orgd24232d">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus/swap the node in the given direction</span>
<pre class="src src-conf"># Focus/swap the node in the given direction
super + {_,shift + }{h,Left}
i3-msg {focus,move} left
super + {_,shift + }{j,Down}
@ -760,29 +549,29 @@ super + {_,shift + }{l,Right}
</div>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus the next/previous desktop in the current monitor</span>
<pre class="src src-conf"># Focus the next/previous desktop in the current monitor
super + {p,n}
i3-msg workspace {prev,next}
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Desktop</span>
# focus the last Desktop
super + b
i3-msg workspace back_and_forth
<span class="org-comment-delimiter"># </span><span class="org-comment">focus or send to the given desktop</span>
# focus or send to the given desktop
super + {1-9}
i3-msg workspace <span class="org-string">'{1-9}'</span>
i3-msg workspace '{1-9}'
super + ctrl + {1-9}
i3-msg move container to workspace <span class="org-string">'{1-9}'</span>
i3-msg move container to workspace '{1-9}'
super + shift + {1-9}
<span class="org-variable-name">WP</span>={1-9} &amp;&amp; i3-msg move container to workspace $WP &amp;&amp; i3-msg workspace $WP
WP={1-9} &amp;&amp; i3-msg move container to workspace $WP &amp;&amp; i3-msg workspace $WP
</pre>
</div>
</div>
</div>
<div id="outline-container-org64cc91f" class="outline-3">
<h3 id="org64cc91f">Preselect</h3>
<div class="outline-text-3" id="text-org64cc91f">
<div id="outline-container-org2ff4446" class="outline-3">
<h3 id="org2ff4446">Preselect</h3>
<div class="outline-text-3" id="text-org2ff4446">
<p>
Preselect the direction
</p>
@ -797,21 +586,21 @@ super + ctrl + {j,k,Up,Down}
</div>
</div>
<div id="outline-container-org567d2ed" class="outline-3">
<h3 id="org567d2ed">Resize</h3>
<div class="outline-text-3" id="text-org567d2ed">
<div id="outline-container-org1f53e51" class="outline-3">
<h3 id="org1f53e51">Resize</h3>
<div class="outline-text-3" id="text-org1f53e51">
<p>
Expand/Shrink a window
</p>
<div class="org-src-container">
<pre class="src src-conf">super + alt + h
i3-msg resize shrink width <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt
i3-msg resize shrink width 10 px or 10 ppt
super + alt + j
i3-msg resize grow height <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt
i3-msg resize grow height 10 px or 10 ppt
super + alt + k
i3-msg resize shrink height <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt
i3-msg resize shrink height 10 px or 10 ppt
super + alt + l
i3-msg resize grow width <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt
i3-msg resize grow width 10 px or 10 ppt
</pre>
</div>
</div>
@ -820,7 +609,7 @@ super + alt + l
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-04-05 dim. 11:29</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p>
</div>
</body>
</html>

View File

@ -1,229 +1,19 @@
<?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-04-05 dim. 11:29 -->
<!-- 2020-05-26 mar. 08:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Systemd services and timers</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&amp;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">
@ -238,56 +28,55 @@
<ul>
<li><a href="#org5b65512">Pass Git</a>
<ul>
<li><a href="#org49549f0">Service</a></li>
<li><a href="#orgd6ba6e4">Timer</a></li>
<li><a href="#org55b365f">Script</a></li>
<li><a href="#org206b59c">Service</a></li>
<li><a href="#orge9865a6">Timer</a></li>
<li><a href="#org0561aed">Script</a></li>
</ul>
</li>
<li><a href="#org79abe94">Buku Git</a>
<ul>
<li><a href="#org8965ecc">Service</a></li>
<li><a href="#orgee842db">Timer</a></li>
<li><a href="#org79768ff">Script</a></li>
<li><a href="#org06e5158">Service</a></li>
<li><a href="#org48bc751">Timer</a></li>
<li><a href="#org8552721">Script</a></li>
</ul>
</li>
<li><a href="#org1d68bb0">Check mail</a>
<ul>
<li><a href="#org40f00a0">Service</a></li>
<li><a href="#org1c71d4b">Timer</a></li>
<li><a href="#org0561aed">Script</a></li>
<li><a href="#org6acfd66">Service</a></li>
<li><a href="#orgc8b73e7">Timer</a></li>
<li><a href="#orgea90a0b">Script</a></li>
</ul>
</li>
<li><a href="#orgefb3320">Sync mail</a>
<ul>
<li><a href="#org489f39c">Service</a></li>
<li><a href="#org3e11f18">Timer</a></li>
<li><a href="#org1f273c6">Service</a></li>
<li><a href="#org9aa2ba5">Timer</a></li>
</ul>
</li>
<li><a href="#org2ff1601">Vdirsyncer</a>
<ul>
<li><a href="#org57d88e9">Service</a></li>
<li><a href="#orge9865a6">Timer</a></li>
<li><a href="#orgc941c47">Service</a></li>
<li><a href="#orgb5a6f5c">Timer</a></li>
</ul>
</li>
<li><a href="#orgb34591d">SSH Agent</a>
<ul>
<li><a href="#org79ab33b">Service</a></li>
<li><a href="#org10e8ec0">Service</a></li>
</ul>
</li>
<li><a href="#orge82b3ac">Powertop</a>
<ul>
<li><a href="#org94eb997">Service</a></li>
<li><a href="#orgd482b17">Service</a></li>
</ul>
</li>
<li><a href="#orgd4b9d58">Mopidy</a>
<ul>
<li><a href="#org206b59c">Service</a></li>
<li><a href="#orgb1764a7">Service</a></li>
</ul>
</li>
</ul>
</div>
</div>
<p>
<a href="https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units">https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units</a>
</p>
@ -296,51 +85,59 @@
<h2 id="org5b65512">Pass Git</h2>
<div class="outline-text-2" id="text-org5b65512">
</div>
<div id="outline-container-org49549f0" class="outline-3">
<h3 id="org49549f0">Service</h3>
<div class="outline-text-3" id="text-org49549f0">
<div id="outline-container-org206b59c" class="outline-3">
<h3 id="org206b59c">Service</h3>
<div class="outline-text-3" id="text-org206b59c">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync Passwords every day
<span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=yes
<pre class="src src-conf">[Unit]
Description=Sync Passwords every day
RefuseManualStart=no
RefuseManualStop=yes
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=oneshot
<span class="org-variable-name">ExecStart</span>=%h/scripts/pass_git_sync.sh
[Service]
Type=oneshot
ExecStart=%h/.local/bin/pass_git_sync
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd6ba6e4" class="outline-3">
<h3 id="orgd6ba6e4">Timer</h3>
<div class="outline-text-3" id="text-orgd6ba6e4">
<div id="outline-container-orge9865a6" class="outline-3">
<h3 id="orge9865a6">Timer</h3>
<div class="outline-text-3" id="text-orge9865a6">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync Passwords every day
<span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=no
<span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network-online.target
<pre class="src src-conf">[Unit]
Description=Sync Passwords every day
RefuseManualStart=no
RefuseManualStop=no
Wants=network-online.target
After=network-online.target
[<span class="org-type">Timer</span>]
<span class="org-variable-name">OnCalendar</span>=*-*-* <span class="org-highlight-numbers-number">16</span>:<span class="org-highlight-numbers-number">00</span>:<span class="org-highlight-numbers-number">00</span>
<span class="org-variable-name">Persistent</span>=true
<span class="org-variable-name">Unit</span>=passgit.service
[Timer]
OnCalendar=*-*-* 16:00:00
Persistent=true
Unit=passgit.service
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=default.target
[Install]
WantedBy=default.target
</pre>
</div>
</div>
</div>
<div id="outline-container-org55b365f" class="outline-3">
<h3 id="org55b365f">Script</h3>
<div class="outline-text-3" id="text-org55b365f">
<div id="outline-container-org0561aed" class="outline-3">
<h3 id="org0561aed">Script</h3>
<div class="outline-text-3" id="text-org0561aed">
<div class="org-src-container">
<pre class="src src-bash">pass <span class="org-type">git</span> pull --rebase &amp;&amp; pass <span class="org-type">git</span> push
<pre class="src src-bash">cd ~/.local/share/buku/ || exit
if [[ ! -z $(git status -s bookmarks.db) ]]
then
git add bookmarks.db
git commit -m "Changed bookmarks - $(date +%F)"
git push
exit
fi
</pre>
</div>
</div>
@ -351,59 +148,59 @@
<h2 id="org79abe94">Buku Git</h2>
<div class="outline-text-2" id="text-org79abe94">
</div>
<div id="outline-container-org8965ecc" class="outline-3">
<h3 id="org8965ecc">Service</h3>
<div class="outline-text-3" id="text-org8965ecc">
<div id="outline-container-org06e5158" class="outline-3">
<h3 id="org06e5158">Service</h3>
<div class="outline-text-3" id="text-org06e5158">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync Bookmarks every day
<span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=yes
<pre class="src src-conf">[Unit]
Description=Sync Bookmarks every day
RefuseManualStart=no
RefuseManualStop=yes
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=oneshot
<span class="org-variable-name">ExecStart</span>=%h/scripts/buku_git_push.sh
[Service]
Type=oneshot
ExecStart=%h/.local/bin/buku_git_push
</pre>
</div>
</div>
</div>
<div id="outline-container-orgee842db" class="outline-3">
<h3 id="orgee842db">Timer</h3>
<div class="outline-text-3" id="text-orgee842db">
<div id="outline-container-org48bc751" class="outline-3">
<h3 id="org48bc751">Timer</h3>
<div class="outline-text-3" id="text-org48bc751">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync All Mails every x hours
<span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=no
<span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network-online.target
<pre class="src src-conf">[Unit]
Description=Sync All Mails every x hours
RefuseManualStart=no
RefuseManualStop=no
Wants=network-online.target
After=network-online.target
[<span class="org-type">Timer</span>]
<span class="org-variable-name">OnCalendar</span>=*-*-* <span class="org-highlight-numbers-number">16</span>:<span class="org-highlight-numbers-number">00</span>:<span class="org-highlight-numbers-number">00</span>
<span class="org-variable-name">Persistent</span>=true
<span class="org-variable-name">Unit</span>=bukugit.service
[Timer]
OnCalendar=*-*-* 16:00:00
Persistent=true
Unit=bukugit.service
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=default.target
[Install]
WantedBy=default.target
</pre>
</div>
</div>
</div>
<div id="outline-container-org79768ff" class="outline-3">
<h3 id="org79768ff">Script</h3>
<div class="outline-text-3" id="text-org79768ff">
<div id="outline-container-org8552721" class="outline-3">
<h3 id="org8552721">Script</h3>
<div class="outline-text-3" id="text-org8552721">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/share/buku/
<pre class="src src-bash">cd ~/.local/share/buku/
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> <span class="org-negation-char">!</span> -z $<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-sh-quoted-exec">git</span> status -s bookmarks.db<span class="org-rainbow-delimiters-depth-3">)</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>
<span class="org-keyword">then</span>
<span class="org-type">git</span> add bookmarks.db
<span class="org-type">git</span> commit -m <span class="org-string">"Changed bookmarks - </span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">date</span><span class="org-string"><span class="org-sh-quoted-exec"> +%F)</span></span><span class="org-string">"</span>
<span class="org-type">git</span> push
<span class="org-keyword">exit</span>
<span class="org-keyword">fi</span>
if [[ ! -z $(git status -s bookmarks.db) ]]
then
git add bookmarks.db
git commit -m "Changed bookmarks - $(date +%F)"
git push
exit
fi
</pre>
</div>
</div>
@ -414,107 +211,106 @@
<h2 id="org1d68bb0">Check mail</h2>
<div class="outline-text-2" id="text-org1d68bb0">
</div>
<div id="outline-container-org40f00a0" class="outline-3">
<h3 id="org40f00a0">Service</h3>
<div class="outline-text-3" id="text-org40f00a0">
<div id="outline-container-org6acfd66" class="outline-3">
<h3 id="org6acfd66">Service</h3>
<div class="outline-text-3" id="text-org6acfd66">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Check new mails
<span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=yes
<pre class="src src-conf">[Unit]
Description=Check new mails
RefuseManualStart=no
RefuseManualStop=yes
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=oneshot
<span class="org-variable-name">ExecStart</span>=%h/scripts/checkmail.sh -q
[Service]
Type=oneshot
ExecStart=%h/.local/bin/checkmail -q
</pre>
</div>
</div>
</div>
<div id="outline-container-org1c71d4b" class="outline-3">
<h3 id="org1c71d4b">Timer</h3>
<div class="outline-text-3" id="text-org1c71d4b">
<div id="outline-container-orgc8b73e7" class="outline-3">
<h3 id="orgc8b73e7">Timer</h3>
<div class="outline-text-3" id="text-orgc8b73e7">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Check Mail every x minutes
<span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=no
<span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network-online.target
<span class="org-variable-name">Requires</span>=checkmail.service
<pre class="src src-conf">[Unit]
Description=Check Mail every x minutes
RefuseManualStart=no
RefuseManualStop=no
Wants=network-online.target
After=network-online.target
Requires=checkmail.service
[<span class="org-type">Timer</span>]
<span class="org-variable-name">Persistent</span>=false
<span class="org-variable-name">OnBootSec</span>=2min
<span class="org-variable-name">OnUnitActiveSec</span>=5min
<span class="org-variable-name">AccuracySec</span>=2min
<span class="org-variable-name">Unit</span>=checkmail.service
[Timer]
Persistent=false
OnBootSec=2min
OnUnitActiveSec=5min
AccuracySec=2min
Unit=checkmail.service
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=default.target
[Install]
WantedBy=default.target
</pre>
</div>
</div>
</div>
<div id="outline-container-org0561aed" class="outline-3">
<h3 id="org0561aed">Script</h3>
<div class="outline-text-3" id="text-org0561aed">
<div id="outline-container-orgea90a0b" class="outline-3">
<h3 id="orgea90a0b">Script</h3>
<div class="outline-text-3" id="text-orgea90a0b">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">while</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">1</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">do</span> <span class="org-comment-delimiter"># </span><span class="org-comment">while loop starts</span>
<span class="org-keyword">case</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">1</span></span><span class="org-string">"</span><span class="org-keyword"> in</span>
-a) <span class="org-variable-name">opt_all</span>=<span class="org-string">'--all'</span> ;; <span class="org-comment-delimiter"># </span><span class="org-comment">Check All inboxes</span>
-v) <span class="org-variable-name">opt_verbose</span>=<span class="org-string">'--verbose'</span> ;; <span class="org-comment-delimiter"># </span><span class="org-comment">Verbose</span>
-q) <span class="org-variable-name">opt_quiet</span>=<span class="org-string">'--quiet'</span> ;; <span class="org-comment-delimiter"># </span><span class="org-comment">Quiet</span>
*) <span class="org-type">echo</span> <span class="org-string">"Option </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string"> not recognized"</span> ;; <span class="org-comment-delimiter"># </span><span class="org-comment">In case you typed a different option</span>
<span class="org-keyword">esac</span>
<span class="org-builtin">shift</span>
<span class="org-keyword">done</span>
<pre class="src src-bash">while [ -n "$1" ]; do # while loop starts
case "$1" in
-a) opt_all='--all' ;; # Check All inboxes
-v) opt_verbose='--verbose' ;; # Verbose
-q) opt_quiet='--quiet' ;; # Quiet
*) echo "Option $1 not recognized" ;; # In case you typed a different option
esac
shift
done
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Count number of mails</span>
<span class="org-variable-name">gmail_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/gmail/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
<span class="org-variable-name">esrf_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/esrf/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
<span class="org-variable-name">ulg_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/ulg/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
<span class="org-variable-name">uliege_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/uliege/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# =============================================================
# Count number of mails
gmail_old="$(ls ~/.mail/gmail/Inbox/new | wc -l)"
esrf_old="$(ls ~/.mail/esrf/Inbox/new | wc -l)"
ulg_old="$(ls ~/.mail/ulg/Inbox/new | wc -l)"
uliege_old="$(ls ~/.mail/uliege/Inbox/new | wc -l)"
# =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Retreive mails</span>
mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variable-name">opt_verbose</span> gmail-Home esrf-Home ulg-Home uliege-Home
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# =============================================================
# Retreive mails
mbsync $opt_all $opt_verbose gmail-Home esrf-Home ulg-Home uliege-Home 2&gt;/tmp/mbsync.log
# =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Count number of mails</span>
<span class="org-variable-name">gmail_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/gmail/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
<span class="org-variable-name">esrf_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/esrf/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
<span class="org-variable-name">ulg_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/ulg/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
<span class="org-variable-name">uliege_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/uliege/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# =============================================================
# Count number of mails
gmail_new="$(ls ~/.mail/gmail/Inbox/new | wc -l)"
esrf_new="$(ls ~/.mail/esrf/Inbox/new | wc -l)"
ulg_new="$(ls ~/.mail/ulg/Inbox/new | wc -l)"
uliege_new="$(ls ~/.mail/uliege/Inbox/new | wc -l)"
# =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Total Number of new mails since last checking</span>
<span class="org-variable-name">new</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">gmail_new</span></span></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">esrf_new</span></span></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">ulg_new</span></span></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">uliege_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">)"</span>
<span class="org-variable-name">old</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">gmail_old</span></span></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">esrf_old</span></span></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">ulg_old</span></span></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">uliege_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">)"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# =============================================================
# Total Number of new mails since last checking
new="$(($gmail_new+$esrf_new+$ulg_new+$uliege_new))"
old="$(($gmail_old+$esrf_old+$ulg_old+$uliege_old))"
# =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Notification</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</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">new</span></span><span class="org-string">"</span> -gt <span class="org-highlight-numbers-number">0</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
dunstify --replace=<span class="org-highlight-numbers-number">98465</span> <span class="org-string">'Mails &#63215;'</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">gmail_new</span></span></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">esrf_new</span></span></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">ulg_new</span></span></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">uliege_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">) new mail(s)"</span>
<span class="org-keyword">fi</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# =============================================================
# Notification
if [ "$new" -gt 0 ]; then
dunstify --replace=98465 'Mails ' "$(($gmail_new+$esrf_new+$ulg_new+$uliege_new)) new mail(s)"
fi
# =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Indexation and Tags</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">mu update</span>
mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $<span class="org-variable-name">opt_quiet</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Update on Emacs</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">if [ "$(($new-$old))" -gt 0 ]; then</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">emacsclient --eval '(mu4e-update-index)';</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">fi</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# =============================================================
# Indexation and Tags
if pgrep -f 'mu server'; then
emacsclient --eval '(mu4e-update-index)'
else
mu index $opt_verbose $opt_quiet
fi
# =============================================================
</pre>
</div>
</div>
@ -525,44 +321,44 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<h2 id="orgefb3320">Sync mail</h2>
<div class="outline-text-2" id="text-orgefb3320">
</div>
<div id="outline-container-org489f39c" class="outline-3">
<h3 id="org489f39c">Service</h3>
<div class="outline-text-3" id="text-org489f39c">
<div id="outline-container-org1f273c6" class="outline-3">
<h3 id="org1f273c6">Service</h3>
<div class="outline-text-3" id="text-org1f273c6">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync all mails
<span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=yes
<pre class="src src-conf">[Unit]
Description=Sync all mails
RefuseManualStart=no
RefuseManualStop=yes
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=oneshot
<span class="org-variable-name">ExecStart</span>=%h/scripts/checkmail.sh -a -q
[Service]
Type=oneshot
ExecStart=%h/.local/bin/checkmail -a -q
</pre>
</div>
</div>
</div>
<div id="outline-container-org3e11f18" class="outline-3">
<h3 id="org3e11f18">Timer</h3>
<div class="outline-text-3" id="text-org3e11f18">
<div id="outline-container-org9aa2ba5" class="outline-3">
<h3 id="org9aa2ba5">Timer</h3>
<div class="outline-text-3" id="text-org9aa2ba5">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync All Mails every x hours
<span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=no
<span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network-online.target
<span class="org-variable-name">Requires</span>=syncmail.service
<pre class="src src-conf">[Unit]
Description=Sync All Mails every x hours
RefuseManualStart=no
RefuseManualStop=no
Wants=network-online.target
After=network-online.target
Requires=syncmail.service
[<span class="org-type">Timer</span>]
<span class="org-variable-name">Persistent</span>=false
<span class="org-variable-name">OnBootSec</span>=30min
<span class="org-variable-name">OnUnitActiveSec</span>=300min
<span class="org-variable-name">AccuracySec</span>=10min
<span class="org-variable-name">Unit</span>=syncmail.service
[Timer]
Persistent=false
OnBootSec=30min
OnUnitActiveSec=300min
AccuracySec=10min
Unit=syncmail.service
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=default.target
[Install]
WantedBy=default.target
</pre>
</div>
</div>
@ -573,38 +369,38 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<h2 id="org2ff1601">Vdirsyncer</h2>
<div class="outline-text-2" id="text-org2ff1601">
</div>
<div id="outline-container-org57d88e9" class="outline-3">
<h3 id="org57d88e9">Service</h3>
<div class="outline-text-3" id="text-org57d88e9">
<div id="outline-container-orgc941c47" class="outline-3">
<h3 id="orgc941c47">Service</h3>
<div class="outline-text-3" id="text-orgc941c47">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Synchronize calendars and contacts
<span class="org-variable-name">Documentation</span>=https://vdirsyncer.readthedocs.org/
<span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network-online.target
<pre class="src src-conf">[Unit]
Description=Synchronize calendars and contacts
Documentation=https://vdirsyncer.readthedocs.org/
Wants=network-online.target
After=network-online.target
[<span class="org-type">Service</span>]
<span class="org-variable-name">ExecStart</span>=/usr/bin/vdirsyncer --verbosity <span class="org-string">"ERROR"</span> sync
<span class="org-variable-name">Type</span>=oneshot
[Service]
ExecStart=/usr/bin/vdirsyncer --verbosity "ERROR" sync
Type=oneshot
</pre>
</div>
</div>
</div>
<div id="outline-container-orge9865a6" class="outline-3">
<h3 id="orge9865a6">Timer</h3>
<div class="outline-text-3" id="text-orge9865a6">
<div id="outline-container-orgb5a6f5c" class="outline-3">
<h3 id="orgb5a6f5c">Timer</h3>
<div class="outline-text-3" id="text-orgb5a6f5c">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Synchronize vdirs
<pre class="src src-conf">[Unit]
Description=Synchronize vdirs
[<span class="org-type">Timer</span>]
<span class="org-variable-name">OnBootSec</span>=5m
<span class="org-variable-name">OnUnitActiveSec</span>=15m
<span class="org-variable-name">AccuracySec</span>=5m
[Timer]
OnBootSec=5m
OnUnitActiveSec=15m
AccuracySec=5m
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=timers.target
[Install]
WantedBy=timers.target
</pre>
</div>
</div>
@ -615,20 +411,20 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<h2 id="orgb34591d">SSH Agent</h2>
<div class="outline-text-2" id="text-orgb34591d">
</div>
<div id="outline-container-org79ab33b" class="outline-3">
<h3 id="org79ab33b">Service</h3>
<div class="outline-text-3" id="text-org79ab33b">
<div id="outline-container-org10e8ec0" class="outline-3">
<h3 id="org10e8ec0">Service</h3>
<div class="outline-text-3" id="text-org10e8ec0">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=SSH key agent
<pre class="src src-conf">[Unit]
Description=SSH key agent
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=simple
<span class="org-variable-name">Environment</span>=SSH_AUTH_SOCK=%t/ssh-agent.socket
<span class="org-variable-name">ExecStart</span>=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=default.target
[Install]
WantedBy=default.target
</pre>
</div>
</div>
@ -639,19 +435,19 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<h2 id="orge82b3ac">Powertop</h2>
<div class="outline-text-2" id="text-orge82b3ac">
</div>
<div id="outline-container-org94eb997" class="outline-3">
<h3 id="org94eb997">Service</h3>
<div class="outline-text-3" id="text-org94eb997">
<div id="outline-container-orgd482b17" class="outline-3">
<h3 id="orgd482b17">Service</h3>
<div class="outline-text-3" id="text-orgd482b17">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Powertop tunings
<pre class="src src-conf">[Unit]
Description=Powertop tunings
[<span class="org-type">Service</span>]
<span class="org-variable-name">ExecStart</span>=/usr/bin/powertop --auto-tune
<span class="org-variable-name">RemainAfterExit</span>=true
[Service]
ExecStart=/usr/bin/powertop --auto-tune
RemainAfterExit=true
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=multi-user.target
[Install]
WantedBy=multi-user.target
</pre>
</div>
</div>
@ -662,25 +458,25 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<h2 id="orgd4b9d58">Mopidy</h2>
<div class="outline-text-2" id="text-orgd4b9d58">
</div>
<div id="outline-container-org206b59c" class="outline-3">
<h3 id="org206b59c">Service</h3>
<div class="outline-text-3" id="text-org206b59c">
<div id="outline-container-orgb1764a7" class="outline-3">
<h3 id="orgb1764a7">Service</h3>
<div class="outline-text-3" id="text-orgb1764a7">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Mopidy music server
<span class="org-variable-name">After</span>=avahi-daemon.service
<span class="org-variable-name">After</span>=dbus.service
<span class="org-variable-name">After</span>=network.target
<span class="org-variable-name">After</span>=nss-lookup.target
<span class="org-variable-name">After</span>=pulseaudio.service
<span class="org-variable-name">After</span>=remote-fs.target
<span class="org-variable-name">After</span>=sound.target
<pre class="src src-conf">[Unit]
Description=Mopidy music server
After=avahi-daemon.service
After=dbus.service
After=network.target
After=nss-lookup.target
After=pulseaudio.service
After=remote-fs.target
After=sound.target
[<span class="org-type">Service</span>]
<span class="org-variable-name">ExecStart</span>=/usr/bin/mopidy --config ~/.config/mopidy/mopidy.conf
[Service]
ExecStart=/usr/bin/mopidy --config ~/.config/mopidy/mopidy.conf
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=multi-user.target
[Install]
WantedBy=multi-user.target
</pre>
</div>
</div>
@ -689,7 +485,7 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-04-05 dim. 11:29</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p>
</div>
</body>
</html>

View File

@ -1,230 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<?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-04-05 dim. 11:29 -->
<!-- 2020-05-26 mar. 08:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Torrent Configuration</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&amp;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">
@ -239,6 +28,14 @@
<ul>
<li><a href="#org9165dd2">NAS Configuration</a></li>
<li><a href="#orgdb0f5e2">Tremc - Curses interface for Transmission</a></li>
<li><a href="#orgef992db">Aria2</a>
<ul>
<li><a href="#orga6f718b">Aria2c Config</a></li>
<li><a href="#org568c0d2">Download Start Script</a></li>
<li><a href="#org92b0daf">Download Complete Script</a></li>
<li><a href="#orgf16fd52">Download Error Script</a></li>
</ul>
</li>
</ul>
</div>
</div>
@ -255,54 +52,109 @@
</p>
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Connection</span>]
<span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"nas/transmission"</span>)&gt;&gt;
<span class="org-variable-name">username</span> = tdehaeze
<span class="org-variable-name">port</span> = <span class="org-highlight-numbers-number">9091</span>
<span class="org-variable-name">host</span> = ***REMOVED***
<span class="org-variable-name">path</span> = /transmission/rpc
<span class="org-variable-name">ssl</span> = False
<pre class="src src-conf">[Connection]
password = &lt;&lt;get-password(passname="nas/transmission")&gt;&gt;
username = tdehaeze
port = 9091
host = ***REMOVED***
path = /transmission/rpc
ssl = False
[<span class="org-type">Sorting</span>]
<span class="org-variable-name">order</span> = name
[Sorting]
order = name
[<span class="org-type">Filtering</span>]
<span class="org-variable-name">filter</span> =
<span class="org-variable-name">invert</span> = False
[Filtering]
filter =
invert = False
[<span class="org-type">Misc</span>]
<span class="org-variable-name">compact_list</span> = False
<span class="org-variable-name">torrentname_is_progressbar</span> = True
<span class="org-variable-name">file_viewer</span> = xdg-open %%s
<span class="org-variable-name">file_open_in_terminal</span> = True
[Misc]
compact_list = False
torrentname_is_progressbar = True
file_viewer = xdg-open %%s
file_open_in_terminal = True
[<span class="org-type">Colors</span>]
<span class="org-variable-name">title_seed</span> = bg:green,fg:black
<span class="org-variable-name">title_download</span> = bg:blue,fg:black
<span class="org-variable-name">title_idle</span> = bg:cyan,fg:black
<span class="org-variable-name">title_verify</span> = bg:magenta,fg:black
<span class="org-variable-name">title_paused</span> = bg:black,fg:white
<span class="org-variable-name">title_error</span> = bg:red,fg:white
<span class="org-variable-name">download_rate</span> = bg:black,fg:blue
<span class="org-variable-name">upload_rate</span> = bg:black,fg:red
<span class="org-variable-name">eta+ratio</span> = bg:black,fg:white
<span class="org-variable-name">filter_status</span> = bg:red,fg:black
<span class="org-variable-name">dialog</span> = bg:black,fg:white
<span class="org-variable-name">dialog_important</span> = bg:red,fg:black
<span class="org-variable-name">button</span> = bg:white,fg:black
<span class="org-variable-name">button_focused</span> = bg:black,fg:white
<span class="org-variable-name">file_prio_high</span> = bg:red,fg:black
<span class="org-variable-name">file_prio_normal</span> = bg:white,fg:black
<span class="org-variable-name">file_prio_low</span> = bg:yellow,fg:black
<span class="org-variable-name">file_prio_off</span> = bg:blue,fg:black
[Colors]
title_seed = bg:green,fg:black
title_download = bg:blue,fg:black
title_idle = bg:cyan,fg:black
title_verify = bg:magenta,fg:black
title_paused = bg:black,fg:white
title_error = bg:red,fg:white
download_rate = bg:black,fg:blue
upload_rate = bg:black,fg:red
eta+ratio = bg:black,fg:white
filter_status = bg:red,fg:black
dialog = bg:black,fg:white
dialog_important = bg:red,fg:black
button = bg:white,fg:black
button_focused = bg:black,fg:white
file_prio_high = bg:red,fg:black
file_prio_normal = bg:white,fg:black
file_prio_low = bg:yellow,fg:black
file_prio_off = bg:blue,fg:black
</pre>
</div>
</div>
</div>
<div id="outline-container-orgef992db" class="outline-2">
<h2 id="orgef992db">Aria2</h2>
<div class="outline-text-2" id="text-orgef992db">
</div>
<div id="outline-container-orga6f718b" class="outline-3">
<h3 id="orga6f718b">Aria2c Config</h3>
<div class="outline-text-3" id="text-orga6f718b">
<div class="org-src-container">
<pre class="src src-conf">continue
daemon=true
dir=/home/thomas/Downloads
max-connection-per-server=4
max-concurrent-downloads=3
enable-rpc=true
rpc-listen-all=true
http-user=dehaeze.thomas@gmail.com
http-passwd=&lt;&lt;get-password(passname="1fichier.com/dehaeze.thomas@gmail.com")&gt;&gt;
on-download-start=/home/thomas/.config/aria2/download-start.sh
on-download-complete=/home/thomas/.config/aria2/download-complete.sh
on-download-error=/home/thomas/.config/aria2/download-error.sh
</pre>
</div>
</div>
</div>
<div id="outline-container-org568c0d2" class="outline-3">
<h3 id="org568c0d2">Download Start Script</h3>
<div class="outline-text-3" id="text-org568c0d2">
<div class="org-src-container">
<pre class="src src-bash">dunstify "DL Started" "$(basename \"$3\" 2&gt; /dev/null)"
</pre>
</div>
</div>
</div>
<div id="outline-container-org92b0daf" class="outline-3">
<h3 id="org92b0daf">Download Complete Script</h3>
<div class="outline-text-3" id="text-org92b0daf">
<div class="org-src-container">
<pre class="src src-bash">dunstify "DL Completed" "$(basename \"$3\" 2&gt; /dev/null)"
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf16fd52" class="outline-3">
<h3 id="orgf16fd52">Download Error Script</h3>
<div class="outline-text-3" id="text-orgf16fd52">
<div class="org-src-container">
<pre class="src src-bash">dunstify --urgency=critical "DL Failed" "$(basename \"$3\" 2&gt; /dev/null)"
</pre>
</div>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-04-05 dim. 11:29</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p>
</div>
</body>
</html>

View File

@ -1,229 +1,19 @@
<?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-04-05 dim. 11:29 -->
<!-- 2020-05-26 mar. 08:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Configuration Files related to Xorg</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&amp;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">
@ -259,29 +49,29 @@
<h3 id="org97a3062">Colors</h3>
<div class="outline-text-3" id="text-org97a3062">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">define base00 #32302f</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base01 #3c3836</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base02 #504945</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base03 #665c54</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base04 #bdae93</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base05 #d5c4a1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base06 #ebdbb2</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base07 #fbf1c7</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base08 #fb4934</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base09 #fe8019</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0A #fabd2f</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0B #b8bb26</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0C #8ec07c</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0D #83a598</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0E #d3869b</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0F #d65d0e</span>
<pre class="src src-conf">#define base00 #32302f
#define base01 #3c3836
#define base02 #504945
#define base03 #665c54
#define base04 #bdae93
#define base05 #d5c4a1
#define base06 #ebdbb2
#define base07 #fbf1c7
#define base08 #fb4934
#define base09 #fe8019
#define base0A #fabd2f
#define base0B #b8bb26
#define base0C #8ec07c
#define base0D #83a598
#define base0E #d3869b
#define base0F #d65d0e
*foreground: base05
<span class="org-comment-delimiter">#</span><span class="org-comment">ifdef background_opacity</span>
#ifdef background_opacity
*background: [background_opacity]base00
<span class="org-comment-delimiter">#</span><span class="org-comment">else</span>
#else
*background: base00
<span class="org-comment-delimiter">#</span><span class="org-comment">endif</span>
#endif
*cursorColor: base05
*color0: base00
@ -302,8 +92,8 @@
*color14: base0C
*color15: base07
! Note: colors beyond <span class="org-highlight-numbers-number">15</span> might not be loaded (e.g., xterm, urxvt),
! use <span class="org-string">'shell'</span> template to set these if necessary
! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
! use 'shell' template to set these if necessary
*color16: base09
*color17: base0F
*color18: base01
@ -319,12 +109,12 @@
<h3 id="orgb20ef40">Fonts</h3>
<div class="outline-text-3" id="text-orgb20ef40">
<div class="org-src-container">
<pre class="src src-conf">Xft.dpi: <span class="org-highlight-numbers-number">96</span>
Xft.autohint: <span class="org-highlight-numbers-number">0</span>
<pre class="src src-conf">Xft.dpi: 96
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
Xft.hinting: <span class="org-highlight-numbers-number">1</span>
Xft.antialias: <span class="org-highlight-numbers-number">1</span>
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
</pre>
</div>
@ -336,7 +126,7 @@ Xft.rgba: rgb
<div class="outline-text-3" id="text-org2f75682">
<div class="org-src-container">
<pre class="src src-conf">Xcursor.theme: Breeze
Xcursor.size: <span class="org-highlight-numbers-number">0</span>
Xcursor.size: 0
</pre>
</div>
</div>
@ -347,254 +137,254 @@ Xcursor.size: <span class="org-highlight-numbers-number">0</span>
<h2 id="org5283ed8">Xmodmap</h2>
<div class="outline-text-2" id="text-org5283ed8">
<div class="org-src-container">
<pre class="src src-conf">keycode <span class="org-highlight-numbers-number">8</span> =
keycode <span class="org-highlight-numbers-number">9</span> = Escape NoSymbol Escape
keycode <span class="org-highlight-numbers-number">10</span> = <span class="org-highlight-numbers-number">1</span> exclam <span class="org-highlight-numbers-number">1</span> exclam
keycode <span class="org-highlight-numbers-number">11</span> = <span class="org-highlight-numbers-number">2</span> at <span class="org-highlight-numbers-number">2</span> at
keycode <span class="org-highlight-numbers-number">12</span> = <span class="org-highlight-numbers-number">3</span> numbersign <span class="org-highlight-numbers-number">3</span> numbersign
keycode <span class="org-highlight-numbers-number">13</span> = <span class="org-highlight-numbers-number">4</span> dollar <span class="org-highlight-numbers-number">4</span> dollar
keycode <span class="org-highlight-numbers-number">14</span> = <span class="org-highlight-numbers-number">5</span> percent <span class="org-highlight-numbers-number">5</span> percent
keycode <span class="org-highlight-numbers-number">15</span> = <span class="org-highlight-numbers-number">6</span> asciicircum <span class="org-highlight-numbers-number">6</span> asciicircum
keycode <span class="org-highlight-numbers-number">16</span> = <span class="org-highlight-numbers-number">7</span> ampersand <span class="org-highlight-numbers-number">7</span> ampersand
keycode <span class="org-highlight-numbers-number">17</span> = <span class="org-highlight-numbers-number">8</span> asterisk <span class="org-highlight-numbers-number">8</span> asterisk
keycode <span class="org-highlight-numbers-number">18</span> = <span class="org-highlight-numbers-number">9</span> parenleft <span class="org-highlight-numbers-number">9</span> parenleft
keycode <span class="org-highlight-numbers-number">19</span> = <span class="org-highlight-numbers-number">0</span> parenright <span class="org-highlight-numbers-number">0</span> parenright
keycode <span class="org-highlight-numbers-number">20</span> = minus underscore minus underscore
keycode <span class="org-highlight-numbers-number">21</span> = equal plus equal plus
keycode <span class="org-highlight-numbers-number">22</span> = BackSpace BackSpace BackSpace BackSpace
keycode <span class="org-highlight-numbers-number">23</span> = Tab ISO_Left_Tab Tab ISO_Left_Tab
keycode <span class="org-highlight-numbers-number">24</span> = q Q q Q
keycode <span class="org-highlight-numbers-number">25</span> = w W w W
keycode <span class="org-highlight-numbers-number">26</span> = e E e E
keycode <span class="org-highlight-numbers-number">27</span> = r R r R
keycode <span class="org-highlight-numbers-number">28</span> = t T t T
keycode <span class="org-highlight-numbers-number">29</span> = y Y y Y
keycode <span class="org-highlight-numbers-number">30</span> = u U u U
keycode <span class="org-highlight-numbers-number">31</span> = i I i I
keycode <span class="org-highlight-numbers-number">32</span> = o O o O
keycode <span class="org-highlight-numbers-number">33</span> = p P p P
keycode <span class="org-highlight-numbers-number">34</span> = bracketleft braceleft bracketleft braceleft
keycode <span class="org-highlight-numbers-number">35</span> = bracketright braceright bracketright braceright
keycode <span class="org-highlight-numbers-number">36</span> = Return NoSymbol Return
keycode <span class="org-highlight-numbers-number">37</span> = Control_L NoSymbol Control_L
keycode <span class="org-highlight-numbers-number">38</span> = a A a A
keycode <span class="org-highlight-numbers-number">39</span> = s S s S
keycode <span class="org-highlight-numbers-number">40</span> = d D d D
keycode <span class="org-highlight-numbers-number">41</span> = f F f F
keycode <span class="org-highlight-numbers-number">42</span> = g G g G
keycode <span class="org-highlight-numbers-number">43</span> = h H h H
keycode <span class="org-highlight-numbers-number">44</span> = j J j J
keycode <span class="org-highlight-numbers-number">45</span> = k K k K
keycode <span class="org-highlight-numbers-number">46</span> = l L l L
keycode <span class="org-highlight-numbers-number">47</span> = semicolon colon semicolon colon
keycode <span class="org-highlight-numbers-number">48</span> = apostrophe quotedbl apostrophe quotedbl
keycode <span class="org-highlight-numbers-number">49</span> = grave asciitilde grave asciitilde
keycode <span class="org-highlight-numbers-number">50</span> = Shift_L NoSymbol Shift_L
keycode <span class="org-highlight-numbers-number">51</span> = backslash bar backslash bar
keycode <span class="org-highlight-numbers-number">52</span> = z Z z Z
keycode <span class="org-highlight-numbers-number">53</span> = x X x X
keycode <span class="org-highlight-numbers-number">54</span> = c C c C
keycode <span class="org-highlight-numbers-number">55</span> = v V v V
keycode <span class="org-highlight-numbers-number">56</span> = b B b B
keycode <span class="org-highlight-numbers-number">57</span> = n N n N
keycode <span class="org-highlight-numbers-number">58</span> = m M m M
keycode <span class="org-highlight-numbers-number">59</span> = comma less comma less
keycode <span class="org-highlight-numbers-number">60</span> = period greater period greater
keycode <span class="org-highlight-numbers-number">61</span> = slash question slash question
keycode <span class="org-highlight-numbers-number">62</span> = Shift_R NoSymbol Shift_R
keycode <span class="org-highlight-numbers-number">63</span> = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab
keycode <span class="org-highlight-numbers-number">64</span> = Alt_L Meta_L Alt_L Meta_L
keycode <span class="org-highlight-numbers-number">65</span> = space NoSymbol space
keycode <span class="org-highlight-numbers-number">66</span> = Caps_Lock NoSymbol Caps_Lock
keycode <span class="org-highlight-numbers-number">67</span> = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
keycode <span class="org-highlight-numbers-number">68</span> = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
keycode <span class="org-highlight-numbers-number">69</span> = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
keycode <span class="org-highlight-numbers-number">70</span> = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
keycode <span class="org-highlight-numbers-number">71</span> = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
keycode <span class="org-highlight-numbers-number">72</span> = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
keycode <span class="org-highlight-numbers-number">73</span> = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
keycode <span class="org-highlight-numbers-number">74</span> = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
keycode <span class="org-highlight-numbers-number">75</span> = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
keycode <span class="org-highlight-numbers-number">76</span> = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10
keycode <span class="org-highlight-numbers-number">77</span> = Num_Lock NoSymbol Num_Lock
keycode <span class="org-highlight-numbers-number">78</span> = Scroll_Lock NoSymbol Scroll_Lock
keycode <span class="org-highlight-numbers-number">79</span> = KP_Home KP_7 KP_Home KP_7
keycode <span class="org-highlight-numbers-number">80</span> = KP_Up KP_8 KP_Up KP_8
keycode <span class="org-highlight-numbers-number">81</span> = KP_Prior KP_9 KP_Prior KP_9
keycode <span class="org-highlight-numbers-number">82</span> = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode
keycode <span class="org-highlight-numbers-number">83</span> = KP_Left KP_4 KP_Left KP_4
keycode <span class="org-highlight-numbers-number">84</span> = KP_Begin KP_5 KP_Begin KP_5
keycode <span class="org-highlight-numbers-number">85</span> = KP_Right KP_6 KP_Right KP_6
keycode <span class="org-highlight-numbers-number">86</span> = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode
keycode <span class="org-highlight-numbers-number">87</span> = KP_End KP_1 KP_End KP_1
keycode <span class="org-highlight-numbers-number">88</span> = KP_Down KP_2 KP_Down KP_2
keycode <span class="org-highlight-numbers-number">89</span> = KP_Next KP_3 KP_Next KP_3
keycode <span class="org-highlight-numbers-number">90</span> = KP_Insert KP_0 KP_Insert KP_0
keycode <span class="org-highlight-numbers-number">91</span> = KP_Delete KP_Decimal KP_Delete KP_Decimal
keycode <span class="org-highlight-numbers-number">92</span> = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
keycode <span class="org-highlight-numbers-number">93</span> =
keycode <span class="org-highlight-numbers-number">94</span> = less greater less greater bar brokenbar bar
keycode <span class="org-highlight-numbers-number">95</span> = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11
keycode <span class="org-highlight-numbers-number">96</span> = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12
keycode <span class="org-highlight-numbers-number">97</span> =
keycode <span class="org-highlight-numbers-number">98</span> = Katakana NoSymbol Katakana
keycode <span class="org-highlight-numbers-number">99</span> = Hiragana NoSymbol Hiragana
keycode <span class="org-highlight-numbers-number">100</span> = Henkan_Mode NoSymbol Henkan_Mode
keycode <span class="org-highlight-numbers-number">101</span> = Hiragana_Katakana NoSymbol Hiragana_Katakana
keycode <span class="org-highlight-numbers-number">102</span> = Muhenkan NoSymbol Muhenkan
keycode <span class="org-highlight-numbers-number">103</span> =
keycode <span class="org-highlight-numbers-number">104</span> = KP_Enter NoSymbol KP_Enter
keycode <span class="org-highlight-numbers-number">105</span> = Control_R NoSymbol Control_R
keycode <span class="org-highlight-numbers-number">106</span> = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab
keycode <span class="org-highlight-numbers-number">107</span> = Print Sys_Req Print Sys_Req
keycode <span class="org-highlight-numbers-number">108</span> = Alt_R Meta_R Alt_R Meta_R
keycode <span class="org-highlight-numbers-number">109</span> = Linefeed NoSymbol Linefeed
keycode <span class="org-highlight-numbers-number">110</span> = Home NoSymbol Home
keycode <span class="org-highlight-numbers-number">111</span> = Up NoSymbol Up
keycode <span class="org-highlight-numbers-number">112</span> = Prior NoSymbol Prior
keycode <span class="org-highlight-numbers-number">113</span> = Left NoSymbol Left
keycode <span class="org-highlight-numbers-number">114</span> = Right NoSymbol Right
keycode <span class="org-highlight-numbers-number">115</span> = End NoSymbol End
keycode <span class="org-highlight-numbers-number">116</span> = Down NoSymbol Down
keycode <span class="org-highlight-numbers-number">117</span> = Next NoSymbol Next
keycode <span class="org-highlight-numbers-number">118</span> = Insert NoSymbol Insert
keycode <span class="org-highlight-numbers-number">119</span> = Delete NoSymbol Delete
keycode <span class="org-highlight-numbers-number">120</span> =
keycode <span class="org-highlight-numbers-number">121</span> = XF86AudioMute NoSymbol XF86AudioMute
keycode <span class="org-highlight-numbers-number">122</span> = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume
keycode <span class="org-highlight-numbers-number">123</span> = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume
keycode <span class="org-highlight-numbers-number">124</span> = XF86PowerOff NoSymbol XF86PowerOff
keycode <span class="org-highlight-numbers-number">125</span> = KP_Equal NoSymbol KP_Equal
keycode <span class="org-highlight-numbers-number">126</span> = plusminus NoSymbol plusminus
keycode <span class="org-highlight-numbers-number">127</span> = Pause Break Pause Break
keycode <span class="org-highlight-numbers-number">128</span> = XF86LaunchA NoSymbol XF86LaunchA
keycode <span class="org-highlight-numbers-number">129</span> = KP_Decimal KP_Decimal KP_Decimal KP_Decimal
keycode <span class="org-highlight-numbers-number">130</span> = Hangul NoSymbol Hangul
keycode <span class="org-highlight-numbers-number">131</span> = Hangul_Hanja NoSymbol Hangul_Hanja
keycode <span class="org-highlight-numbers-number">132</span> =
keycode <span class="org-highlight-numbers-number">133</span> =
keycode <span class="org-highlight-numbers-number">134</span> = Super_R NoSymbol Super_R
keycode <span class="org-highlight-numbers-number">135</span> = Menu NoSymbol Menu
keycode <span class="org-highlight-numbers-number">136</span> = Cancel NoSymbol Cancel
keycode <span class="org-highlight-numbers-number">137</span> = Redo NoSymbol Redo
keycode <span class="org-highlight-numbers-number">138</span> = SunProps NoSymbol SunProps
keycode <span class="org-highlight-numbers-number">139</span> = Undo NoSymbol Undo
keycode <span class="org-highlight-numbers-number">140</span> = SunFront NoSymbol SunFront
keycode <span class="org-highlight-numbers-number">141</span> = XF86Copy NoSymbol XF86Copy
keycode <span class="org-highlight-numbers-number">142</span> = XF86Open NoSymbol XF86Open
keycode <span class="org-highlight-numbers-number">143</span> = XF86Paste NoSymbol XF86Paste
keycode <span class="org-highlight-numbers-number">144</span> = Find NoSymbol Find
keycode <span class="org-highlight-numbers-number">145</span> = XF86Cut NoSymbol XF86Cut
keycode <span class="org-highlight-numbers-number">146</span> = Help NoSymbol Help
keycode <span class="org-highlight-numbers-number">147</span> = xf86menukb nosymbol xf86menukb
keycode <span class="org-highlight-numbers-number">148</span> = XF86Calculator NoSymbol XF86Calculator
keycode <span class="org-highlight-numbers-number">149</span> =
keycode <span class="org-highlight-numbers-number">150</span> = XF86Sleep NoSymbol XF86Sleep
keycode <span class="org-highlight-numbers-number">151</span> = XF86WakeUp NoSymbol XF86WakeUp
keycode <span class="org-highlight-numbers-number">152</span> = XF86Explorer NoSymbol XF86Explorer
keycode <span class="org-highlight-numbers-number">153</span> = XF86Send NoSymbol XF86Send
keycode <span class="org-highlight-numbers-number">154</span> =
keycode <span class="org-highlight-numbers-number">155</span> = XF86Xfer NoSymbol XF86Xfer
keycode <span class="org-highlight-numbers-number">156</span> = XF86Launch1 NoSymbol XF86Launch1
keycode <span class="org-highlight-numbers-number">157</span> = XF86Launch2 NoSymbol XF86Launch2
keycode <span class="org-highlight-numbers-number">158</span> = XF86WWW NoSymbol XF86WWW
keycode <span class="org-highlight-numbers-number">159</span> = XF86DOS NoSymbol XF86DOS
keycode <span class="org-highlight-numbers-number">160</span> = XF86ScreenSaver NoSymbol XF86ScreenSaver
keycode <span class="org-highlight-numbers-number">161</span> = XF86RotateWindows NoSymbol XF86RotateWindows
keycode <span class="org-highlight-numbers-number">162</span> = XF86TaskPane NoSymbol XF86TaskPane
keycode <span class="org-highlight-numbers-number">163</span> = XF86Mail NoSymbol XF86Mail
keycode <span class="org-highlight-numbers-number">164</span> = XF86Favorites NoSymbol XF86Favorites
keycode <span class="org-highlight-numbers-number">165</span> = XF86MyComputer NoSymbol XF86MyComputer
keycode <span class="org-highlight-numbers-number">166</span> = XF86Back NoSymbol XF86Back
keycode <span class="org-highlight-numbers-number">167</span> = XF86Forward NoSymbol XF86Forward
keycode <span class="org-highlight-numbers-number">168</span> =
keycode <span class="org-highlight-numbers-number">169</span> = XF86Eject NoSymbol XF86Eject
keycode <span class="org-highlight-numbers-number">170</span> = XF86Eject XF86Eject XF86Eject XF86Eject
keycode <span class="org-highlight-numbers-number">171</span> = XF86AudioNext NoSymbol XF86AudioNext
keycode <span class="org-highlight-numbers-number">172</span> = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause
keycode <span class="org-highlight-numbers-number">173</span> = XF86AudioPrev NoSymbol XF86AudioPrev
keycode <span class="org-highlight-numbers-number">174</span> = XF86AudioStop XF86Eject XF86AudioStop XF86Eject
keycode <span class="org-highlight-numbers-number">175</span> = XF86AudioRecord NoSymbol XF86AudioRecord
keycode <span class="org-highlight-numbers-number">176</span> = XF86AudioRewind NoSymbol XF86AudioRewind
keycode <span class="org-highlight-numbers-number">177</span> = XF86Phone NoSymbol XF86Phone
keycode <span class="org-highlight-numbers-number">178</span> =
keycode <span class="org-highlight-numbers-number">179</span> = XF86Tools NoSymbol XF86Tools
keycode <span class="org-highlight-numbers-number">180</span> = XF86HomePage NoSymbol XF86HomePage
keycode <span class="org-highlight-numbers-number">181</span> = XF86Reload NoSymbol XF86Reload
keycode <span class="org-highlight-numbers-number">182</span> = XF86Close NoSymbol XF86Close
keycode <span class="org-highlight-numbers-number">183</span> =
keycode <span class="org-highlight-numbers-number">184</span> =
keycode <span class="org-highlight-numbers-number">185</span> = XF86ScrollUp NoSymbol XF86ScrollUp
keycode <span class="org-highlight-numbers-number">186</span> = XF86ScrollDown NoSymbol XF86ScrollDown
keycode <span class="org-highlight-numbers-number">187</span> = parenleft NoSymbol parenleft
keycode <span class="org-highlight-numbers-number">188</span> = parenright NoSymbol parenright
keycode <span class="org-highlight-numbers-number">189</span> = XF86New NoSymbol XF86New
keycode <span class="org-highlight-numbers-number">190</span> = Redo NoSymbol Redo
keycode <span class="org-highlight-numbers-number">191</span> = XF86Tools NoSymbol XF86Tools
keycode <span class="org-highlight-numbers-number">192</span> = XF86Launch5 NoSymbol XF86Launch5
keycode <span class="org-highlight-numbers-number">193</span> = XF86Launch6 NoSymbol XF86Launch6
keycode <span class="org-highlight-numbers-number">194</span> = XF86Launch7 NoSymbol XF86Launch7
keycode <span class="org-highlight-numbers-number">195</span> = XF86Launch8 NoSymbol XF86Launch8
keycode <span class="org-highlight-numbers-number">196</span> = XF86Launch9 NoSymbol XF86Launch9
keycode <span class="org-highlight-numbers-number">197</span> =
keycode <span class="org-highlight-numbers-number">198</span> = XF86AudioMicMute NoSymbol XF86AudioMicMute
keycode <span class="org-highlight-numbers-number">199</span> = XF86TouchpadToggle NoSymbol XF86TouchpadToggle
keycode <span class="org-highlight-numbers-number">200</span> = XF86TouchpadOn NoSymbol XF86TouchpadOn
keycode <span class="org-highlight-numbers-number">201</span> = XF86TouchpadOff NoSymbol XF86TouchpadOff
keycode <span class="org-highlight-numbers-number">202</span> =
keycode <span class="org-highlight-numbers-number">203</span> = Mode_switch NoSymbol Mode_switch
keycode <span class="org-highlight-numbers-number">204</span> = NoSymbol Alt_L NoSymbol Alt_L
keycode <span class="org-highlight-numbers-number">205</span> = NoSymbol Meta_L NoSymbol Meta_L
keycode <span class="org-highlight-numbers-number">206</span> = NoSymbol Super_L NoSymbol Super_L
keycode <span class="org-highlight-numbers-number">207</span> = NoSymbol Hyper_L NoSymbol Hyper_L
keycode <span class="org-highlight-numbers-number">208</span> = XF86AudioPlay NoSymbol XF86AudioPlay
keycode <span class="org-highlight-numbers-number">209</span> = XF86AudioPause NoSymbol XF86AudioPause
keycode <span class="org-highlight-numbers-number">210</span> = XF86Launch3 NoSymbol XF86Launch3
keycode <span class="org-highlight-numbers-number">211</span> = XF86Launch4 NoSymbol XF86Launch4
keycode <span class="org-highlight-numbers-number">212</span> = XF86LaunchB NoSymbol XF86LaunchB
keycode <span class="org-highlight-numbers-number">213</span> = XF86Suspend NoSymbol XF86Suspend
keycode <span class="org-highlight-numbers-number">214</span> = XF86Close NoSymbol XF86Close
keycode <span class="org-highlight-numbers-number">215</span> = XF86AudioPlay NoSymbol XF86AudioPlay
keycode <span class="org-highlight-numbers-number">216</span> = XF86AudioForward NoSymbol XF86AudioForward
keycode <span class="org-highlight-numbers-number">217</span> =
keycode <span class="org-highlight-numbers-number">218</span> = Print NoSymbol Print
keycode <span class="org-highlight-numbers-number">219</span> =
keycode <span class="org-highlight-numbers-number">220</span> = XF86WebCam NoSymbol XF86WebCam
keycode <span class="org-highlight-numbers-number">221</span> =
keycode <span class="org-highlight-numbers-number">222</span> =
keycode <span class="org-highlight-numbers-number">223</span> = XF86Mail NoSymbol XF86Mail
keycode <span class="org-highlight-numbers-number">224</span> = XF86Messenger NoSymbol XF86Messenger
keycode <span class="org-highlight-numbers-number">225</span> = XF86Search NoSymbol XF86Search
keycode <span class="org-highlight-numbers-number">226</span> = XF86Go NoSymbol XF86Go
keycode <span class="org-highlight-numbers-number">227</span> = XF86Finance NoSymbol XF86Finance
keycode <span class="org-highlight-numbers-number">228</span> = XF86Game NoSymbol XF86Game
keycode <span class="org-highlight-numbers-number">229</span> = XF86Shop NoSymbol XF86Shop
keycode <span class="org-highlight-numbers-number">230</span> =
keycode <span class="org-highlight-numbers-number">231</span> = Cancel NoSymbol Cancel
keycode <span class="org-highlight-numbers-number">232</span> = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
keycode <span class="org-highlight-numbers-number">233</span> = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp
keycode <span class="org-highlight-numbers-number">234</span> = XF86AudioMedia NoSymbol XF86AudioMedia
keycode <span class="org-highlight-numbers-number">235</span> = XF86Display NoSymbol XF86Display
keycode <span class="org-highlight-numbers-number">236</span> = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff
keycode <span class="org-highlight-numbers-number">237</span> = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown
keycode <span class="org-highlight-numbers-number">238</span> = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp
keycode <span class="org-highlight-numbers-number">239</span> = XF86Send NoSymbol XF86Send
keycode <span class="org-highlight-numbers-number">240</span> = XF86Reply NoSymbol XF86Reply
keycode <span class="org-highlight-numbers-number">241</span> = XF86MailForward NoSymbol XF86MailForward
keycode <span class="org-highlight-numbers-number">242</span> = XF86Save NoSymbol XF86Save
keycode <span class="org-highlight-numbers-number">243</span> = XF86Documents NoSymbol XF86Documents
keycode <span class="org-highlight-numbers-number">244</span> = XF86Battery NoSymbol XF86Battery
keycode <span class="org-highlight-numbers-number">245</span> = XF86Bluetooth NoSymbol XF86Bluetooth
keycode <span class="org-highlight-numbers-number">246</span> = XF86WLAN NoSymbol XF86WLAN
keycode <span class="org-highlight-numbers-number">247</span> =
keycode <span class="org-highlight-numbers-number">248</span> = XF86Display NoSymbol XF86Display
keycode <span class="org-highlight-numbers-number">249</span> =
keycode <span class="org-highlight-numbers-number">250</span> =
keycode <span class="org-highlight-numbers-number">251</span> =
keycode <span class="org-highlight-numbers-number">252</span> =
keycode <span class="org-highlight-numbers-number">253</span> =
keycode <span class="org-highlight-numbers-number">254</span> = XF86WWAN NoSymbol XF86WWAN
keycode <span class="org-highlight-numbers-number">255</span> = XF86RFKill NoSymbol XF86RFKill
<pre class="src src-conf">keycode 8 =
keycode 9 = Escape NoSymbol Escape
keycode 10 = 1 exclam 1 exclam
keycode 11 = 2 at 2 at
keycode 12 = 3 numbersign 3 numbersign
keycode 13 = 4 dollar 4 dollar
keycode 14 = 5 percent 5 percent
keycode 15 = 6 asciicircum 6 asciicircum
keycode 16 = 7 ampersand 7 ampersand
keycode 17 = 8 asterisk 8 asterisk
keycode 18 = 9 parenleft 9 parenleft
keycode 19 = 0 parenright 0 parenright
keycode 20 = minus underscore minus underscore
keycode 21 = equal plus equal plus
keycode 22 = BackSpace BackSpace BackSpace BackSpace
keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab
keycode 24 = q Q q Q
keycode 25 = w W w W
keycode 26 = e E e E
keycode 27 = r R r R
keycode 28 = t T t T
keycode 29 = y Y y Y
keycode 30 = u U u U
keycode 31 = i I i I
keycode 32 = o O o O
keycode 33 = p P p P
keycode 34 = bracketleft braceleft bracketleft braceleft
keycode 35 = bracketright braceright bracketright braceright
keycode 36 = Return NoSymbol Return
keycode 37 = Control_L NoSymbol Control_L
keycode 38 = a A a A
keycode 39 = s S s S
keycode 40 = d D d D
keycode 41 = f F f F
keycode 42 = g G g G
keycode 43 = h H h H
keycode 44 = j J j J
keycode 45 = k K k K
keycode 46 = l L l L
keycode 47 = semicolon colon semicolon colon
keycode 48 = apostrophe quotedbl apostrophe quotedbl
keycode 49 = grave asciitilde grave asciitilde
keycode 50 = Shift_L NoSymbol Shift_L
keycode 51 = backslash bar backslash bar
keycode 52 = z Z z Z
keycode 53 = x X x X
keycode 54 = c C c C
keycode 55 = v V v V
keycode 56 = b B b B
keycode 57 = n N n N
keycode 58 = m M m M
keycode 59 = comma less comma less
keycode 60 = period greater period greater
keycode 61 = slash question slash question
keycode 62 = Shift_R NoSymbol Shift_R
keycode 63 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab
keycode 64 = Alt_L Meta_L Alt_L Meta_L
keycode 65 = space NoSymbol space
keycode 66 = Caps_Lock NoSymbol Caps_Lock
keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
keycode 76 = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10
keycode 77 = Num_Lock NoSymbol Num_Lock
keycode 78 = Scroll_Lock NoSymbol Scroll_Lock
keycode 79 = KP_Home KP_7 KP_Home KP_7
keycode 80 = KP_Up KP_8 KP_Up KP_8
keycode 81 = KP_Prior KP_9 KP_Prior KP_9
keycode 82 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode
keycode 83 = KP_Left KP_4 KP_Left KP_4
keycode 84 = KP_Begin KP_5 KP_Begin KP_5
keycode 85 = KP_Right KP_6 KP_Right KP_6
keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode
keycode 87 = KP_End KP_1 KP_End KP_1
keycode 88 = KP_Down KP_2 KP_Down KP_2
keycode 89 = KP_Next KP_3 KP_Next KP_3
keycode 90 = KP_Insert KP_0 KP_Insert KP_0
keycode 91 = KP_Delete KP_Decimal KP_Delete KP_Decimal
keycode 92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
keycode 93 =
keycode 94 = less greater less greater bar brokenbar bar
keycode 95 = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11
keycode 96 = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12
keycode 97 =
keycode 98 = Katakana NoSymbol Katakana
keycode 99 = Hiragana NoSymbol Hiragana
keycode 100 = Henkan_Mode NoSymbol Henkan_Mode
keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana
keycode 102 = Muhenkan NoSymbol Muhenkan
keycode 103 =
keycode 104 = KP_Enter NoSymbol KP_Enter
keycode 105 = Control_R NoSymbol Control_R
keycode 106 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab
keycode 107 = Print Sys_Req Print Sys_Req
keycode 108 = Alt_R Meta_R Alt_R Meta_R
keycode 109 = Linefeed NoSymbol Linefeed
keycode 110 = Home NoSymbol Home
keycode 111 = Up NoSymbol Up
keycode 112 = Prior NoSymbol Prior
keycode 113 = Left NoSymbol Left
keycode 114 = Right NoSymbol Right
keycode 115 = End NoSymbol End
keycode 116 = Down NoSymbol Down
keycode 117 = Next NoSymbol Next
keycode 118 = Insert NoSymbol Insert
keycode 119 = Delete NoSymbol Delete
keycode 120 =
keycode 121 = XF86AudioMute NoSymbol XF86AudioMute
keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume
keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume
keycode 124 = XF86PowerOff NoSymbol XF86PowerOff
keycode 125 = KP_Equal NoSymbol KP_Equal
keycode 126 = plusminus NoSymbol plusminus
keycode 127 = Pause Break Pause Break
keycode 128 = XF86LaunchA NoSymbol XF86LaunchA
keycode 129 = KP_Decimal KP_Decimal KP_Decimal KP_Decimal
keycode 130 = Hangul NoSymbol Hangul
keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja
keycode 132 =
keycode 133 =
keycode 134 = Super_R NoSymbol Super_R
keycode 135 = Menu NoSymbol Menu
keycode 136 = Cancel NoSymbol Cancel
keycode 137 = Redo NoSymbol Redo
keycode 138 = SunProps NoSymbol SunProps
keycode 139 = Undo NoSymbol Undo
keycode 140 = SunFront NoSymbol SunFront
keycode 141 = XF86Copy NoSymbol XF86Copy
keycode 142 = XF86Open NoSymbol XF86Open
keycode 143 = XF86Paste NoSymbol XF86Paste
keycode 144 = Find NoSymbol Find
keycode 145 = XF86Cut NoSymbol XF86Cut
keycode 146 = Help NoSymbol Help
keycode 147 = xf86menukb nosymbol xf86menukb
keycode 148 = XF86Calculator NoSymbol XF86Calculator
keycode 149 =
keycode 150 = XF86Sleep NoSymbol XF86Sleep
keycode 151 = XF86WakeUp NoSymbol XF86WakeUp
keycode 152 = XF86Explorer NoSymbol XF86Explorer
keycode 153 = XF86Send NoSymbol XF86Send
keycode 154 =
keycode 155 = XF86Xfer NoSymbol XF86Xfer
keycode 156 = XF86Launch1 NoSymbol XF86Launch1
keycode 157 = XF86Launch2 NoSymbol XF86Launch2
keycode 158 = XF86WWW NoSymbol XF86WWW
keycode 159 = XF86DOS NoSymbol XF86DOS
keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver
keycode 161 = XF86RotateWindows NoSymbol XF86RotateWindows
keycode 162 = XF86TaskPane NoSymbol XF86TaskPane
keycode 163 = XF86Mail NoSymbol XF86Mail
keycode 164 = XF86Favorites NoSymbol XF86Favorites
keycode 165 = XF86MyComputer NoSymbol XF86MyComputer
keycode 166 = XF86Back NoSymbol XF86Back
keycode 167 = XF86Forward NoSymbol XF86Forward
keycode 168 =
keycode 169 = XF86Eject NoSymbol XF86Eject
keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject
keycode 171 = XF86AudioNext NoSymbol XF86AudioNext
keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause
keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev
keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject
keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord
keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind
keycode 177 = XF86Phone NoSymbol XF86Phone
keycode 178 =
keycode 179 = XF86Tools NoSymbol XF86Tools
keycode 180 = XF86HomePage NoSymbol XF86HomePage
keycode 181 = XF86Reload NoSymbol XF86Reload
keycode 182 = XF86Close NoSymbol XF86Close
keycode 183 =
keycode 184 =
keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp
keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown
keycode 187 = parenleft NoSymbol parenleft
keycode 188 = parenright NoSymbol parenright
keycode 189 = XF86New NoSymbol XF86New
keycode 190 = Redo NoSymbol Redo
keycode 191 = XF86Tools NoSymbol XF86Tools
keycode 192 = XF86Launch5 NoSymbol XF86Launch5
keycode 193 = XF86Launch6 NoSymbol XF86Launch6
keycode 194 = XF86Launch7 NoSymbol XF86Launch7
keycode 195 = XF86Launch8 NoSymbol XF86Launch8
keycode 196 = XF86Launch9 NoSymbol XF86Launch9
keycode 197 =
keycode 198 = XF86AudioMicMute NoSymbol XF86AudioMicMute
keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle
keycode 200 = XF86TouchpadOn NoSymbol XF86TouchpadOn
keycode 201 = XF86TouchpadOff NoSymbol XF86TouchpadOff
keycode 202 =
keycode 203 = Mode_switch NoSymbol Mode_switch
keycode 204 = NoSymbol Alt_L NoSymbol Alt_L
keycode 205 = NoSymbol Meta_L NoSymbol Meta_L
keycode 206 = NoSymbol Super_L NoSymbol Super_L
keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L
keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay
keycode 209 = XF86AudioPause NoSymbol XF86AudioPause
keycode 210 = XF86Launch3 NoSymbol XF86Launch3
keycode 211 = XF86Launch4 NoSymbol XF86Launch4
keycode 212 = XF86LaunchB NoSymbol XF86LaunchB
keycode 213 = XF86Suspend NoSymbol XF86Suspend
keycode 214 = XF86Close NoSymbol XF86Close
keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay
keycode 216 = XF86AudioForward NoSymbol XF86AudioForward
keycode 217 =
keycode 218 = Print NoSymbol Print
keycode 219 =
keycode 220 = XF86WebCam NoSymbol XF86WebCam
keycode 221 =
keycode 222 =
keycode 223 = XF86Mail NoSymbol XF86Mail
keycode 224 = XF86Messenger NoSymbol XF86Messenger
keycode 225 = XF86Search NoSymbol XF86Search
keycode 226 = XF86Go NoSymbol XF86Go
keycode 227 = XF86Finance NoSymbol XF86Finance
keycode 228 = XF86Game NoSymbol XF86Game
keycode 229 = XF86Shop NoSymbol XF86Shop
keycode 230 =
keycode 231 = Cancel NoSymbol Cancel
keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp
keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia
keycode 235 = XF86Display NoSymbol XF86Display
keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff
keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown
keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp
keycode 239 = XF86Send NoSymbol XF86Send
keycode 240 = XF86Reply NoSymbol XF86Reply
keycode 241 = XF86MailForward NoSymbol XF86MailForward
keycode 242 = XF86Save NoSymbol XF86Save
keycode 243 = XF86Documents NoSymbol XF86Documents
keycode 244 = XF86Battery NoSymbol XF86Battery
keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth
keycode 246 = XF86WLAN NoSymbol XF86WLAN
keycode 247 =
keycode 248 = XF86Display NoSymbol XF86Display
keycode 249 =
keycode 250 =
keycode 251 =
keycode 252 =
keycode 253 =
keycode 254 = XF86WWAN NoSymbol XF86WWAN
keycode 255 = XF86RFKill NoSymbol XF86RFKill
</pre>
</div>
</div>
@ -612,7 +402,7 @@ keycode <span class="org-highlight-numbers-number">255</span> = XF86RFKill NoSym
Fix for Matlab.
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">_JAVA_AWT_WM_NONREPARENTING</span>=<span class="org-highlight-numbers-number">1</span>
<pre class="src src-bash">export _JAVA_AWT_WM_NONREPARENTING=1
</pre>
</div>
@ -628,31 +418,31 @@ Set <code>DISPLAY</code> for <code>dunst</code> when started with <code>systemd<
Merge in defaults and keymaps
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">userresources</span>=$<span class="org-variable-name">HOME</span>/.Xresources
<span class="org-variable-name">usermodmap</span>=$<span class="org-variable-name">HOME</span>/.Xmodmap
<span class="org-variable-name">sysresources</span>=/etc/X11/xinit/.Xresources
<span class="org-variable-name">sysmodmap</span>=/etc/X11/xinit/.Xmodmap
<pre class="src src-bash">userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -f $<span class="org-variable-name">sysresources</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
xrdb -merge $<span class="org-variable-name">sysresources</span>
<span class="org-keyword">fi</span>
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -f $<span class="org-variable-name">sysmodmap</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
xmodmap $<span class="org-variable-name">sysmodmap</span>
<span class="org-keyword">fi</span>
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -f <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">userresources</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
xrdb -merge <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">userresources</span></span><span class="org-string">"</span>
<span class="org-keyword">fi</span>
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -f <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">usermodmap</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
xmodmap <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">usermodmap</span></span><span class="org-string">"</span>
<span class="org-keyword">fi</span>
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span> -f ~/.xprofile <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.xprofile
<pre class="src src-bash">[ -f ~/.xprofile ] &amp;&amp; . ~/.xprofile
</pre>
</div>
</div>
@ -665,9 +455,10 @@ Merge in defaults and keymaps
Keyboard Options
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Set repetition keyboard rate</span>
xset r rate <span class="org-highlight-numbers-number">200</span> <span class="org-highlight-numbers-number">40</span> &amp;
<span class="org-comment-delimiter"># </span><span class="org-comment">Set International US keyboard layout</span>
<pre class="src src-bash"># Set repetition keyboard rate
xset r rate 200 40 &amp;
# Set International US keyboard layout
setxkbmap -layout us -variant intl -option caps:escape &amp;
</pre>
</div>
@ -676,24 +467,24 @@ setxkbmap -layout us -variant intl -option caps:escape &amp;
Start programs related to display.
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Screen options</span>
xrandr --output eDP1 --mode 1920x1080 --dpi <span class="org-highlight-numbers-number">192</span> &amp;
<pre class="src src-bash"># Screen options
xrandr --output eDP1 --mode 1920x1080 --dpi 192 &amp;
<span class="org-comment-delimiter"># </span><span class="org-comment">Set custom wallpaper script</span>
# Set custom wallpaper script
setbg &amp;
<span class="org-comment-delimiter"># </span><span class="org-comment">Hide mouse cursor after x seconds</span>
<span class="org-type">pgrep</span> -xu <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">USER</span></span><span class="org-string">"</span> unclutter &gt;/dev/null || <span class="org-sh-escaped-newline">\</span>
unclutter --timeout <span class="org-highlight-numbers-number">5</span> &amp;
# Hide mouse cursor after x seconds
pgrep -xu "$USER" unclutter &gt;/dev/null || \
unclutter --timeout 5 &amp;
<span class="org-comment-delimiter"># </span><span class="org-comment">Autolock screen after x minutes</span>
xautolock -locker <span class="org-string">"~/scripts/lockscreen.sh"</span> -detectsleep -time <span class="org-highlight-numbers-number">30</span> -notify <span class="org-highlight-numbers-number">60</span> -notifier <span class="org-string">"dunstify --replace=31846 -u critical -t 10000 -- 'Locking Screen' '60 seconds'"</span> &amp;
# Autolock screen after x minutes
xautolock -locker "~/.local/bin/lockscreen" -detectsleep -time 30 -notify 60 -notifier "dunstify --replace=31846 -u critical -t 10000 -- 'Locking Screen' '60 seconds'" &amp;
<span class="org-comment-delimiter"># </span><span class="org-comment">Redshift</span>
<span class="org-type">pgrep</span> -xu <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">USER</span></span><span class="org-string">"</span> redshift &gt;/dev/null || <span class="org-sh-escaped-newline">\</span>
# Redshift
pgrep -xu "$USER" redshift &gt;/dev/null || \
redshift &amp;
<span class="org-comment-delimiter"># </span><span class="org-comment">Run Picom (compositor)</span>
# Run Picom (compositor)
picom --daemon &amp;
</pre>
</div>
@ -702,26 +493,33 @@ picom --daemon &amp;
Start the applications related to the top bar (polybar + applet).
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Start Network Management Framework</span>
nm-applet &amp;
<pre class="src src-bash"># Start Network Management Framework
# nm-applet &amp;
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Power Manager</span>
xfce4-power-manager &amp;
# Bluetooth Manager
# blueman-applet &amp;
<span class="org-comment-delimiter"># </span><span class="org-comment">Bluetooth Manager</span>
blueman-applet &amp;
<span class="org-comment-delimiter"># </span><span class="org-comment">Synology Cloud Station Drive</span>
# Synology Cloud Station Drive
synology-drive &amp;
<span class="org-comment-delimiter"># </span><span class="org-comment">Udiskie to automount usb keys</span>
<span class="org-type">pgrep</span> -xu <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">USER</span></span><span class="org-string">"</span> udiskie &gt;/dev/null || <span class="org-sh-escaped-newline">\</span>
# Udiskie to automount usb keys
pgrep -xu "$USER" udiskie &gt;/dev/null || \
udiskie --automount --notify --tray &amp;
</pre>
</div>
<p>
Start other applications
</p>
<div class="org-src-container">
<pre class="src src-bash">mopidy --config ~/.config/mopidy/mopidy.conf &gt;/dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span> &amp;
<pre class="src src-bash"># Start Power Manager
xfce4-power-manager &amp;
# Aria2c daemon
aria2c &amp;
# Mopidy
mopidy --config ~/.config/mopidy/mopidy.conf &gt;/dev/null 2&gt;&amp;1 &amp;
</pre>
</div>
@ -729,9 +527,9 @@ synology-drive &amp;
Finally, run SXHKD for the key bindings.
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Start sxhkd</span>
<span class="org-type">pgrep</span> -xu <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">USER</span></span><span class="org-string">"</span> sxhkd &gt;/dev/null || <span class="org-sh-escaped-newline">\</span>
sxhkd -m <span class="org-highlight-numbers-number">1</span> -c ~/.config/sxhkd/sxhkdrc &amp;
<pre class="src src-bash"># Start sxhkd
pgrep -xu "$USER" sxhkd &gt;/dev/null || \
sxhkd -m 1 -c ~/.config/sxhkd/sxhkdrc &amp;
</pre>
</div>
</div>
@ -739,7 +537,7 @@ Finally, run SXHKD for the key bindings.
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-04-05 dim. 11:29</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p>
</div>
</body>
</html>