Skip to content

Instantly share code, notes, and snippets.

@levihuayuzhang
Last active May 19, 2025 06:46
Show Gist options
  • Select an option

  • Save levihuayuzhang/bae90a372ac80f43a4237a3ff3a8f578 to your computer and use it in GitHub Desktop.

Select an option

Save levihuayuzhang/bae90a372ac80f43a4237a3ff3a8f578 to your computer and use it in GitHub Desktop.
Remove window button in Linux.
  1. move to right: gsettings set org.gnome.desktop.wm.preferences button-layout ':close,minimize,maximize'
  2. move to left: gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'
  3. remove: gsettings set org.gnome.desktop.wm.preferences button-layout :
  4. get current: gsettings get org.gnome.desktop.wm.preferences button-layout
  5. reset all settings dconf reset -f /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment