viewtopic.php?f=49&t=227410&sid=5aef897 ... 0#p1370340
The command works fine if I run it myself from a root command line.
I wanted to have this command run for all users and tried to do that by adding it to /etc/rc.local like this:
Code: Select all
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
xinput --set-prop 'MOSART Semi. 2.4G Wireless Mouse' 'Coordinate Transformation Matrix' 1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 3.0
exit 0
rc.local has these attributes:
-rwxr-xr-x 1 root root 568 May 19 07:50 /etc/rc.local
This is a recent, fresh install of Linux Mint 18.3 Sylvia.
If this is the wrong way to do this, what should I be doing?