View Single Post
Posts: 118 | Thanked: 202 times | Joined on Aug 2010
#7
Customize hardware keyboard

I added some functionality to the keyboard config at
/usr/share/X11/xkb/symbols/nokia_vndr/rx-51
Added Sym+Shift modifier (the last one in the row) for these keys:
, -> ; = ~ (asciitilde)
f -> F - [ (bracketleft)
g -> G _ ] (bracketright)
h -> H ( { (braceleft)
j -> J ) } (braceright)
. -> : ? ° (asciicircum)
space -> @ Tab | (bar)


new config takes effect when you run:
setxkbmap

With this you can type "°" by pressing "Sym+Shift+." or the tab key with "Sym+Space" ("@" is changed to "Shift+Space"). No more need for virtual keyboard for bash or python. Note that one does not need to keep holding down either "Sym" or "Shift" to input a combo.

Reward: Amulet of keyboard bashing, +0.5 ST, +1 IN

Attached Files
File Type: zip rx-51.zip (4.1 KB, 154 views)

Last edited by nephridium; 2010-08-21 at 13:00.
 

The Following 7 Users Say Thank You to nephridium For This Useful Post: