Wrigs

set-cinnamon-keybindings

Nov 1st, 2025 (edited)
985
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.21 KB | None | 0 0
  1. # Keyboard Shortcuts ===========================================================
  2.  
  3. # Navigation - MOVE WINDOW COMMANDS
  4. gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-1 "['<Control><Alt>KP_1']" &&
  5. gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-2 "['<Control><Alt>KP_2']" &&
  6. gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-3 "['<Control><Alt>KP_3']" &&
  7. gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-4 "['<Control><Alt>KP_4']" &&
  8. gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-5 "['<Control><Alt>KP_5']" &&
  9. gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-6 "['<Control><Alt>KP_6']" &&
  10. gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-7 "['<Control><Alt>KP_7']" &&
  11. gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-8 "['<Control><Alt>KP_8']" &&
  12. gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-9 "['<Control><Alt>KP_9']"
  13.  
  14.  
  15. gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-left "['<Control><Alt>Left']" &&
  16. gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-right "['<Control><Alt>Right']"
  17.  
  18.  
  19. # Navigation - SWITCH WINDOW COMMANDS
  20. gsettings set org.cinnamon.desktop.keybindings.wm switch-to-workspace-1 "['<Control><Super>KP_1']" &&
  21. gsettings set org.cinnamon.desktop.keybindings.wm switch-to-workspace-2 "['<Control><Super>KP_2']" &&
  22. gsettings set org.cinnamon.desktop.keybindings.wm switch-to-workspace-3 "['<Control><Super>KP_3']" &&
  23. gsettings set org.cinnamon.desktop.keybindings.wm switch-to-workspace-4 "['<Control><Super>KP_4']" &&
  24. gsettings set org.cinnamon.desktop.keybindings.wm switch-to-workspace-5 "['<Control><Super>KP_5']" &&
  25. gsettings set org.cinnamon.desktop.keybindings.wm switch-to-workspace-6 "['<Control><Super>KP_6']" &&
  26. gsettings set org.cinnamon.desktop.keybindings.wm switch-to-workspace-7 "['<Control><Super>KP_7']" &&
  27. gsettings set org.cinnamon.desktop.keybindings.wm switch-to-workspace-8 "['<Control><Super>KP_8']" &&
  28. gsettings set org.cinnamon.desktop.keybindings.wm switch-to-workspace-9 "['<Control><Super>KP_9']"
  29.  
  30. gsettings set org.cinnamon.desktop.keybindings.wm switch-to-workspace-left "['<Control><Super>Left']" &&
  31. gsettings set org.cinnamon.desktop.keybindings.wm switch-to-workspace-right "['<Control><Super>Right']"
  32.  
  33. gsettings set org.cinnamon.desktop.wm.preferences num-workspaces 6
  34.  
  35. # Set keybinding for Brave browser =============================================
  36. gsettings set org.cinnamon.desktop.keybindings custom-list "['/org/cinnamon/desktop/keybindings/custom-keybindings/custom0']"
  37. gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom0/ name "browser"
  38. gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom0/ command "brave-browser"
  39. gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom0/ binding "['<Super>b']"  
  40.  
  41. # View Keybindings =============================================================
  42. gsettings list-recursively | fgrep org.cinnamon.desktop.keybindings
Advertisement