diff --git a/roles/home-gui/files/gnome-setup.sh b/roles/home-gui/files/gnome-setup.sh index 78a7aed..14b6888 100644 --- a/roles/home-gui/files/gnome-setup.sh +++ b/roles/home-gui/files/gnome-setup.sh @@ -94,6 +94,28 @@ set_gnome_terminal_preferences () { } set_gnome_terminal_preferences +set_ptyxis_preferences () { + gsettings set org.gnome.Ptyxis interface-style 'light' + gsettings set org.gnome.Ptyxis restore-session false + gsettings set org.gnome.Ptyxis restore-window-size false + gsettings set org.gnome.Ptyxis default-columns 132 + gsettings set org.gnome.Ptyxis default-rows 43 + gsettings set org.gnome.Ptyxis audible-bell false + + _acp_ptyxis_profile="org.gnome.Ptyxis.Profile:/org/gnome/Ptyxis/Profiles/$(gsettings get org.gnome.Ptyxis default-profile-uuid | tr -d \')/" + gsettings set "$_acp_ptyxis_profile" preserve-container 'never' + gsettings set "$_acp_ptyxis_profile" preserve-directory 'never' + gsettings set "$_acp_ptyxis_profile" palette 'tango' + unset _acp_ptyxis_profile + + # Remove all shortcuts. + for key in $(gsettings list-keys org.gnome.Ptyxis.Shortcuts) + do + gsettings set org.gnome.Ptyxis.Shortcuts $key '' + done +} +set_ptyxis_preferences + set_gnome_text_editor_preferences () { if gsettings list-schemas | grep '^org.gnome.TextEditor$' > /dev/null then