On Thu, Nov 25, 1999 at 11:59:06AM +0000, Allen Buckley mentioned:
> lods has anyone ever got a logitech intenet keyboard working under linux.
> you know the one with open url,stop,refresh etc buttons???
Just run "xev" and press the buttons on the keyboard. Note the "keycode"
each key generates. Then, you can map the keycode to a name with:
xmodmap -e 'keycode 111 = osfSelect'
I just chose osfSelect from many keynames in /usr/X11R6/lib/X11/XKeysymDB.
You can then bind osfSelect to whatever you want to, with your favourite
window manager/application. For instance, you could bind the keycode of the
URL key to "apRead", and then in window maker, bind "apRead" to "urlview
%s", where %s is the text selection. So, you would then have your URL key
bound to "view URL", effectively.
Is there a standard X command, that when called would print the current
selected text ? Could be handy in sawmill, which doesn't have a %s type
 It could be %a, it's a while since I used window maker.
Microsoft. The best reason in the world to drink beer.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!