How do I restore my mouse sensitivity/acceleration settings to their defaults
I changed the mouse sensitivity/acceleration settings in System Settings\Mouse and Touch Pad. How do I restore these settings back to their default values?
Solution 1:
In Ubuntu 12.10 per-user mouse settings (and others too) are managed by settings daemon, and their configuration is stored in dconf database. To restore the default settings you want to set the values new users have on those fields = -1 (or resetting them).
Steps to set default per-user settings, using dconf-editor
(low-level graphical tool):
- Launch
dconf-editor
. If not installed, install usingsudo apt-get install dconf-editor
. - Browse/choose directory (on the left side) to
/org/gnome/settings-daemon/peripherals/mouse
. - Change values of
motion-acceleration
andmotion-trheshold
to -1.
Steps to set default per-user settings, using dconf
(low-level terminal/console tool):
- Check if it's there (run
dconf help
). If not, install usingsudo apt-get install dconf
. - Run in terminal
dconf reset /org/gnome/settings-daemon/peripherals/mouse/motion-acceleration
- Run in terminal
dconf reset /org/gnome/settings-daemon/peripherals/mouse/motion-threshold
Steps to set default per-user settings, using gsettings
(high-level terminal/console tool):
- Check if it's there (run
gsettings help
). If not, install usingsudo apt-get install libglib2.0-bin
. - Run in terminal
gsettings reset org.gnome.settings-daemon.peripherals.mouse motion-acceleration
- Run in terminal
gsettings reset org.gnome.settings-daemon.peripherals.mouse motion-threshold
Solution 2:
What I've found is that deleting the gconf mouse folder resets everything to defaults. The slider bars don't change, must be cached somewhere in gnome.
-
Using the terminal:
Open a terminal (Ctrl+Alt+T), perform the following command:
rm -fr ~/.gconf/desktop/gnome/peripherals/mouse
-
From Nautilus:
Press Ctrl+L
Paste or type
~/.gconf/desktop/gnome/peripherals
Open context menu (right click of mouse)
Select the option Move to Trash