How to make the title bars in Gnome Shell much thinner than the default.

Posted: June 8, 2017. At: 10:44 AM. This was 8 months ago. Post ID: 10818
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

The title bars in the Gnome Shell desktop environment by default are much too thick. This simple code sample will make them thinner. Just create this file.


Then put this code into it.

headerbar {
    min-height: 0px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 2px;
    padding-left: 2px;
headerbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
    margin-top: 0px;
    margin-bottom: 0px;
.titlebar {
    min-height: 0px;

Log out of Gnome Shell and back in again. I could not use the restart command on Wayland. Then the titlebars will be much thinner than default. This is a great way to improve the desktop environment on a smaller screen.

No comments have been made. Use this form to start the conversation :)

Leave a Reply