How to change the titlebar's font size and height in Gnome Shell windows

2

Is it possible to customize the font size and other properties of the window titlebars in gnome-shell?

nilfric

Posted 2013-09-14T12:10:07.443

Reputation: 21

Answers

1

You can trim the title bar aspect with

  • Open Terminal

  • Create file "gtk.css", on /home/(userdirectory)/.config/gtk-3.0/gtk.css

    $ cd /home/(userdirectory) //change with your username directory $ gedit .config/gtk-3.0/gtk.css

  • insert code below

    .header-bar.default-decoration { padding-top : 4px; padding-bottom : 4px; } .header-bar.default-decoration .button.titlebutton { padding-top : 2.5px; padding-bottom : 2.5px; }

  • Quit and Save Gedit

  • Restart Gnome Shell (Alt+F2, r)

Ratman

Posted 2013-09-14T12:10:07.443

Reputation: 11

0

Install gnome-tweak-tool and under "Fonts" there is "window title font"

enter image description here

khajvah

Posted 2013-09-14T12:10:07.443

Reputation: 750

Thanks that works for font type and size, but I also want to change the titlebars height, color and maybe icons. – nilfric – 2013-09-14T13:03:01.440

@nilfric For that you have to use themes. Google themes or how to create your own theme – khajvah – 2013-09-14T13:12:37.557

Hmm, I hoped there would be a way to change this in gnome-session.css, but I can't find any class that references the titlebar. – nilfric – 2013-09-14T14:10:10.763