LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-20-2007, 04:33 PM   #1
calande
Member
 
Registered: Oct 2005
Distribution: Urubu
Posts: 161

Rep: Reputation: 15
How To Use The Buttons Of Your Trackball In Linux


Hi, I was able to use the four buttons of my Kensington Turbo Mouse PRO, and I wrote a tutorial for the community. Hope this helps: http://linux-trackball.dreamhosters.com/
 
Old 11-21-2007, 08:41 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,849

Rep: Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024
Good writeup. You may be able to get the top six buttons working if you use the evdev mouse driver. I worked it all out in this thread: http://www.linuxquestions.org/questi...ckball-593957/

However, as I mentioned, it doesn't work properly with the trackball I have. I suspect it depends on the exact hardware model, and there may be some differences in older models that still aren't supported correctly.

I'm also still trying to work out exactly how to create "mouse chords" like they have in the Windows version. xbindkeys with the glade extension can create such bindings, but I don't yet know how to configure it so that it doesn't interfere with the original button functions.
 
Old 11-21-2007, 08:59 AM   #3
calande
Member
 
Registered: Oct 2005
Distribution: Urubu
Posts: 161

Original Poster
Rep: Reputation: 15
Hi David, I tried the evdev driver but it prevents X from launching on my computer
What do you mean by "mouse chords"? If you mean something like Ctrl-Shift-Q, you can achieve it without guile support. For instance Ctrl-Q and Ctrl-W to quit an application:

Code:
"echo 'KeyStrPress Control_L KeyStr q KeyStr w KeyStrRelease Control_L' | xmacroplay :0"
b:8
 
Old 11-21-2007, 10:20 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,849

Rep: Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024
No, I mean hitting two mouse buttons together to call up an action, the same as you mentioned in your "final notes". I loved that function on Windows and I wish I had it now.

It appears that using guile you can configure just about any button combo in xbindkeys, making it even more flexible than on Windows (both left-side keys, for example). But I don't yet know how to configure it so that it detects the two-button clicks properly and not override the actions the buttons send when used individually.

Too bad about evdev though. As I mentioned, I have problems with it too, though not as bad as breaking X. Let's hope the xorg guys get it all sorted out soon.
 
  


Reply


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
Using the extra buttons on a Microsoft Optical Trackball HappyTux Debian 10 04-10-2012 02:42 PM
Using all buttons of my trackball werner1975 Linux - Hardware 23 01-11-2008 07:38 PM
Trackball explorer buttons not being recognized.. ArcLinux Linux - Desktop 0 07-18-2007 08:05 PM
Extra buttons on MS Trackball Explorer shea1roh Linux - Hardware 2 07-28-2005 09:02 PM
keyboard/trackball combo -> no mouse buttons Achmed20 Linux - Hardware 1 02-21-2003 02:44 AM

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

All times are GMT -5. The time now is 08:07 AM.

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