id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	guest	host
2302	keys dead when remapped by xkb -> fixed in SVN	therp		Xorg supports remapping keys via xkb. A typical way would be:\r\n{{{\r\n                Option            "CoreKeyboard"\r\n                Option            "XkbRules"      "xorg"\r\n                Option            "XkbModel"      "pc105"\r\n                Option            "XkbLayout"    "us"\r\n                Option            "XkbOptions"  "therp:desktop"\r\n}}}\r\nAdditionally we put the following line into /etc/X11/xkb/rules/base (or xorg in the same dir):\r\n{{{\r\ntherp:desktop         =       +therp(desktop)\r\n}}}\r\nThis teaches Xorg to treat the option string "therp:desktop" namely by resolving it to +therp(desktop). \r\n\r\nFurther we need to add the line \r\n{{{\r\n--p----- -m------ therp(desktop)\r\n}}}\r\nto /etc/X11/xkb/symbols.dir\r\n\r\nAnd finally add a file called therp to /etc/X11/xkb/symbols with the following content:\r\n{{{\r\npartial modifier_keys \r\nxkb_symbols "desktop" {\r\n    key <AD11>  {  symbols[Group1]= [ parenleft, braceleft ] };\r\n    key <AD12>  {  symbols[Group1]= [ parenright, braceright ] };\r\n    key <AE09> { symbols[Group1]= [         9,    bracketleft       ]       };\r\n    key <AE10> { symbols[Group1]= [         0,    bracketright      ]       };\r\n};\r\n}}}\r\nThe effect of these lines is that the keys () and [] are swapped on the keyboard. I personally like that as I type round brackets more often and I like them to be accessible without the Shift modifier key.\r\n\r\nHowever, as soon as a key is touched by xkb, it goes dead for VirtualBox. Notice that 0 and 9 wasn't changed, however 0 and 9 don't work even unshifted.\r\n\r\nTo make it work I have to adjust the layouts manually in the vbox source code and supply vbox with a keymap that resembles my remappings precisely.\r\n	defect	reopened	minor	GUI	VirtualBox 2.0.2		keyboard		other	Linux
