linux learner here. (Running on a Debian
-derived distro)
My mouse sensitivity was too high so I was able to change it, but can't seem to get it to apply on startup.
I made /etc/init.d/mouse
When I run sudo /etc/init.d/mouse start
, the script works fine and the mouse settings are updated.
But I can't get it to run on startup. I tried running
sudo update-rc.d mouse defaults
, but it still doesn't update when I log out and back in again.
Not sure what else I'm missing in order to make it run on startup.
Related question:
Is /etc/init.d
even the right place to be putting it? Or is there some other startup folder that's better for configuration type changes? (As I read init.d is a folder for applications to be run on startup)
/etc/init.d
is for scripts that start and stop services on systems with SysV init (Upstart and systemd can be configured to run them, for compatibility). How do you change the sensitivity ? Unless you have a unusual setup, you are probably usingxinput
orxset
to configure Xorg ? In that case the correct way is to change the global Xorg configuration : this affects everyone using the computer, or add the command to your .xprofile (or equivalent for your DM/DE) if it is just for your user account./etc/init.d
is for system startup, which doesn't include the GUI startup. How are you setting the mouse sensitivity? If it's via an X11 command, you need to do it when X11 starts. Usually you would add a setting to/etc/X11/xorg.conf
.