LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] keyboard driver

[ILUG] keyboard driver

John P . Looney valen at tuatha.org
Thu Nov 25 12:28:43 GMT 1999


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"[0], 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
thing.

Kate

[0] It could be %a, it's a while since I used window maker.

-- 
Microsoft. The best reason in the world to drink beer.
http://www.redbrick.dcu.ie/~valen




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell