snipt

Ctrl+h for KB shortcuts

Text only

X11 - 2nd Session

X :2.0 vt2 2>&1 >/dev/null & xterm -display :2.0 -e startfluxbox
https://snipt.net/embed/8184066ee6774bb75bd61966a98138ae/
/raw/8184066ee6774bb75bd61966a98138ae/
8184066ee6774bb75bd61966a98138ae
text
Text only
1
2019-06-23T00:21:27
True
False
False
/api/public/snipt/35740/
x11-2nd-session
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>X :2.0 vt2 2&gt;&amp;1 &gt;/dev/null &amp; xterm -display :2.0 -e startfluxbox </span></pre></div> </td></tr></table>
display, x, x11

Bash

to change the caps_lock key under X edit the Xmodmap

1
2
3
4
! No Caps Lock
clear lock
! Caps Lock as mod4
add mod4 = Caps_Lock
https://snipt.net/embed/a98db07ff8ec1cb284b0670c2b47f9ed/
/raw/a98db07ff8ec1cb284b0670c2b47f9ed/
a98db07ff8ec1cb284b0670c2b47f9ed
bash
Bash
4
2019-06-24T19:59:39
True
False
False
/api/public/snipt/9031/
to-change-the-caps_lock-key-under-x-edit-the-xmodmap
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>! No Caps Lock </span><span id="L-2"><a name="L-2"></a>clear lock </span><span id="L-3"><a name="L-3"></a>! Caps Lock as mod4 </span><span id="L-4"><a name="L-4"></a>add <span class="nv">mod4</span> <span class="o">=</span> Caps_Lock </span></pre></div> </td></tr></table>
caps-lock, keyboard, x, xmodmap

Text only

X,gnome start/stop

1
2
3
/etc/init.d/gdm stop

/etc/init.d/gdm start
https://snipt.net/embed/bddebb008a593d8d1fa88ce431aacde5/
/raw/bddebb008a593d8d1fa88ce431aacde5/
bddebb008a593d8d1fa88ce431aacde5
text
Text only
3
2019-06-25T06:22:17
True
False
False
/api/public/snipt/6750/
xgnome-startstop
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>/etc/init.d/gdm stop </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>/etc/init.d/gdm start </span></pre></div> </td></tr></table>
gnome, ubuntu, x