LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-23-2018, 02:39 AM   #16
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,841

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148

Quote:
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?
Yes, I think you'd get better behaviour with libinput. I'm surprised that 'xserver-xorg-input-libinput' doesn't provide /etc/X11/xorg.conf.d/40-libinput.conf (or similar) as it does with other distros.

For example, my install (openSUSE Leap 15.0) has 40-libinput.conf with the following...
Code:
# Match on all types of devices but joysticks
Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "Tapping" "On"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection
You could create this file manually, then restart the X-server (or just reboot), and check that libinput is now handling the mouse etc.

Last edited by ferrari; 08-23-2018 at 03:18 AM.
 
1 members found this post helpful.
Old 08-23-2018, 10:44 AM   #17
Jerry3904
LQ Newbie
 
Registered: May 2018
Distribution: MX Linux 17.1
Posts: 22

Rep: Reputation: Disabled
Not sure that is appropriate for Xfce 4.12 on Debian Stable. This comment from Dolphin_Oracle may be of interest:

Quote:
We actually added the 10-evdev.conf during MX-17 development to fix the otherwise non-functional mouse acceleration settings in Xfce-mouse-settings.

We looked at libinput and it is installed, but the 10-evdev.conf file probably forces use of the evdev drivers. The Xfce mouse settings (at least under our version from Debian) do not work very well with libinput (wheel settings could not be changed at all in some cases). Maybe that will be different in Buster.
 
Old 08-23-2018, 02:05 PM   #18
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,841

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
That may be the case but for natural scrolling I still think it's worth a shot, and just use libinput CLI to adjust the mouse (if there are problems with configuring via the DE).
 
Old 08-24-2018, 12:30 AM   #19
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
I will give it a shot over the weekend. Probably Sunday. I've got tons of work and kid shuffling stuff going on Friday/Friday night and Saturday.

[edit]

Since my libinput version is 0.23.0-2, should the file be named differently, like 23-libinput.conf? Or does the version have nothing to do with the file name?

Last edited by Tuishimi; 08-24-2018 at 12:32 AM.
 
Old 08-24-2018, 02:16 AM   #20
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,841

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
The version has nothing to do with it. Just an ordering process used by Xorg to determine precedence.
 
Old 08-24-2018, 04:34 PM   #21
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
Well I'll be a... It worked!

So far every app I have tried scrolls "naturally."

Thank you everyone for your input (ha ha)!

So I created 40-libinput.conf, I edited 10-evdev.conf and commented out the mouse section, added a mouse section into libinput with the extra natural scroll option and rebooted. So far so good.
 
Old 08-24-2018, 04:36 PM   #22
Tuishimi
LQ Newbie
 
Registered: Aug 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
Code:
$ cat /etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Option "NaturalScrolling" "true"
        Driver "libinput"
EndSection


$ cat /etc/X11/xorg.conf.d/10-evdev.conf
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

#Section "InputClass"
#        Identifier "evdev pointer catchall"
#        MatchIsPointer "on"
#        MatchDevicePath "/dev/input/event*"
#        Option "NaturalScrolling" "true"
#        Driver "evdev"
#EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
 
Old 08-24-2018, 06:16 PM   #23
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,841

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Quote:
Well I'll be a... It worked!

So far every app I have tried scrolls "naturally."

Thank you everyone for your input (ha ha)!
As I expected it would. There should have been no need to explicitly edit the 10-evdev.conf file though. The X-server should apply the directives from 40-libinput by precedence. Anyway, good to read that natural scrolling is now working for you.

Last edited by ferrari; 08-24-2018 at 07:46 PM.
 
Old 10-17-2019, 07:03 PM   #24
Georgerx7
LQ Newbie
 
Registered: Oct 2019
Posts: 1

Rep: Reputation: Disabled
Mouse Scrolling Fixed MX Linux

I fixed mine by going into settings and selecting "mouse and touchpad" and then click > touchpad > scrolling mode > two-finger scrolling.
 
  


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 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 10:48 AM
LXer: How to disable natural scrolling in Pear Linux LXer Syndicated Linux News 0 10-28-2012 03:31 PM
dhcpd inconsistent behavior designator Linux - Networking 0 02-13-2009 12:54 PM
Udev inconsistent behavior. jmoody Linux - Software 1 08-07-2008 12:50 PM
inconsistent bash behavior? kornelix Linux - Software 1 12-15-2005 11:06 AM

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

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