看板 FB_bugs 關於我們 聯絡資訊
--===============5639864591716362939== Content-Type: text/plain >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: --===============5639864591716362939== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" --===============5639864591716362939==--