Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am on Ubuntu 12.04 and installed gnome-shell, but I found the top bar is larger than it normally is, how can I change its size?

share|improve this question
up vote 2 down vote accepted
  1. Hold both "[Windows] key + [Alt]"
  2. "Right-click" the bar
  3. Click "Properties".

In the "General Tab", simply resize the bar.

share|improve this answer

Find the file /usr/share/gnome-shell/theme/gnome-shell.css

open it for editing by running the command

sudo gedit /usr/share/gnome-shell/theme/gnome-shell.css

then in that file right in the begining you'll see

/* default text style */
stage {
    font-family: cantarell, sans-serif;
    font-size: 11pt; 
    color: white;

no change font-size: 11pt to font-size: 9pt

and save the file, now you have changed the font size for the shell which will resize the top bar too, but now you need to restart the theme to load this file

so press alt + F2 and enter r and press enter

It shall work I'm not using ubuntu but it works for me on fedora

share|improve this answer
Is there any way to make a local change instead of overwriting system files? – xuhdev Jul 12 '14 at 17:37
Its the shell theme, so it was supposed to be edited in shell level I guess, I haven't been following the updates in gnome shell though – pahnin Jul 14 '14 at 9:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.