You are not logged in.
Hi
I've created an alternative UK variant of the dvorak.map keymap found in /usr/share/kbd/keymaps/i386/dvorak/dvorak.map.gz. This keymap is in line with the wikipedia british english dvorak layout which looks like this:
This is the keymap that would be specified in /etc/rc.conf.
It wasn't clear to me which keymaps to use when configuring runlevel 3, the gnome 3 window manager, or GDM; below is what I finally used for each (after several days of pain...):
RunLevel 3
Copy the keymap linked above to /usr/share/kbd/keymaps/i386/dvorak/dvorakuk.map
In /etc/rc.conf, edit the KEYMAP line to read
KEYMAP="dvorakuk.map"
Gnome 3
System Settings>>Keyboard>>Typing>>Layout Settings
Click +
Select 'English (UK, Dvorak)'
#note that the keymap labelled as 'English (UK, Dvorak with UK Punctuation)' is very similar to the layout of classic dvorak with minimal movements to accommodate the sterling symbol. Unfortunately I have already configured my windows installation and keyboards at home and at work to use the wikipedia mapping above...
GDM
Edit /etc/X11/xorg.conf.d/10-evdev.conf
Make the section with the identifier labelled as evdev keyboard catchall as
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbLayout" "gb"
Option "XkbVariant" "dvorak"
#Option "XkbModel" "microsoft4000"
EndSection
The XkbModel line is optional; you can identify which keyboard models are available in the file found at /usr/share/X11/xkb/rules/evdev.lst
Hopefully someone else will also find this useful.
# dvorak uk layout
# adapted from dvorak keymap
# sterling added
# at and quotedbl switched
# numbersign and backslash moved
# 2012-04-02 21:36:11
#
keymaps 0-2,4-6,8-9,12
alt_is_meta
include "linux-with-alt-and-altgr.inc"
strings as usual
keycode 1 = Escape
keycode 2 = one exclam
keycode 3 = two quotedbl
keycode 4 = three sterling
keycode 5 = four dollar dollar Control_backslash
keycode 6 = five percent
control keycode 6 = Control_bracketright
keycode 7 = six asciicircum
control keycode 7 = Control_asciicircum
keycode 8 = seven ampersand Control_underscore
keycode 9 = eight asterisk bracketleft Delete
keycode 10 = nine parenleft bracketright
keycode 11 = zero parenright braceright
keycode 12 = bracketleft braceleft
control keycode 12 = Escape
keycode 13 = bracketright braceright Control_bracketright
keycode 14 = Delete
keycode 15 = Tab
shift keycode 15 = Meta_Tab
keycode 16 = apostrophe at
control keycode 16 = Control_g
keycode 17 = comma less
keycode 18 = period greater
keycode 19 = p
keycode 20 = y
keycode 21 = f
keycode 22 = g
keycode 23 = c
keycode 24 = r
keycode 25 = l
keycode 26 = slash question
control keycode 26 = Delete
keycode 27 = equal plus
keycode 28 = Return
alt keycode 28 = Meta_Control_m
keycode 29 = Control
keycode 30 = a
keycode 31 = o
keycode 32 = e
keycode 33 = u
keycode 34 = i
keycode 35 = d
keycode 36 = h
keycode 37 = t
keycode 38 = n
keycode 39 = s
keycode 40 = minus underscore backslash Control_underscore Control_underscore
keycode 41 = grave notsign bar nul
control keycode 41 = nul
keycode 42 = Shift
keycode 43 = numbersign asciitilde
control keycode 43 = Control_backslash
keycode 44 = semicolon colon
keycode 45 = q
keycode 46 = j
keycode 47 = k
keycode 48 = x
keycode 49 = b
keycode 50 = m
keycode 51 = w
keycode 52 = v
keycode 53 = z
keycode 54 = Shift
keycode 56 = Alt
keycode 57 = space
control keycode 57 = nul
keycode 58 = Caps_Lock
keycode 86 = backslash bar bar Control_backslash
keycode 97 = Control
If anyone can tell me how to suggest this variant be included in the default install, I would appreciate it...
Lee
Last edited by leejkennedy (2014-04-24 21:10:39)
Offline