Author Topic: Sl-6000 - Square Brackets, Braces, Etc. (x11)  (Read 2002 times)

miskinis

  • Sr. Member
  • ****
  • Posts: 348
    • View Profile
    • http://
Sl-6000 - Square Brackets, Braces, Etc. (x11)
« 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
_John Miskinis_

miskinis

  • Sr. Member
  • ****
  • Posts: 348
    • View Profile
    • http://
Sl-6000 - Square Brackets, Braces, Etc. (x11)
« Reply #1 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!
« Last Edit: October 23, 2006, 09:10:54 pm by miskinis »
_John Miskinis_