LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 08-21-2018, 08:49 PM   #1
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Rep: Reputation: Disabled
Inconsistent behavior for Mouse Natural Scrolling


Browsers, many apps work fine, Thunar is fine in general. But when I go to save a file or in some other odd cases (which I will have to jot down as they occur to add to this) my scrolling is no longer natural. Just for those apps though, reverts if I click into another window or what-have-you.

I am sure there is a good explanation for this, like mouse control for all apps or parts of apps are not going though the same channels, so-to-speak.

OTHERWISE! Great distribution. And I have tried some really good ones, MX Linux is quite good. Enjoying it, thank you!
 
Old 08-21-2018, 08:54 PM   #2
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
List of applications as I find them

Synaptic Package Manager
xfce terminal

Last edited by Tuishimi; 08-22-2018 at 10:26 PM.
 
Old 08-21-2018, 09:33 PM   #3
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,393

Rep: Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575
You are likely right about that. You might have enabled it in the desktop environment (where it reverses the scrolling), but depending on how it's implemented within the DE, it might not be enabled with respect to the Xorg input driver perhaps? To check this, get the device ID for the mouse using
Code:
xinput
and then do
Code:
xinput list-props <device ID>
*Using the relevant device ID.

Last edited by ferrari; 08-21-2018 at 09:36 PM.
 
1 members found this post helpful.
Old 08-22-2018, 02:02 AM   #4
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
Guessing either Axis inversion or Axes Swap should be 1?

$ xinput list-props 9
Device 'Logitech MX Anywhere 2S':
Device Enabled (153): 1
Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (287): 0
Device Accel Constant Deceleration (288): 1.000000
Device Accel Adaptive Deceleration (289): 1.000000
Device Accel Velocity Scaling (290): 10.000000
Device Product ID (274): 1133, 16490
Device Node (275): "/dev/input/event3"
Evdev Axis Inversion (291): 0, 0
Evdev Axes Swap (293): 0
Axis Labels (294): "Rel X" (163), "Rel Y" (164), "Rel Horiz Wheel" (284), "Rel Dial" (285), "Rel Vert Wheel" (286)
Button Labels (295): "Button Left" (156), "Button Middle" (157), "Button Right" (158), "Button Wheel Up" (159), "Button Wheel Down" (160), "Button Horiz Wheel Left" (161), "Button Horiz Wheel Right" (162), "Button Side" (279), "Button Extra" (280), "Button Forward" (281), "Button Back" (282), "Button Task" (283), "Button Unknown" (277), "Button Unknown" (277), "Button Unknown" (277), "Button Unknown" (277), "Button Unknown" (277), "Button Unknown" (277), "Button Unknown" (277), "Button Unknown" (277), "Button Unknown" (277), "Button Unknown" (277), "Button Unknown" (277), "Button Unknown" (277)
Evdev Scrolling Distance (296): 1, 1, 1
Evdev Middle Button Emulation (297): 0
Evdev Middle Button Timeout (298): 50
Evdev Middle Button Button (299): 2
Evdev Third Button Emulation (300): 0
Evdev Third Button Emulation Timeout (301): 1000
Evdev Third Button Emulation Button (302): 3
Evdev Third Button Emulation Threshold (303): 20
Evdev Wheel Emulation (304): 0
Evdev Wheel Emulation Axes (305): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (306): 10
Evdev Wheel Emulation Timeout (307): 200
Evdev Wheel Emulation Button (308): 4
Evdev Drag Lock Buttons (309): 0
 
Old 08-22-2018, 06:09 AM   #5
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,393

Rep: Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575
I was surprised to see evdev in use here. That has been deprecated and libinput is now in common use for the majority of distros with recent X-server versions.

Code:
X -version
Code:
egrep "libinput|evdev" /var/log/Xorg.0.log
BTW, which desktop us in use here?

A bug report might be needed.
 
1 members found this post helpful.
Old 08-22-2018, 09:46 AM   #6
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 383

