add talks and note on student topics
[martlubbers.net.git] / _posts / en / 2021-06-16-dvorak.md
1 ---
2 layout: post
3 title: Dvorak resources
4 date: 2021-06-16
5 language: en
6 language_reference: dvorak
7 published: true
8 ---
9
10
11 Since about 2011 I've started using dvorak as my main keyboard layout and like the efficiency compared to QWERTY.
12
13 {% include toc.html %}
14
15 ## Notes
16 ### Note to self (2015-10-30)
17 Note to self: x-keyboard-config on arch linux overwrites the
18 file where the dvorak russian keymap is stored and by that the
19 xserver fails to set the keymap, returning to default qwerty.
20 This can be solved by loading the keymap from a custom
21 location? Or maybe to pin the file so that the package manager
22 doesn't overwrite it?
23
24 ## Dosbox
25 Dvorak is also usable in dosbox via a custom mapper file that your can find [here](files/dvorak-0.74.map)
26 You can enable the layout by saving this in your settings directory and `mapperfile=dvorak-0.74.map` to your sdl section of your dosbox config.
27
28 ### Update (2020-06-11)
29 Dvorak is now built in as a keymap in dosbox.
30 You can enable the layout by running `KEYB dv103` in a dosbox
31 prompt or setting the following in your dosbox config file.
32
33 ```
34 [dos]
35 keyboardlayout=dv103
36 ```
37
38 ## Dvorak in dos
39 To use dvorak in dos download this [file](files/dvorak_dos.tar) containing dvorak.com
40 Transfer it to your C:\DOS folder for example and add this to your AUTOEXEC.bat:
41
42 ```
43 C:\DOS\DVORAK.COM
44 ```
45
46 When your computer boots the program will say DVORAK is loaded and you're good to go
47
48 The MS-DOS supplemental disk also contains a dvorak keyboard layout. Install and put this in your AUTOEXEC.bat:
49 ```
50 KEYB DV,,C:\DOS\DVORAK.SYS
51 ```
52
53 ## Russian (2014-10-07
54 When learning russian I had to type some stuff in russian, as I found
55 out that there was a phonetic keyboard I was excited but it didn't work on
56 dvorak layout. So some guy named Oleg made a phonetic russian keyboard
57 layout in dvorak and you can download it
58 [here](files/phonetic_dvorak.gz). When you want to use it you
59 have to append the information from the file to
60 `/usr/share/X11//xkb/symbols/ru`
61 When you want to load it you can type
62 ```
63 setxkbmap -layout ru -variant phonetic_dvorak</pre>
64 ```
65
66 ### Update (2015-04-16)
67 Since having to setup the keyboard after login can be useful if you
68 don't have the rights to edit system configuration files on your system(eg.
69 work) but it's not a durable solution for your own system. If you want to
70 make these things semipermanent you can use the handy program called
71 [localectl](http://www.freedesktop.org/software/systemd/man/localectl.html)
72 which writes an xorg.conf.d/ file. In my specific case these are the
73 commands to set the keymap for the console and for within X. For the
74 console I only use normal dvorak whereas in X I want to be able to
75 switch(with menu key) and use the right alt as compose key.
76
77 ```
78 # localectl set-x11-keymap --no-convert dvorak,ru pc104 ,phonetic_dvorak compose:ralt,grp:menu_toggle
79 # localectl set-keymap --no-convert dvorak
80 ```