Score:3

How can I remove the gnome-terminal title bar using pixel saver in ubuntu 21.10

us flag

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 ? enter image description here

Random-Ubuntu-User avatar
cn flag
Please do not use a fragment setencelet for the question; please clarify what you are asking. Include a screenshot of what you are trying to get rid of.
24601 avatar
in flag
please read [ask] then [edit] accordingly to clarify your question.
Random-Ubuntu-User avatar
cn flag
Why do you want to get rid of that? That tells you which directory you are in. And if you have many terminal windows open, it will de harder to tell which one is in which directory without that. That also is the title of the window tab and without it, you can't move the window around or anything.
Score:1
cn flag

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).

us flag
That's good enough for me. Thanks vanadium
cn flag
Kay
tries this on ubuntu 22, it did not work
vanadium avatar
cn flag
It continues to work for me on Ubuntu 22.04. Quiting and restarting the terminal is needed of course.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.