How can I remove the gnome-terminal title bar using pixel saver in ubuntu 21.10
I have a gnome extension pixel saver. When maximizing the terminal, I expect the title bar to be merged with the top bar. However, that does not happen in ubuntu 21.10. How can I change this ?
Solution 1:
You can achieve what you want provided you change the terminal to use a legacy (classical) titlebar instead of the current CSD (Client Side Decorations) titlebar. The classical title bar only contains the title of the terminal, and no buttons. It will be hidden by the extension "Pixel Saver" when you maximize the terminal.
The option is not exposed in the graphical user interface. So you will need the terminal or dconf-editor to change the setting. With the terminal, this is how you disable the CSD titlebar in order to revert to a classical title bar:
gsettings set org.gnome.Terminal.Legacy.Settings headerbar false
This will cause the traditional menu bar to appear. You can hide that by default in "Preferences - General": uncheck "Show menubar by default in new terminals". While you are at it, you may prefer setting that through a command as well:
gsettings set org.gnome.Terminal.Legacy.Settings default-show-menubar false
To revert to the default settings in case you change your mind, run the same commands, however change set
by reset
and leave out the final argument (false
in both cases).