Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 03-14-2010, 09:59 PM   #1
LQ Newbie
Registered: Mar 2010
Posts: 7

Rep: Reputation: 0
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.

This is my first "New Tread"
Posting pointer are most appreciated.
Old 03-14-2010, 11:12 PM   #2
LQ Newbie
Registered: Mar 2010
Posts: 7

Original Poster
Rep: Reputation: 0
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.


keyboard, mouse, xbindkeys

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
Any one there help needed to get mouse event vibinlakshman Programming 1 03-13-2009 12:18 PM
Mouse Event steve_linux Linux - Desktop 1 07-17-2008 11:33 AM
Logitech LX500 - Mouse click results in keystroke insanetek Linux - Hardware 0 07-11-2005 07:55 PM
Bind keystroke to mouse button ryand Linux - Hardware 1 12-04-2003 04:50 PM
mapping mouse button to keystroke? ldhertert Linux - General 2 11-19-2003 10:24 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:14 AM.

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