Jerry McBride wrote:

> That's it really, everything else works except the windows buttons. One of these
> days I'll have to find something todo with them.

Here's what I did.  (This is in kdm, but should work the same in xdm.  And I'm
sure there's a way to do similar with startx.)

In /etc/X11/xdm/Xmodmap I put:

keycode 115=F13
keycode 116=F13

This maps the winders keys to F13.  Then in kde I can tell it that I want F13 to
be a shortcut to the menu bar.  I also have buttons labled www, mail, and search
on this keyboard, so I mapped them the same way:

keycode 178=F15
keycode 236=F16
keycode 229=F17

Then F15 starts the browser, F16 starts mail, and F17 doesn't do anything because
I didn't have a use for 'search'.

You can use showkey or something similar to see the keyboard scan codes (the first
number above) that go with a button.  Kde makes it easy to use keys as shortcuts,
I don't know about other WMs.

One caveat, with this setup I wasn't able to get the 'menu' key to act like a
right mouse click.  Also, only one window key works (the left one which is first
above).

Dave


_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to