OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: miskinis on March 14, 2006, 01:18:50 am

Title: Sl-6000 - Square Brackets, Braces, Etc. (x11)
Post by: miskinis on March 14, 2006, 01:18:50 am
Hi Folks,

I just figured out how to do this, and I figured I'd pass it on.  Also, it might be
helpful to put these in the default pdaXrom tosa.xmodmap unless there are
reasons not to, that I do not yet know about.

Anyway, I decided it would be easy to remember, mapping the square brackets
to the (printed) angle bracket keys.  And the curly braces to the (printed) parentheses
keys.  These would take effect when both FN and SHIFT modifiers were pressed.

SO, edit /etc/X11/kb/tosa.xmodmap and change the four lines as follows:

OLD:
   keycode 20 = l L parenleft
   keycode 71 = comma semicolon parenright
   keycode 72 = period colon less less
   keycode 36 = Return Return greater greater

NEW:
   keycode 20 = l L parenleft braceleft
   keycode 71 = comma semicolon parenright braceright
   keycode 72 = period colon less bracketleft
   keycode 36 = Return Return greater bracketright

I hope this is of some help to some folks,

John
Title: Sl-6000 - Square Brackets, Braces, Etc. (x11)
Post by: miskinis on October 23, 2006, 09:02:44 pm
Wow, I just realized there was no way to get the "backtick" character!  It seems
that xmodmap calls it "grave", and I figured I'd bind it to the single quote and
double quote key, when FN and SHIFT are pressed.

OLD:
keycode 78 = apostrophe quotedbl asciitilde

NEW:
keycode 78 = apostrophe quotedbl asciitilde grave

I'm attaching my /etc/X11/xb/tosa.xmodmap below, and needed to add the ".txt"
to get it to attach.  You MUST remove the ".txt" to you use it!