LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-22-2004, 04:49 AM   #1
buldir
Member
 
Registered: Mar 2004
Location: Fairbanks, AK USA
Posts: 135

Rep: Reputation: 15
mapping Logitech mouse thumb button to double-click


I've read up on imwheel and editing the XFree configuration file, but still have not found what I'm looking for (or maybe I read too fast). Most people have successfully mapped side mouse buttons for "back" and "forward" in their web browser. Has anyone set up a 4 button mouse and mapped the thumb button for double-click? Thanks.
 
Old 11-11-2004, 01:15 PM   #2
wont
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
I actually managed to get imwheel to support a double-click mapping to one of my extra buttons. To do this, though, you need to be sure your X server supports the keypad mouse. To find out if it does, press Control-Shift-NumLock. Then press one of the keypad numbers to see if the mouse moves on the screen. If it does, you can create a mapping in imwheelrc to support the double-click button on the keypad (+). Turn off the keypad mouse first, though, by pressing Control-Shift-NumLock again.

In your imwheelrc file, you will want to add the following line (suitably modified for your preferred button, of course):

Code:
None, Right, Control_L|Shift_L|Pointer_EnableKeys|-Pointer_EnableKeys|-Shift_L|-Control_L|KP_Add|-KP_Add|Control_L|Shift_L|Pointer_EnableKeys
Then, restart imwheel and test to see if it works for you. To get imwheel to work properly, I have to start it with

Code:
imwheel -k -b "4567"
Hope this helps,
Will
 
Old 11-11-2004, 01:53 PM   #3
buldir
Member
 
Registered: Mar 2004
Location: Fairbanks, AK USA
Posts: 135

Original Poster
Rep: Reputation: 15
Wow!

Thanks wont! Worked like a charm!
 
Old 12-04-2004, 09:11 PM   #4
tardigrade
Member
 
Registered: Jun 2004
Distribution: SuSE 9.1
Posts: 150

Rep: Reputation: 15
could you elaborate on the code
None, Right, Control_L|Shift_L|Pointer_EnableKeys|-Pointer_EnableKeys|-Shift_L|-Control_L|KP_Add|-KP_Add|Control_L|Shift_L|Pointer_EnableKeys

when i put that in and run imwheel i get:
imwheel started (pid=25561)
Unrecognized wheel action in config.
Right
User defined signal 1

im having trouble understanding the sytax for imwheel. what does the None, Right represent?
 
  


Reply



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
Logitech Mouseman Wheel - Trouble with Thumb Button mac57 SUSE / openSUSE 0 08-06-2005 10:50 PM
Assigning 'double-click' to a specific mouse button theMonkeY Linux - Hardware 1 09-06-2004 07:11 AM
Thumb button on wireless Logitech Mouseman Wheel tjwolf Linux - Newbie 0 10-27-2003 09:54 AM
Logitech First Mouse+ PS2 double click jang Linux - General 2 12-11-2002 01:58 AM
Logitech Mouseman thumb button wAmOZ Linux - General 0 10-15-2001 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:36 PM.

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