Bug 64673 - US Programmer Dvorak keyboard layout is broken
Summary: US Programmer Dvorak keyboard layout is broken
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) FreeBSD
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-05-16 14:21 UTC by Graeme Geldenhuys
Modified: 2013-05-16 20:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Graeme Geldenhuys 2013-05-16 14:21:24 UTC
I setup my X11 (FreeBSD 9.1) to use the "US Programmer Dvorak" keyboard layout, but I found that the 3rd and 4th state of keys don't work. ie: pressing ralt
(AltGr) simply causes the system to beep and doesn't register as the AltGr key.

After looking at the /usr/local/share/X11/xkb/symbols/us file I found the problem. For the "dvp" layout, the following line was missing...

include "level3(ralt_switch)"

thus no AltGr support. Simply adding this line in, and restarting X11 the US Programmer Dvorak layout functioned correctly and I can easily type all the extra symbols like £¥ëê etc.

My system is using the xkeyboard-config-2.5.1 archive, which I believe contains the keyboard symbol files.


How-To-Repeat
--------------
Setup your X11's xorg.conf file as follows...

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbVariant" "dvp"
EndSection

Start X11 and try and type: RAlt+5 which should generate the  symbol.
It will not. Any key combination with RAlt or RAlt+Shift will not work,
until you apply the fix I mentioned earlier.


Fix
---
After looking at the /usr/local/share/X11/xkb/symbols/us file I found
the problem. For the "dvp" layout, the following line was missing...

include "level3(ralt_switch)"
Comment 1 Sergey V. Udaltsov 2013-05-16 20:46:28 UTC
ok, fair enough. fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.