Hi,
I use xinput to change properties of my mouse. But after reboot, all changes were lost.
I ever tried /etc/init.d/after.local, but it doesn’t work.
Thanks.
Hi,
I use xinput to change properties of my mouse. But after reboot, all changes were lost.
I ever tried /etc/init.d/after.local, but it doesn’t work.
Thanks.
That’s because they need to be executed with an active X-session running. Instead, you could add the commands within your user’s X-session by running them via a desktop ‘autostart’ file.
https://wiki.archlinux.org/index.php/autostarting#Desktop_entries
Another option would be to add them to the X startup scripts.
E.g. /etc/X11/xdm/Xsession is run to start the user session (and desktop), and /etc/X11/xdm/Xsetup is run when the graphical display is set up, i.e. this will also affect the login screen.
Or ~/.xinitrc, which is also executed when the X user session starts (system-wide location: /etc/X11/xinit/)
I have created the .desktop file to execute xinput and set the desktop file as running at system boot. Ok, I get settings when I reboot the system. But when I created the desktop file to execute xset m 100, I still lost my settings when I reboot.
What desktop are you using?
It might override the mouse acceleration settings with its own.
My desktop is gnome.
Then I would suggest trying to change the mouse speed/acceleration in gnome-control-center.
There is no mouse configuration entry in mouse and touchpad under gnome-control-center.
You mean it looks different than mine?
http://wstaw.org/m/2018/01/17/mouse_1.png
I’m not using GNOME, so probably cannot help you there though.
But I am using Leap 42.3…
Maybe try adding a delay to your xset call, something like this:
sleep 5; xset -m 100
What changes did you do exactly?
Maybe you made a mistake and xset is not run at all.
(I suppose it works if you run xset manually…)
Is the libinput driver managing your touchpad device? Check via the Xorg log eg
grep "Using input driver" /var/log/Xorg.0.log
grep "Using input driver" /var/log/Xorg.0.log
16.951] (II) Using input driver 'libinput' for 'Power Button'
16.974] (II) Using input driver 'libinput' for 'Video Bus'
17.002] (II) Using input driver 'libinput' for 'Power Button'
17.014] (II) Using input driver 'libinput' for 'Sleep Button'
17.062] (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Kova'
17.092] (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Kova'
17.158] (II) Using input driver 'libinput' for 'USB HD Webcam'
17.183] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
17.238] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
17.279] (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Kova'
Ok that checks out as expected. I’m not a Gnome user, but as this Fedora thread described you’ll probably need to modify the touchpad settings via dconf…
https://ask.fedoraproject.org/en/question/10975/where-are-the-touchpad-settings/
- Open terminal and launch dconf-editor
- select org/gnome/desktop/peripherials/touchpad/tap-to-click