LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Cannot figure how to get a mouse event to cause a keystroke (http://www.linuxquestions.org/questions/linux-general-1/cannot-figure-how-to-get-a-mouse-event-to-cause-a-keystroke-795419/)

askrabal 03-14-2010 10:59 PM

Cannot figure how to get a mouse event to cause a keystroke
 
I have a Logitech Media Play mouse with many buttons. I'm using xbindkeys to create some shortcuts to programs e.g. firefox, gnome-terminal--these work wonderful. What I cannot figure out is how to get the buttons to work for the media player(Ubuntu>System>Keyboard Shortcuts>Sound). I set shortcuts using my win key and letters, hoping to use xbindkeys to send out a keystroke. I have tried to use xmacro but to no avail. xdotool was not helpful, I think it may be outdated(desktop/workspace functions did not work).

My preferred option would be to get mouse events to keystrokes working with xbindkeys and program x(x being whatever works); however, just getting my media buttons to interact with the media play is my ultimate goal.

P.S.
This is my first "New Tread"
Posting pointer are most appreciated.

askrabal 03-15-2010 12:12 AM

Synaptic is still my friend
 
I finally found my answer. One last try searching Synaptic turned up btnx. Thank you btnx author for creating the exact program I wanted--GUI and everything. Finally this 2 week-long search has come to an end.


All times are GMT -5. The time now is 02:52 PM.