LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-18-2023, 07:11 PM   #1
NetArch
LQ Newbie
 
Registered: Dec 2004
Location: DC Metro area, US
Distribution: Mint 18.1 Cinnamon, Ubuntu 16.04 LTS
Posts: 18

Rep: Reputation: 1
Configure mouse L/R buttons differently from trackball?


I'm a lefty, but for some reason back in the stone age, when I started using a mouse, I felt more comfortable keeping the buttons set for a right-hander. But when it comes to using a trackpad or a trackball mouse, it's much easier configuring it left-handed.

For Synaptics and other trackpads (even those with virtual buttons), it's easy to use Gnome Tweaks to have configure the two separately. But when I use a trackball on my normal desk, I can't separate it from the mouse configuration. Is there a simple way to parse the USB pointer device to look for "trackball" and set things appropriately?
 
Old 01-20-2023, 04:31 AM   #2
kakistocrat
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,756
Blog Entries: 4

Rep: Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971
My guess would be to look at using xinput and adding a special configuration for the device in /etc//etc/X11/xorg.conf.d/ somewhere.

Code:
xinput --list
That should show how your system sees your input devices and the name of the device and its id number. Use those to make an entry in the xorg.conf.d directory.

(GNOME might get in the way though.)

Edit: see also "man libinput"

Last edited by kakistocrat; 01-20-2023 at 05:33 AM.
 
  


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 - Desktop

All times are GMT -5. The time now is 03:40 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