Using "extra" mouse buttons (thumb_left, thumb_right): imwheel?
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Using "extra" mouse buttons (thumb_left, thumb_right): imwheel?
What is the current "best way" to use these buttons? I did some Google searching and the program "imwheel" pops up. However, as is sometimes the case when searching for Linux related things, Google hits can pop up some really old ways of doing things when there are newer/better ways available. I am looking to apply this in LinuxMint13/Xfce so any solutions that may be Gnome, KDE, or other-desktop specific won't help me.
It appears that Firefox already maps thumb_left and thumb_right to "back" and "forward". That's fine. What I would like to do is map one of these thumb buttons to <escape> for use in the gThumb image viewer program, and the other thumb button to <F11> (i.e., "toggle fullscreen").
Before I go learning imwheel config (granted, which is probably easy), is there a better (more recent) way to accomplish what I am wanting?
Alternately, anyone have any pointers to some existing imwheel example configs that would cover what I want? Looking through the imwheel manpage I am not seeing an exhaustive list of key mapping names (e.g., is the <escape> key called "ESC", "ESCAPE", etc. in the config file?)
Create the file $HOME/.imwheelrc containing the following:
Code:
"gthumb"
None, Thumb1, F11
None, Thumb2, Escape
Run "imwheel"
When done, run "pkill imwheel"
However, the above also kills the "back" and "forward" mappings for thumb_left and thumb_right in Firefox. Which may actually be a bonus for me, since I don't use those, and just get frustrated when I hit them accidentally!
So imwheel DOES work, albeit maybe not the latest/greatest way to accomplish the task. But it does work for what I want. I'd still like to know if there is a "better" way however.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.