You are not logged in.

#1 2016-02-14 11:39:01

Nektarios
Member
Registered: 2013-02-19
Posts: 90

libinput xorg: mouse doesn't move and xorg conf setting is not working

The mouse pointer doesn't move at all (buttons work though). I can fix this by executing the following:

xinput set-prop 10 'libinput Accel Speed' -0.746875

And ofcourse I want to make this setting permanent so I created this xorg conf:

/etc/X11/xorg.conf.d/50-mouse-acceleration.conf

Section "InputClass"
        Identifier "My Mouse"
        Driver "libinput" # using libinput
        MatchIsPointer "yes"
        Option "AccelProfile" "flat" # absolutely no acceleration
        Option "AccelSpeed" "-0.746875" # slow down to 810 DPI
EndSection

but when I logout-relogin or rebooting it is not applied and the mouse pointer doesnt move and I need to execute manually the xinput command (see above) to work again. Although Xorg is picking up that xorg conf:

grep -i "speed" /var/log/Xorg.0.log

[     7.346] (**) Option "AccelSpeed" "-0.746875"

anyone knows how to fix this setting permanently or why by default it doesn't move at all?

Installed packages:
xf86-input-evdev 2.10.1-3
xorg-server 1.18.1-3
xf86-input-libinput 0.16.0-1
libinput 1.1.7-1
xf86-input-libinput 0.16.0-1

Last edited by Nektarios (2016-02-14 11:40:02)

Offline

#2 2016-02-16 10:34:39

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: libinput xorg: mouse doesn't move and xorg conf setting is not working

First, when your mouse is not working, examine the contents of xinput --list-props 10 (or the number corresponding to your mouse) to see if there is some config applied or not. Have you tried to put "'libinput Accel Speed" in the xorg conf file? This is the name of the property you used in xinput.

Offline

#3 2016-02-21 11:55:21

Nektarios
Member
Registered: 2013-02-19
Posts: 90

Re: libinput xorg: mouse doesn't move and xorg conf setting is not working

olive wrote:

First, when your mouse is not working, examine the contents of xinput --list-props 10 (or the number corresponding to your mouse) to see if there is some config applied or not. Have you tried to put "'libinput Accel Speed" in the xorg conf file? This is the name of the property you used in xinput.

I did that and the "libinput Accel Speed" is -1. This happens everytime I login or unplug and replug the mouse. There's no indication of something that inderferes with the settings, it just defaults to -1 (which makes it not be able to move at all).

Here's the output:

$ xinput list-props 10
Device 'Kingsis Peripherals ZOWIE Gaming mouse':
	Device Enabled (150):	1
	Coordinate Transformation Matrix (152):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Accel Speed (285):	-1.000000
	libinput Accel Speed Default (286):	0.000000
	libinput Accel Profiles Available (287):	1, 1
	libinput Accel Profile Enabled (288):	0, 1
	libinput Accel Profile Enabled Default (289):	0, 1
	libinput Natural Scrolling Enabled (290):	0
	libinput Natural Scrolling Enabled Default (291):	0
	libinput Send Events Modes Available (269):	1, 0
	libinput Send Events Mode Enabled (270):	0, 0
	libinput Send Events Mode Enabled Default (271):	0, 0
	libinput Left Handed Enabled (292):	0
	libinput Left Handed Enabled Default (293):	0
	libinput Scroll Methods Available (294):	0, 0, 1
	libinput Scroll Method Enabled (295):	0, 0, 0
	libinput Scroll Method Enabled Default (296):	0, 0, 0
	libinput Button Scrolling Button (297):	2
	libinput Button Scrolling Button Default (298):	274
	libinput Middle Emulation Enabled (299):	0
	libinput Middle Emulation Enabled Default (300):	0
	Device Node (272):	"/dev/input/event1"
	Device Product ID (273):	6899, 1
	libinput Drag Lock Buttons (301):	<no items>
	libinput Horizonal Scroll Enabled (274):	1

I tried changing the setting "AccelSpeed" of the xorg.conf to "libinput Accel Speed" but it didn't work.

Offline

#4 2016-06-19 14:31:28

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 110
Website

Re: libinput xorg: mouse doesn't move and xorg conf setting is not working

Based on the 3rd bullet in CoC about necro-bumping (If you have a [...] corresponding solution, necrobumping can be appropriate.), I've decided to make the following post.

I've been having same issue as OP, and running the xinput command that sets accel speed does indeed fix this. OP wants to make this change permanent, but the xorg config does not work. It does not work for me either.

However, you can make this permanent by doing what is said here: https://wiki.archlinux.org/index.php/Mo … ing_xinput, to add the command to .xprofile.

This is my ~/.xprofile

sleep 3 && xinput --set-prop 9 'libinput Accel Speed' -0.3 &

and then you need, as the wiki on xprofile says, source this file in your .xinitrc. I've added the delay (sleep) because it didn't work without it. My guess is that it ran too early. Obviously you would need to change the number 9 to whatever your mouse is, and the -0.3 speed to whatever suits your needs.

Last edited by raggerv8 (2016-06-19 14:34:01)


Brottweiler@#archlinux

Offline

#5 2019-10-14 03:48:05

timrichardson
Member
Registered: 2013-02-12
Posts: 10

Re: libinput xorg: mouse doesn't move and xorg conf setting is not working

this old thread was recently referred to in an AskUbuntu question and answer which has a working example relevant to the original question here.

https://askubuntu.com/a/1180748/152287

Offline

#6 2019-10-14 06:41:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: libinput xorg: mouse doesn't move and xorg conf setting is not working

Thanks for sharing, however as OP hasn't been here in over 2 years I will close this now.

Closing.

Offline

Board footer

Powered by FluxBB