LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 08-13-2007, 11:37 PM   #1
monkiidansu
Member
 
Registered: Sep 2005
Posts: 66

Rep: Reputation: 15
Help with xbindkeys


Alright, I am trying to make it so that when I press the G1-G18 keys on my G11 keyboard, the keys respond to individual macros. I want to make it so that, for instances, If I press G1, it triggers control+alt+1. The reason I want to do this is so that I can utilize the G keys with games that do not recognize any other keys aside from stand keys and sets of keys. So far this is what my .xbindkeysrc.scm file looks like:

Code:
;; G1-G18 key macros
(xbindkey '("m:0x10" "c:177") "xterm")
(xbindkey '("m:0x10" "c:152") "xterm")
(xbindkey '("m:0x10" "c:190") "xterm")
(xbindkey '("m:0x10" "c:208") "xterm")
(xbindkey '("m:0x10" "c:129") "xterm")
(xbindkey '("m:0x10" "c:130") "xterm")
(xbindkey '("m:0x10" "c:231") "xterm")
(xbindkey '("m:0x10" "c:209") "xterm")
(xbindkey '("m:0x10" "c:210") "xterm")
(xbindkey '("m:0x10" "c:136") "xterm")
(xbindkey '("m:0x10" "c:220") "xterm")
(xbindkey '("m:0x10" "c:143") "xterm")
(xbindkey '("m:0x10" "c:246") "xterm")
(xbindkey '("m:0x10" "c:251") "xterm")
(xbindkey '("m:0x10" "c:137") "xterm")
(xbindkey '("m:0x10" "c:138") "xterm")
(xbindkey '("m:0x10" "c:182") "xterm")
(xbindkey '("m:0x10" "c:183") "xterm")
As you can see, I have added the command xterm to each key, but I only did that to make sure xbindkeys is working and that my syntax is correct (which it is, on both accounts). I hear it's possible to trigger sequences of keys through a macro (in which case I can just add "sh path/to/macro/macro.sh &" to the command in my code, but if there is a way to do this directly through xbindkeys, I am all for finding out how.

Last edited by monkiidansu; 08-13-2007 at 11:38 PM.
 
Old 08-14-2007, 02:10 PM   #2
monkiidansu
Member
 
Registered: Sep 2005
Posts: 66

Original Poster
Rep: Reputation: 15
Why are all my posts ignored? If it's not possible just tell me.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XBindKeys 1.7.3 compile error cybi Linux - Software 4 08-31-2006 02:58 AM
Anything like xbindkeys to Windows XP? Mega Man X General 6 08-14-2006 11:54 AM
xbindkeys: How to get name of clicked program lagu2653 Linux - Software 1 06-27-2005 05:28 AM
how to start xbindkeys at system startup kusum Linux - Newbie 1 01-28-2004 03:56 AM
xbindkeys - some keys unbindable? fr0zen Linux - Software 0 12-25-2003 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration