This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Linux, mouse and...me

Tags: None
(comma "," separated)
gthib
Registered Member
Posts
21
Karma
0

Linux, mouse and...me

Sun Jul 31, 2016 5:36 am
Greetings with my mouse,

I have been trying to remap some buttons on my Logitech MX... mouse. The mouse has Right, Left, Middle, Scroll-Left, Scroll-Right, Wheel and two side (rather top) buttons.
All buttons except Scroll-Left and Scroll-Right (Wheel side mouvement) function well. The side (rather top) buttons works as Back-Forward.

What I have been trying to do is to:
1. Add the function Back-Forward to the Wheel Button to Scroll-Left and Scroll-Right (side movement of the Wheel button.
2. Be able to assign any shortcut to the side (rather top) buttons which at present work as Back-Forward.

I have managed to find my mouse name:
Code: Select all
$ egrep "Name|Handlers" /proc/bus/input/devices | egrep -B1 'Handlers.*mouse'


and... the stairs begin.

I have found within /etc/X11 xorg.config (have to create one) a following setting (adjusted by insetring the mouse name):

Code: Select all
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Logitech USB Receiver" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection


and:

Code: Select all
Section "InputDevice"
   Identifier  "Logitech USB Receiver"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "[b]4 5 6 7[/b]"
EndSection


Using a command:

Code: Select all
xmodmap -e "pointer = 1 2 3 4 5 6 7"


with different variations I have discovered that (ftp://www.x.org/pub/X11R6.8.0/doc/mouse7.html) pretty probably the mouse button configuration shall be like this:

1 Left Button Button 1
2 Wheel Button Button 2
3 Right Button Button 3
4 Side Button 1 Button 4
5 Side Button 2 Button 5
6 Wheel Negative Move Button 6
7 Wheel Positive Move Button 7

Alas altering buttons 4, 5 with 6, 7 does not function. I have found that it change or disable Wheel scrolling in one (I cannot remember) direction and transferring it to Side scrolling (the Wheel button as well.

Furthermore I am not certain at all if 'Wheel Negative Move' is Wheel vertical or horizontal scrolling.
As mentioned above as far as I (do not) understand the only mappable buttons are 4, 5, 6, 7.

Here I have finished my adventure with my tiny hard-working mouse with its excellent behaviour under Windows. We are both new to Linux OpenSuse Leap 43.1 / KDE Plasme 5.x (rather x than 5.72) / MX Theme.

We both, me and the mouse will be grateful for any kind help to make us possible to work habitually on Linux. We thank you in advance. Click.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]