Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 5th, 2012, 01:12 AM
myforum myforum is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2011
Posts: 7 myforum User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 52 m 39 sec
Reputation Power: 0
How to click with mousewheel on linux ?

Hello,

Is there any way replacing the functionalities of mouse wheel with clicks ?
(one small movement forward is left click, one backward is the right click)

You cant imagine, my finger are very sensitive and clicking with mouse wheel is very friendly. Normal buttons hurts my fingers after some time.

Thanks in advance.

(I enjoyed using autohotkey on windows which solves this problem.
As I know there is a autohotkey clone on linux called IronAhk but I interested in other solutions as well.)

Reply With Quote
  #2  
Old June 12th, 2012, 11:03 AM
esposj-ninja esposj-ninja is offline
Administrator
Developer Shed Admin.
 
Join Date: Jun 2012
Posts: 17 esposj-ninja User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 40 m 26 sec
Reputation Power: 10
You can most likely do this with xmodmap (http://www.xfree86.org/4.2.0/xmodmap.1.html), although it will probably take a little bit of tinkering.

One tool which will help you on this journey is the program xev (http://linuxreviews.org/man/xev/). It opens a window, and shows you what code each button of the mouse generates (including scrolls which are basically buttons).

What distro and desktop environment are you running?
Comments on this post
jamespayne agrees!

Reply With Quote
  #3  
Old June 12th, 2012, 01:11 PM
DonR DonR is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 462 DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 29722 Folding Title: Starter FolderFolding Points: 29722 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 1 Day 23 h 36 m 9 sec
Reputation Power: 216
unfortunately, the mouse wheel only has 1 button under it [no forward click, backward click] which is normally setup as "middle click". some programs have ability to change the middle click function to something else, but, you would never be able to do a "forward click/backward click" with it.

Reply With Quote
  #4  
Old June 12th, 2012, 01:51 PM
esposj-ninja esposj-ninja is offline
Administrator
Developer Shed Admin.
 
Join Date: Jun 2012
Posts: 17 esposj-ninja User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 40 m 26 sec
Reputation Power: 10
Quote:
Originally Posted by DonR
unfortunately, the mouse wheel only has 1 button under it [no forward click, backward click] which is normally setup as "middle click". some programs have ability to change the middle click function to something else, but, you would never be able to do a "forward click/backward click" with it.


While it doesn't look like a button, the clicks of the wheel seem to be treated like a button press. The Kensington trackball on my desk registered a button4 press and button4 release for turning the wheel to the right and a button5 press and release for turning it to the left.

Now the precision necessary to do this seems much more painful then using the mouse buttons, but I'll leave that part to another conversation

Point is, to the driver, they are all digital inputs.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > How to click with mousewheel on linux ?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap