Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2013 13:10:51 GMT
From:      Graeme Geldenhuys <graeme@geldenhuys.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/178660: US Programmer Dvorak keyboard layout is broken
Message-ID:  <201305151310.r4FDApNn031223@oldred.FreeBSD.org>
Resent-Message-ID: <201305151320.r4FDK34e031737@freefall.freebsd.org>

index | next in thread | raw e-mail


>Number:         178660
>Category:       misc
>Synopsis:       US Programmer Dvorak keyboard layout is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 15 13:20:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Graeme Geldenhuys
>Release:        FreeBSD 9.1
>Organization:
>Environment:
FreeBSD graeme-desktop 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
I setup my X11 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.
>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)"


>Release-Note:
>Audit-Trail:
>Unformatted:


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305151310.r4FDApNn031223>