Page 1 of 1

Will not save mouse settings

Posted: Mon Mar 12, 2012 7:07 pm
by jwandta
Every time I reboot I loose my mouse settings. Any one know what the fix is?

Re: Will not save mouse settings

Posted: Wed Mar 14, 2012 8:35 pm
by bugreprt
I have this problem as well! Please, someone help.

Re: Will not save mouse settings

Posted: Sat Mar 17, 2012 7:16 am
by luna paradox
I was having same problem with lxde 11 maybe this will help http://forums.linuxmint.com/viewtopic.p ... 21#p395991

Re: Will not save mouse settings

Posted: Sun Mar 18, 2012 8:42 am
by dxrobertson
When you make changes to the keyboard or mouse via Preferences>Keyboard and Mouse; the changes are saved in 2 files name "sms" for the mouse, and "sks" for the keyboard. These script files are then run to set the mouse and keyboard settings. Problem is that they are NOT run at each boot so the settings are not remembered.

To fix this myself, I added a desktop file to the autostart directory to run the sms script file (I dont have any custom keyboard settings). Desktop files in the autostart directory will run at each login. The autostart directory is located at /home/yourhome/.config/autostart, for "yourhome" being your own home directory name. The autostart directory was not created by default, so you may need to create it (use pcmanfm, right-click, create new-folder....).

!st, go ahead and make your mouse changes via Preferences>Keyboard and Mouse to create your sms file.

The desktop file I use is pasted below, make sure you replace "yourhome" with you actual home directory name. The Exec line is the important part of this file, it is what runs the sms script file:


[Desktop Entry]
Version=1.0
Name=sms
Comment=set synclient
Exec=/home/yourhome/.linuxmint/sms
Icon=mouse
Type=Application
Encoding=UTF-8
Name[en_US]=sms



Something else odd is that if you run Keyboard and Mouse again, the settings are not reflected there either. The mouse-keyboard application could probably use some minor improvements in this area.