Rep: Reputation: Disabled
most likely this is a difference between the gtk2 and gtk3 applications. the Xfce mouse settings tend to work fine on gtk2 applications (Xfce still being gtk2 based) but the natural scrolling type functions sometimes don't carry over to the gtk3 applications (strange but true).
 
1 members found this post helpful.
Old 08-22-2018, 10:24 PM   #7
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
I was surprised to see evdev in use here. That has been deprecated and libinput is now in common use for the majority of distros with recent X-server versions.

Code:
X -version
Code:
egrep "libinput|evdev" /var/log/Xorg.0.log
BTW, which desktop us in use here?

A bug report might be needed.
$ sudo X -version
[sudo] password for mitch:

X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-4-amd64 x86_64 Debian
Current Operating System: Linux dads-pc 4.15.0-1-amd64 #1 SMP Debian 4.15.4-1~mx17+1 (2018-02-23) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1-amd64 root=UUID=4e9849dc-58c0-4384-9444-d32d56fc3d8f ro zswap.zpool=zsmalloc BOOT_IMAGE=/antiX/vmlinuz quiet
Build Date: 16 October 2017 08:19:45AM
xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.

This is a standard install of MX Linux, so Xfce...

Code:
$ neofetch
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNMMMMMMMMM   mitch@dads-pc 
MMMMMMMMMMNs..yMMMMMMMMMMMMMm: +NMMMMMMM   ------------- 
MMMMMMMMMN+    :mMMMMMMMMMNo` -dMMMMMMMM   OS: MX 17 Horizon x86_64 
MMMMMMMMMMMs.   `oNMMMMMMh- `sNMMMMMMMMM   Host: AB350N-Gaming WIFI 
MMMMMMMMMMMMN/    -hMMMN+  :dMMMMMMMMMMM   Kernel: 4.15.0-1-amd64 
MMMMMMMMMMMMMMh-    +ms. .sMMMMMMMMMMMMM   Uptime: 22 hours, 27 mins 
MMMMMMMMMMMMMMMN+`   `  +NMMMMMMMMMMMMMM   Packages: 2302 (dpkg) 
MMMMMMMMMMMMMMNMMd:    .dMMMMMMMMMMMMMMM   Shell: bash 4.4.12 
MMMMMMMMMMMMm/-hMd-     `sNMMMMMMMMMMMMM   Resolution: 2560x1440 
MMMMMMMMMMNo`   -` :h/    -dMMMMMMMMMMMM   DE: Xfce 
MMMMMMMMMd:       /NMMh-   `+NMMMMMMMMMM   WM: Xfwm4 
MMMMMMMNo`         :mMMN+`   `-hMMMMMMMM   WM Theme: Arc-Dark 
MMMMMMh.            `oNMMd:    `/mMMMMMM   Theme: Greybird-mx17 [GTK2] 
MMMMm/                -hMd-      `sNMMMM   Icons: Papirus [GTK2] 
MMNs`                   -          :dMMM   Terminal: xfce4-terminal 
Mm:                                 `oMM   Terminal Font: Courier 10 Pitch 13 
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM   CPU: AMD Ryzen 5 2400G (8) @ 3.600GHz 
                                           GPU: NVIDIA GeForce GTX 1080 
                                           Memory: 2397MiB / 14979MiB

Last edited by Tuishimi; 08-22-2018 at 10:25 PM. Reason: Format issues
 
Old 08-22-2018, 11:21 PM   #8
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,393

Rep: Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575
Is the 'xserver-xorg-input-libinput' package installed?

Code:
dpkg -l | grep xserver-xorg-input

Last edited by ferrari; 08-22-2018 at 11:22 PM.
 
1 members found this post helpful.
Old 08-22-2018, 11:22 PM   #9
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,393

Rep: Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575
Did you also read dolphin_oracle's advice?
 
Old 08-23-2018, 12:27 AM   #10
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Is the 'xserver-xorg-input-libinput' package installed?

Code:
dpkg -l | grep xserver-xorg-input
$ dpkg -l | grep xserver-xorg-input
ii xserver-xorg-input-all 1:7.7+19 amd64 X.Org X server -- input driver metapackage
ii xserver-xorg-input-evdev 1:2.10.5-1 amd64 X.Org X server -- evdev input driver
ii xserver-xorg-input-joystick 1:1.6.3-1+b1 amd64 X.Org X server -- joystick input driver
ii xserver-xorg-input-kbd 1:1.9.0-1+b1 amd64 X.Org X server -- keyboard input driver
ii xserver-xorg-input-libinput 0.23.0-2 amd64 X.Org X server -- libinput input driver
ii xserver-xorg-input-mouse 1:1.9.2-1+b1 amd64 X.Org X server -- mouse input driver
ii xserver-xorg-input-synaptics 1.9.0-1+b1 amd64 Synaptics TouchPad driver for X.Org server
ii xserver-xorg-input-wacom 0.34.0-1 amd64 X.Org X server -- Wacom input driver
 
Old 08-23-2018, 12:33 AM   #11
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
It's not a huge deal to me, it is just something I did not expect and noticed. It doesn't mess with me too much because at work I use Windows and we are not allowed to change our configuration, so stuck with non-natural scrolling there.
 
Old 08-23-2018, 12:47 AM   #12
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
I've tried: xinput --set-int-prop 9 "libinput Natural Scrolling Enabled" 8 1
But that does not seem to do it. I was thinking about installing the gnome settings daemon but... seems like overkill.
 
Old 08-23-2018, 01:07 AM   #13
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,393

Rep: Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575Reputation: 575
Quote:
I've tried: xinput --set-int-prop 9 "libinput Natural Scrolling Enabled" 8 1
But that does not seem to do it.
No, that won't work if libinput is not in use. There are files in /etc/X11/xorg.conf.d/, and they're ordered so that the libinput config file should take precedence. In any case 'xserver-xorg-input-evdev' should not be required for most users. Same applies to 'xserver-xorg-input-synaptics'.

Code:
ls -l /etc/X11/xorg.conf.d/
Code:
grep "Using input" /var/log/Xorg.0.log

Last edited by ferrari; 08-23-2018 at 01:08 AM.
 
1 members found this post helpful.
Old 08-23-2018, 01:16 AM   #14
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
$ ls -l /etc/X11/xorg.conf.d/
total 8
-rw-r--r-- 1 root root 1099 Mar 3 21:02 10-evdev.conf
-rw-r--r-- 1 root root 1240 Jul 26 2017 synaptics.conf


$ grep "Using input" /var/log/Xorg.0.log
[ 11.589] (II) Using input driver 'evdev' for 'Power Button'
[ 11.611] (II) Using input driver 'evdev' for 'Video Bus'
[ 11.612] (II) Using input driver 'evdev' for 'Power Button'
[ 11.614] (II) Using input driver 'evdev' for 'Logitech MX Anywhere 2S'
[ 11.616] (II) Using input driver 'evdev' for 'Logitech Logi H800 Headset'
[ 11.617] (II) Using input driver 'evdev' for 'USB-HID Keyboard'
[ 11.618] (II) Using input driver 'evdev' for 'USB-HID Keyboard'
[ 11.621] (II) Using input driver 'evdev' for 'ACPI Virtual Keyboard Device'
 
Old 08-23-2018, 01:18 AM   #15
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
So it looks like I am using evdev. And unless I am misunderstanding your previous note, I shouldn't be using evdev. Is that correct?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Proper way to get natural scrolling and double finger right click. 8JhN Debian 3 01-13-2018 11:48 AM
LXer: How to disable natural scrolling in Pear Linux LXer Syndicated Linux News 0 10-28-2012 04:31 PM
dhcpd inconsistent behavior designator Linux - Networking 0 02-13-2009 01:54 PM
Udev inconsistent behavior. jmoody Linux - Software 1 08-07-2008 01:50 PM
inconsistent bash behavior? kornelix Linux - Software 1 12-15-2005 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 06:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration