literate-dotfiles/docs/xconfig.html

562 lines
40 KiB
HTML
Raw Normal View History

2020-01-11 22:04:45 +01:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
2021-04-25 19:10:57 +02:00
<!-- 2021-04-25 dim. 19:10 -->
2020-01-11 22:04:45 +01:00
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Configuration Files related to Xorg</title>
<meta name="author" content="Dehaeze Thomas" />
2021-04-25 19:10:57 +02:00
<meta name="generator" content="Org Mode" />
2021-01-01 20:12:34 +01:00
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
<script type="text/javascript" src="./dist/script.js"></script>
2020-01-11 22:04:45 +01:00
</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">Configuration Files related to Xorg</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#xresources"><code>~/.Xresources</code></a>
2020-01-11 22:04:45 +01:00
<ul>
2021-01-01 20:12:34 +01:00
<li><a href="#orgff42f84">Colors</a></li>
<li><a href="#orgabc7947">Fonts</a></li>
<li><a href="#org8a5f615">Cursor</a></li>
2020-01-11 22:04:45 +01:00
</ul>
</li>
2021-01-01 20:12:34 +01:00
<li><a href="#xmodmap"><code>~/.Xmodmap</code></a></li>
<li><a href="#xinitrc"><code>~/.xinitrc</code></a></li>
<li><a href="#xprofile"><code>~/.xprofile</code></a></li>
2020-01-11 22:04:45 +01:00
</ul>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-xresources" class="outline-2">
<h2 id="xresources"><code>~/.Xresources</code></h2>
<div class="outline-text-2" id="text-xresources">
2020-01-11 22:04:45 +01:00
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgff42f84" class="outline-3">
<h3 id="orgff42f84">Colors</h3>
<div class="outline-text-3" id="text-orgff42f84">
2020-01-11 22:04:45 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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>
2020-01-11 22:04:45 +01:00
*foreground: base05
2020-11-03 16:27:09 +01:00
<span class="org-comment-delimiter">#</span><span class="org-comment">ifdef background_opacity</span>
2020-01-11 22:04:45 +01:00
*background: [background_opacity]base00
2020-11-03 16:27:09 +01:00
<span class="org-comment-delimiter">#</span><span class="org-comment">else</span>
2020-01-11 22:04:45 +01:00
*background: base00
2020-11-03 16:27:09 +01:00
<span class="org-comment-delimiter">#</span><span class="org-comment">endif</span>
2020-01-11 22:04:45 +01:00
*cursorColor: base05
*color0: base00
*color1: base08
*color2: base0B
*color3: base0A
*color4: base0D
*color5: base0E
*color6: base0C
*color7: base05
*color8: base03
*color9: base08
*color10: base0B
*color11: base0A
*color12: base0D
*color13: base0E
*color14: base0C
*color15: base07
2020-11-03 16:27:09 +01:00
! 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
2020-01-11 22:04:45 +01:00
*color16: base09
*color17: base0F
*color18: base01
*color19: base02
*color20: base04
*color21: base06
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-orgabc7947" class="outline-3">
<h3 id="orgabc7947">Fonts</h3>
<div class="outline-text-3" id="text-orgabc7947">
2020-01-11 22:04:45 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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>
2020-01-11 22:04:45 +01:00
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
2020-11-03 16:27:09 +01:00
Xft.hinting: <span class="org-highlight-numbers-number">1</span>
Xft.antialias: <span class="org-highlight-numbers-number">1</span>
2020-01-11 22:04:45 +01:00
Xft.rgba: rgb
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-org8a5f615" class="outline-3">
<h3 id="org8a5f615">Cursor</h3>
<div class="outline-text-3" id="text-org8a5f615">
2020-01-11 22:04:45 +01:00
<div class="org-src-container">
<pre class="src src-conf">Xcursor.theme: Breeze
2020-11-03 16:27:09 +01:00
Xcursor.size: <span class="org-highlight-numbers-number">0</span>
2020-01-11 22:04:45 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-xmodmap" class="outline-2">
<h2 id="xmodmap"><code>~/.Xmodmap</code></h2>
<div class="outline-text-2" id="text-xmodmap">
2020-01-11 22:04:45 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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
2020-01-11 22:04:45 +01:00
</pre>
</div>
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-xinitrc" class="outline-2">
<h2 id="xinitrc"><code>~/.xinitrc</code></h2>
<div class="outline-text-2" id="text-xinitrc">
2020-01-11 22:04:45 +01:00
<div class="org-src-container">
<pre class="src src-bash">dbus-update-activation-environment --systemd DISPLAY
</pre>
</div>
<p>
Fix for Matlab.
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">_JAVA_AWT_WM_NONREPARENTING</span>=<span class="org-highlight-numbers-number">1</span>
2020-01-11 22:04:45 +01:00
</pre>
</div>
2020-01-28 21:32:38 +01:00
<p>
Set <code>DISPLAY</code> for <code>dunst</code> when started with <code>systemd</code>.
</p>
<div class="org-src-container">
<pre class="src src-bash">systemctl --user import-environment DISPLAY
</pre>
</div>
2020-01-11 22:04:45 +01:00
<p>
Merge in defaults and keymaps
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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
<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>
<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>
<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>
<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>
2020-01-11 22:04:45 +01:00
</pre>
</div>
2021-01-01 20:12:34 +01:00
<p>
Start <code>gnome-keyring-daemon</code>.
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">eval</span> $<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">gnome-keyring-daemon</span> --start --components=pkcs11,secrets,ssh<span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-builtin">export</span> SSH_AUTH_SOCK
</pre>
</div>
2020-01-11 22:04:45 +01:00
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<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
2020-01-11 22:04:45 +01:00
</pre>
</div>
2021-01-01 20:12:34 +01:00
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">exec</span> i3
</pre>
</div>
2020-01-11 22:04:45 +01:00
</div>
</div>
2021-01-01 20:12:34 +01:00
<div id="outline-container-xprofile" class="outline-2">
<h2 id="xprofile"><code>~/.xprofile</code></h2>
<div class="outline-text-2" id="text-xprofile">
2020-01-11 22:04:45 +01:00
<p>
2021-01-01 20:12:34 +01:00
Keyboard Options:
2020-01-11 22:04:45 +01:00
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">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;
2020-05-26 08:40:15 +02:00
2020-11-03 16:27:09 +01:00
<span class="org-comment-delimiter"># </span><span class="org-comment">Set International US keyboard layout</span>
2020-01-11 22:04:45 +01:00
setxkbmap -layout us -variant intl -option caps:escape &amp;
</pre>
</div>
<p>
2021-01-01 20:12:34 +01:00
Start programs related to display:
2020-01-11 22:04:45 +01:00
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Screen options</span>
xrandr --output eDP1 --mode 1920x1080 --dpi <span class="org-highlight-numbers-number">192</span> &amp;
2020-01-11 22:04:45 +01:00
2021-01-01 20:12:34 +01:00
<span class="org-comment-delimiter"># </span><span class="org-comment">Set random wallpaper</span>
setbg ~/.local/data/wallpapers/ &amp;
2020-01-11 22:04:45 +01:00
2020-11-03 16:27:09 +01:00
<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;
2020-01-11 22:04:45 +01:00
2020-11-03 16:27:09 +01:00
<span class="org-comment-delimiter"># </span><span class="org-comment">Autolock screen after x minutes</span>
xautolock -locker <span class="org-string">"~/.local/bin/lockscreen"</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;
2020-01-11 22:04:45 +01:00
2020-11-03 16:27:09 +01:00
<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>
2020-01-11 22:04:45 +01:00
redshift &amp;
2020-11-03 16:27:09 +01:00
<span class="org-comment-delimiter"># </span><span class="org-comment">Run Picom (compositor)</span>
2020-01-11 22:04:45 +01:00
picom --daemon &amp;
</pre>
</div>
<p>
2021-01-01 20:12:34 +01:00
Manually start <code>mopidy</code> as it seems to not start automatically:
2020-01-11 22:04:45 +01:00
</p>
<div class="org-src-container">
2021-01-01 20:12:34 +01:00
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Mopidy</span>
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;
2020-03-01 22:51:16 +01:00
</pre>
</div>
2021-04-25 19:10:57 +02:00
<p>
Configuration for the HUION Inspiroy Ink H320M graphical tablet (<a href="tablet.html">Tablet config</a>):
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Lock cursor in first display. Change HEAD number to use a different displace</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">xsetwacom set "HUION Huion Tablet_H320M Pen stylus" MapToOutput "HEAD-0"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Pen Buttons</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pen stylus"</span> button <span class="org-highlight-numbers-number">1</span> <span class="org-highlight-numbers-number">1</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Left click</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pen stylus"</span> button <span class="org-highlight-numbers-number">2</span> <span class="org-highlight-numbers-number">2</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Right click</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pen stylus"</span> button <span class="org-highlight-numbers-number">3</span> <span class="org-highlight-numbers-number">3</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Middle click</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Tablet Buttons</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Top Buttons</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">1</span> key Ctrl T <span class="org-comment-delimiter"># </span><span class="org-comment">Tools</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">2</span> key Ctrl Shift A <span class="org-comment-delimiter"># </span><span class="org-comment">Hand Tool</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">3</span> key Ctrl Shift D <span class="org-comment-delimiter"># </span><span class="org-comment">Default Tool</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Round Buttons (Top, Bottom, Middle, Left, Right)</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">8</span> key Ctrl Shift + <span class="org-comment-delimiter"># </span><span class="org-comment">Zoom</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">9</span> key Ctrl - <span class="org-comment-delimiter"># </span><span class="org-comment">Unzoom</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">10</span> key Ctrl S <span class="org-comment-delimiter"># </span><span class="org-comment">Save</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">11</span> key Ctrl Z <span class="org-comment-delimiter"># </span><span class="org-comment">Undo</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">12</span> key Ctrl Shift Z <span class="org-comment-delimiter"># </span><span class="org-comment">Redo</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Bottom Buttons</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">13</span> key Ctrl Shift O <span class="org-comment-delimiter"># </span><span class="org-comment">Select</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">14</span> key Ctrl <span class="org-comment-delimiter"># </span><span class="org-comment">Ctrl (Color Picker, Zoom)</span>
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">15</span> key Ctrl Q <span class="org-comment-delimiter"># </span><span class="org-comment">Quit</span>
</pre>
</div>
2020-01-11 22:04:45 +01:00
<p>
2021-01-01 20:12:34 +01:00
Finally, run SXHKD for the key bindings:
2020-01-11 22:04:45 +01:00
</p>
<div class="org-src-container">
2020-11-03 16:27:09 +01:00
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">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;
2020-01-11 22:04:45 +01:00
</pre>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
2021-04-25 19:10:57 +02:00
<p class="date">Created: 2021-04-25 dim. 19:10</p>
2020-01-11 22:04:45 +01:00
</div>
</body>
</html>