답변1
고급 패턴 인식 도구를 사용할 수 있습니다 gsettings
.
$ gsettings list-recursively org.gnome.desktop.wm.keybindings | grep to-workspace
org.gnome.desktop.wm.keybindings move-to-workspace-5 @as []
org.gnome.desktop.wm.keybindings switch-to-workspace-5 @as []
$ for i in $(seq 9); do
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-$i "['<Shift><Super>$i']";
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-$i "['<Super>$i']";
done
예를 들어, 다른 작업에 대한 바로가기를 할당 해제합니다.
$ gsettings list-recursively | grep Super | grep 3
org.gnome.shell.keybindings switch-to-application-3 ['<Super>3']
$ for i in $(seq 5); do gsettings set org.gnome.shell.keybindings switch-to-application-$i "[]"; done
또는 다음과 같은 낮은 수준의 도구를 사용할 수 있습니다 dconf
.
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-5 "['<Super>5']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-5 "['<Super><Shift>5']"