如何将鼠标灵敏度/加速设置恢复为默认值

Mic*_*all 7 mouse settings

我在系统设置\鼠标和触摸板中更改了鼠标灵敏度/加速度设置。如何将这些设置恢复为默认值?

mró*_*ówa 5

在 Ubuntu 12.10 中,每用户鼠标设置(以及其他设置)由设置守护程序管理,它们的配置存储在 dconf 数据库中。要恢复默认设置,您要设置新用户在这些字段上的值 = -1(或重置它们)。

使用dconf-editor(低级图形工具)设置默认每个用户设置的步骤:

  1. 启动dconf-editor。如果未安装,请使用sudo apt-get install dconf-editor.
  2. 浏览/选择目录(在左侧)到/org/gnome/settings-daemon/peripherals/mouse.
  3. motion-acceleration和 的值更改motion-trheshold为 -1。

使用dconf(低级终端/控制台工具)设置默认每用户设置的步骤:

  1. 检查它是否在那里(运行dconf help)。如果没有,请使用sudo apt-get install dconf.
  2. 在终端运行 dconf reset /org/gnome/settings-daemon/peripherals/mouse/motion-acceleration
  3. 在终端运行 dconf reset /org/gnome/settings-daemon/peripherals/mouse/motion-threshold

使用gsettings(高级终端/控制台工具)设置默认每用户设置的步骤:

  1. 检查它是否在那里(运行gsettings help)。如果没有,请使用sudo apt-get install libglib2.0-bin.
  2. 在终端运行 gsettings reset org.gnome.settings-daemon.peripherals.mouse motion-acceleration
  3. 在终端运行 gsettings reset org.gnome.settings-daemon.peripherals.mouse motion-threshold


小智 2

我发现删除 gconf mouse 文件夹会将所有内容重置为默认值。滑动条不会改变,必须缓存在 gnome 中的某个位置。

  1. 使用终端:

    打开终端(Ctrl++ AltT,执行以下命令:

    rm -fr ~/.gconf/desktop/gnome/peripherals/mouse

  2. 来自鹦鹉螺:

    Ctrl+L

    粘贴或键入~/.gconf/desktop/gnome/peripherals

    打开上下文菜单(右键单击鼠标)

    选择选项移至垃圾箱