cma*_*t85 6 gnome window-manager shortcuts
Gnome 默认使用 Alt+LeftMouse 拖动来移动窗口 - 我讨厌这个功能,它破坏了我使用的一些应用程序。在 Gnome2 中,您可以在其中一个设置对话框中更改修饰键,但我在 Gnome3 中找不到相应的修饰键,有人能指出我正确的方向吗?
GNOME Shell 窗口管理器 Mutter 基于 Metacity (GNOME 2)并使用相同的设置。它们位于 GConf 中/apps/metacity。
使用gconf-editor或gconftool-2将/apps/metacity/general/mouse_button_modifier设置更改为您首选的修饰符。例如,要选择“Windows”键,我使用:
gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string "<Super>"
Run Code Online (Sandbox Code Playgroud)
在最近的 GNOME 版本中,配置是通过 GSettings 访问的,Linux 使用dconf后端。要通过 GSettings(推荐)更改设置,请使用:
gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier "'<Super>'"
Run Code Online (Sandbox Code Playgroud)
要将其直接写入 dconf 后端,请使用:
dconf write /org/gnome/desktop/wm/preferences/mouse-button-modifier "'<Super>'"
Run Code Online (Sandbox Code Playgroud)
您也可以在Windows下的 GNOME Tweak Tool 中找到它?用于窗口单击操作的修饰符。
更改应立即生效。
| 归档时间: |
|
| 查看次数: |
3113 次 |
| 最近记录: |