LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-28-2005, 04:45 PM   #1
TomalakBORG
Member
 
Registered: Dec 2004
Location: Maryland
Distribution: SuSE / Gentoo
Posts: 245

Rep: Reputation: 30
key bindings


Ok, here's what I get -

to bind keys, you make a file ~/.Xmodmap then use the xmodmap {path} command to load the file. In the file is something like 'keycode X = a command' Now, as I want to use it, I want the keycode to execute a command, say;

keycode 176 = aumix -v +5
keycode 174 = aumix -v -5

Now, the thing is, I think I have to map the keys to some other thing, like F22 or another title. Then I have to use another program to map that key to a command.

What is the simple simple automatic way to map keys to commands in X, and have it be wm independant.

btw - I've tried to make scrpits for volume up/down, and I've chmod +x'd them, but the output from xmodmap is always
Code:
Bad keysym name in keysym list
for everything in the file following the keycode. Any ideas? -Bill
 
Old 04-30-2005, 06:55 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
Take a look at xbindkeys.
 
Old 05-01-2005, 09:15 PM   #3
TomalakBORG
Member
 
Registered: Dec 2004
Location: Maryland
Distribution: SuSE / Gentoo
Posts: 245

Original Poster
Rep: Reputation: 30
YES! - xbindkeys is awesome; killer app (ok, maybe not, but it was just what I needed). Now, my friend said something about fluxbox macros and mapping keys to commands in fluxbox. What's the low-down with that? -Bill

Thanx for xbindkeys - it was just the tool for the job
 
Old 05-02-2005, 05:53 AM   #4
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
Xbindkeys is not WM-dependant.
 
Old 05-02-2005, 09:27 AM   #5
TomalakBORG
Member
 
Registered: Dec 2004
Location: Maryland
Distribution: SuSE / Gentoo
Posts: 245

Original Poster
Rep: Reputation: 30
Yes I know that - however, I want to also know how to use flux macros. But that's cool; I'm good with xbindkeys.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KdE key bindings, help! jetblackstar Linux - Software 1 05-27-2005 07:44 PM
key bindings under mutt Slagazor Linux - Software 0 04-28-2005 02:56 PM
Key Bindings rmanocha Linux - Newbie 2 10-22-2003 09:05 PM
Key bindings in KDE 3.1 thebeardedladie Linux - Newbie 0 04-19-2003 04:15 AM
Key Bindings and Kde 2.2 Will Linux - General 0 08-23-2001 10:06 PM


All times are GMT -5. The time now is 10:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration