It used to be that you could make a file ~/.xinput.d/en_US
and put xinput
commands in there, such as enabling drag lock. Now, for some reason, in 13.04 this does not work. Anyone know why this changed, and how to set these? I suppose I could just put the xinput commands in a script file and have it execute upon login. I'm just wondering why the old method stopped working.
EDIT:
Current file /etc/X11/xinit/xinput.d/en_US
:
xinput set-prop 17 316 1
xinput set-prop 17 317 350
But I've realized that for some reason, the touchpad ID changes. Right now it's 15. Also, the actual properties such as "Drag Lock" can change. So this method doesn't work.
It should work if you put the file in
/etc/X11/xinit/xinput.d
I guess the default
xinput.d
no longer sources the~/xinput.d
.The
/etc/X11/xinit/xinput.d
directory is used byim-config
sinceim-config
is:This allows you to select an input method, by running the scripts saved in
/etc/X11/xinit/xinputrc
. Hence it should be installed for it to work. Then you can configure system wide or user preferences using the/etc/X11/xinit/xinputrc
or~/.xinputrc
. For thexinput.d
replacement, I would go for the system wide/etc/X11/xinit/xinput.d/
since it's already there.I don't see any relevant change in any of the sources for xorg or im-config that suggest that
~/.xinput.d
won't work. You should also check that thexinput
package is installed, soxinput set-props
can work.