Skip to main content Link Menu Expand (external link) Document Search Copy Copied

demo-mouse-button-modifier

Project

建構基礎

設定「滑鼠按鍵」搭配「鍵盤按鍵」,用來「移動視窗」或「更改視窗大小」

gnome-shell

實作程式碼片段

settings set org.gnome.desktop.wm.preferences mouse-button-modifier "<Super>"

gsettings set org.gnome.desktop.wm.preferences resize-with-right-button true

cinnamon

實作程式碼片段

gsettings set org.cinnamon.desktop.wm.preferences mouse-button-modifier "<Super>"

gsettings set org.cinnamon.desktop.wm.preferences resize-with-right-button true

mate

實作程式碼片段

gsettings set org.mate.Marco.general mouse-button-modifier "<Super>"

gsettings set org.mate.Marco.general resize-with-right-button true

xfce

實作程式碼片段

Super

xfconf-query --channel xfwm4 --property "/general/easy_click" --set "Super" --type "string" --create

Alt

xfconf-query --channel xfwm4 --property "/general/easy_click" --set "Alt" --type "string" --create

To Check

grep 'easy_click' ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml