-<html>
+<!DOCTYPE html>
+<html lang="en">
<head>
<title>Dvorak resources</title>
- <link href="style.css" rel="stylesheet" type="text/css" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
- <p>Since about 2011 I've started using dvorak as my main keyboard layout and like the efficiency compared to QWERTY.</p>
+ <header>
+ <h1>Dvorak resources</h1>
+ <p>Since about 2011 I've started using dvorak as my main keyboard layout and like the efficiency compared to QWERTY.</p>
- <h2>Dvorak russian (2014-10-07)</h2>
+ <nav>
+ <p><a href="index.html">Home</a> > Dvorak resources</p>
+ <h2>Table of contents</h2>
+ <ul>
+ <li><a href="#notes">Notes</a>
+ <ul>
+ <li><a href="#xkeyb">Note to self (2015-10-30)</a></li>
+ </ul>
+ </li>
+ <li><a href="#dosbox">Dosbox</a>
+ <ul>
+ <li><a href="#dosboxupdate">Update (2020-06-11)</a></li>
+ </ul>
+ </li>
+ <li><a href="#dos">Dos</a></li>
+ <li><a href="#russian">Russian (2014-10-07)</a>
+ <ul>
+ <li><a href="#russianupdate">Update (2015-04-16)</a></li>
+ </ul>
+ </li>
+ <li><a href="#dosbox">Dvorak dosbox</a></li>
+ </ul>
+ </nav>
+ </header>
+ <h2 id="notes">Notes</h2>
+ <h3 id="xkeyb">Note to self (2015-10-30)</h3>
+ <p>Note to self: x-keyboard-config on arch linux overwrites the
+ file where the dvorak russian keymap is stored and by that the
+ xserver fails to set the keymap, returning to default qwerty.
+ This can be solved by loading the keymap from a custom
+ location? Or maybe to pin the file so that the package manager
+ doesn't overwrite it?</p>
+
+ <h2 id="dosbox">Dosbox</h2>
+ <p>Dvorak is also usable in dosbox via a custom mapper file that your can find <a href="files/dvorak-0.74.map">here</a><br />
+ You can enable the layout by saving this in your settings directory and <pre>mapperfile=dvorak-0.74.map</pre> to your sdl section of your dosbox config.</p>
+
+ <h3 id="dosboxupdate">Update (2020-06-11)</h3>
+ <p>Dvorak is now built in as a keymap in dosbox.
+ You can enable the layout by running <pre>KEYB dv103</pre> in a dosbox
+ prompt or setting the following in your dosbox config file.
+ </p>
+ <pre>
+[dos]
+keyboardlayout=dv103
+ </pre>
+
+ <h2 id="dos">Dvorak in dos</h2>
+ <p>To use dvorak in dos download this <a href="files/dvorak_dos.tar">file</a> containing dvorak.com<br />
+ Transfer it to your C:\DOS folder for example and add this to your AUTOEXEC.bat:</p>
+ <pre>C:\DOS\DVORAK.COM</pre>
+ <p>When your computer boots the program will say DVORAK is loaded and you're good to go</p>
+
+ <p>The MS-DOS supplemental disk also contains a dvorak keyboard layout. Install and put this in your AUTOEXEC.bat:</p>
+ <pre>KEYB DV,,C:\DOS\DVORAK.SYS</pre>
+
+ <h2 id="russian">Russian (2014-10-07</h2>
<p>When learning russian I had to type some stuff in russian, as I found
out that there was a phonetic keyboard I was excited but it didn't work on
dvorak layout. So some guy named Oleg made a phonetic russian keyboard
<pre>setxkbmap -layout ru -variant phonetic_dvorak</pre>
</p>
- <h2>Dvorak in dos</h2>
- <p>To use dvorak in dos download this <a href="files/dvorak_dos.tar">file</a> containing dvorak.com<br />
- Transfer it to your C:\DOS folder for example and add this to your AUTOEXEC.bat:
- <pre>C:\DOS\DVORAK.COM</pre>
- When your computer boots the program will say DVORAK is loaded and you're good to go</p>
-
- <h2>Dvorak in dosbox</h2>
- <p>Dvorak is also usable in dosbox via a custom mapper file that your can find <a href="files/dvorak-0.74.map">here</a><br />
- You can enable the layout by saving this in your settings directory and <pre>mapperfile=dvorak-0.74.map</pre> to your sdl section of your dosbox config.</p>
-
+ <h3 id="russianupdate">Update (2015-04-16)</h3>
+ <p>Since having to setup the keyboard after login can be useful if you
+ don't have the rights to edit system configuration files on your system(eg.
+ work) but it's not a durable solution for your own system. If you want to
+ make these things semipermanent you can use the handy program called
+ <a href="http://www.freedesktop.org/software/systemd/man/localectl.html">
+ localectl
+ </a> which writes an xorg.conf.d/ file. In my specific case these are the
+ commands to set the keymap for the console and for within X. For the
+ console I only use normal dvorak whereas in X I want to be able to
+ switch(with menu key) and use the right alt as compose key.
+ <pre>
+# localectl set-x11-keymap --no-convert dvorak,ru pc104 ,phonetic_dvorak compose:ralt,grp:menu_toggle
+# localectl set-keymap --no-convert dvorak
+ </pre>
+ </p>
</body>
</html>