Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running ubuntu 6.06 (w/ Gnome) and was wondering how I could attach a command to a keyboard shortcut. I discovered the Keyboard Shortcuts part in the Preferences, and I set a lot of my audio shortcuts and such, but I was wondering how I Could set my "Messenger" key to open GAIM. Thanks.
You'll have to do a bit more rooting around to find this. Open a terminal and type the command "xev". A window will appear with a box in it. Place your mouse in the box and press the messenger key. When you do, some text will appear in the terminal. Somewhere within the most recent block, you'll see something like this (keysym 0x20, space). This is the output for a spacebar. Yours will be of the format (keysym <a hex number>, <prolly the word nosymbol>). You need to write these down on paper, because doing anything on the computer will create a flood of output in the terminal. Then close down that xev window, and type into the terminal
xmodmap -e "keycode <The next F-key higher than your keyboard goes> = <that hex number>"
If your keyboard goes to F12, then have that above be "F13", etc. Hopefully, now gnome will recognize the key and call it F13 (or whatever F-key).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.