OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: offroadgeek on December 10, 2003, 01:08:49 am
-
Many thanks to omin0us for showing me how to switch the , / (comma, slash) keys.. here\'s how:
vi /etc/X11/kb/corgi.xmodmap
edit keycode 71 line to read:
keycode 71 = slash comma less less (instead of comma slash less less)
Now I\'m wondering if we can have the two japanese keys (next to FN) mapped to Ctrl and Alt... I think they are keycode 129 and 130 respectively, but I don\'t know the correct syntax to change them.
Any suggestions?
thanks,
offroadgeek
P.S. omin0us said that he would talk to sash about getting the slash comma changed in the next build...
-
I\'m going to work on those two keys today and see how I can redefine then. Thanks for posting the url to the keycode file though, I was having difficulty finding it.
-
Okay I\'ve done it (or from what I can see I\'ve done it, pressing the key just left of fn and z suspended a process in true ctrl+z fashion)
[img]http://foxdie.timduru.org/zaurus/x11_keys.jpg\" border=\"0\" class=\"linked-image\" /]
Key 3 is now LEFT CTRL and key 4 is now LEFT ALT
I left keys 1 and 2 still bound to the same as they were before, so they are still LEFT CTRL and LEFT ALT respectively.
Here is the modified file (it also has the slash & comma swap as depicted by offroadgeek above): http://foxdie.timduru.org/zaurus/corgi.xmodmap (http://foxdie.timduru.org/zaurus/corgi.xmodmap)
Here is the unmodified original file if you ever should need it: http://foxdie.timduru.org/zaurus/corgi.xmodmap.bak (http://foxdie.timduru.org/zaurus/corgi.xmodmap.bak)
To retrieve these modifications straight to your Zaurus and install please ensure you\'re connected to the Internet, open up a terminal and type in the following:
cd /etc/X11/kb/
mv corgi.xmodmap corgi.xmodmap.old
wget http://foxdie.timduru.org/zaurus/corgi.xmodmap
reboot
Alternatively you can edit the file yourself and change the following lines from:
keycode 71 = comma slash less less
keycode 129 = grave grave
keycode 130 = NoSymbol
to:
keycode 71 = slash comma less less
keycode 129 = Control_L
keycode 130 = Alt_L
It\'s interesting to note that Corgi is one of the OZ\'s names for the C700, I have also submitted an FAQ listing all these devices names, check the \"Unofficial Zaurus FAQ / General\" section soon.
-
ahh... thanks foxdie... I was missing the _L after Control and Alt... this will just be too cool... now the keyboard layout is near perfect for me!
-
I\'ve been using the fluxbox window manager, but am getting weary of all of the control + 1 ,2 & 3 key strokes. Since I\'ve got the keys right of the Fn key mapped per Foxdie\'s instructions; I\'m wanting to remap the Calendar=mouse left toggle, Address=mouse middle toggle and Mail=mouse right toggle. That way I can toggle the mouse buttons with a single stroke. I don\'t see in the corgi.xmodmap where ctrl + 1, 2 & 3 are assign to mouse buttons. I assume there is some other file where this is set. Can anybody point me in the right direction?
By the way Many thanks to Sash & omin0ous & the Cacko team for their fantastic work!
Thanks,
Jerry