停用按鍵綁定「Super_L」開啟「Main Menu」
主題
設定指令
執行下面指令,停用按鍵綁定「Super_L」開啟「Main Menu」
gsettings set org.gnome.mutter overlay-key ''
在「Gnome Shell」這個設定,是觸發「開啟 Overlay」
在「Elementary OS」這個設定,是觸發「開啟 Main Menu」
恢復指令
若要恢復原本的設定,則是可以執行下面的指令
gsettings reset org.gnome.mutter overlay-key
或是執行下面的指令,恢復原本的設定
gsettings set org.gnome.mutter overlay-key 'Super_L'
執行下面的指令,則是觀看目前的設定值
gsettings get org.gnome.mutter overlay-key
顯示
'Super_L'
相關議題
相關連結
相關連結 |
---|
Ubuntu Gnome Shell 探索筆記 / 停用按鍵綁定「Super_L」開啟「Overlay」 |
gschema
gschema |
---|
/usr/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml |
執行下面指令
grep 'overlay-key' /usr/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml -A 12
顯示
<key name="overlay-key" type="s">
<default>'Super_L'</default>
<summary>Modifier to use for extended window management operations</summary>
<description>
This key will initiate the “overlay”, which is a combination window
overview and application launching system. The default is intended
to be the “Windows key” on PC hardware.
It’s expected that this binding either the default or set to
the empty string.
</description>
</key>