Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-31-2014, 03:46 PM   #1
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,285

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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?)

Old 03-31-2014, 04:21 PM   #2
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,285

Original Poster
Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Pretty simple at the basic level:

Create the file $HOME/.imwheelrc containing the following:
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.


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
"Back" and "Forward" side-buttons of my mouse Unforgiven79 Linux - Hardware 1 10-31-2006 01:10 AM
how to swap mouse buttons in "xbindkeys" since slackware's xmodmap aint working 4 me? Old_Fogie Slackware 7 10-07-2006 02:29 AM
Suggestion: for "subscribed threads" & "top of page" buttons Old_Fogie LQ Suggestions & Feedback 7 07-10-2006 06:10 PM
Logitech® Cordless Desktop® Optical --- How to use "The Extra Buttons" in Linux lhj Linux - Hardware 12 10-09-2003 08:19 PM
mouse: Buttons "5" ??? Rex_chaos Linux - General 15 08-20-2003 06:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:20 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
Open Source Consulting | Domain Registration