Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Program to create X Keyboard events?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
RealityMage
Apprentice
Apprentice


Joined: 15 Dec 2003
Posts: 151

PostPosted: Sat Sep 04, 2004 7:05 am    Post subject: Program to create X Keyboard events? Reply with quote

Hello,

I've recently acquired a very nice multimedia keyboard with many keys for Open, Save, Close, etc.

I've just got these keys working with lineakd. I'd like to set it up so that when I press the "Open" key, Ctrl+O is passed to the program.

Is there a simple/small/fast program that does that? It'd be plus if it were in portage. There should be a program like that is portage.

Much thanks.
_________________
http://tommy.impulsestorm.com/
Back to top
View user's profile Send private message
Zyne
Guru
Guru


Joined: 08 Jun 2004
Posts: 334

PostPosted: Sat Sep 04, 2004 9:03 am    Post subject: Reply with quote

I'm not really sure, but doesn't xmodmap do that?

taken straight from "man xmodmap"
Code:

xmodmap  - utility for modifying keymaps and pointer button mappings in X
DESCRIPTION
       The xmodmap program is used to edit and display the  keyboard  modifier
       map  and  keymap  table that are used by client applications to convert
       event keycodes into keysyms.  It is usually run from the user's session
       startup  script to configure the keyboard according to personal tastes.


Back to top
View user's profile Send private message
RealityMage
Apprentice
Apprentice


Joined: 15 Dec 2003
Posts: 151

PostPosted: Sat Sep 04, 2004 3:33 pm    Post subject: Reply with quote

No - I mean a program that will do this:

"fictionalprogram CtrlX" will pass Control-X to the active window.
_________________
http://tommy.impulsestorm.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum