Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

About Nemo file manager : How can I change font color of folder name in toolbar button ?

Because I deeply prefer Ambiance theme,so I want to keep it but it mess up with the theme of Nemo which is my favourite file manager as shown in attached picture.

How can I specifically tweak just folder name font's color of Nemo? Is there a way without recompiling the whole app?

Nemo - Ambiance-theme-not-so-fit-in font color on Folder name's button

share|improve this question
up vote 9 down vote accepted

You can try the following:

1) Open your favorite editor. (eg:gedit) and create a new file named "nemo.css", add these lines:

  • /* font path bar */


    NemoPathbarButton {

    color: #4c4c4c;


enter image description here

Add your favorite color in hexadecimal notation. I choose #4c4c4c (Grey color)

enter image description here

2) Save the file "nemo.css" in your Desktop.

3) Open a Terminal and type:

  • sudo cp /home/*your_user*/Desktop/nemo.css /usr/share/themes/Ambiance/gtk-3.0/apps/

4) Go to the /usr/share/themes/Ambiance/gtk-3.0/apps/ directory, and change the perms of the file.

  • cd /usr/share/themes/Ambiance/gtk-3.0/apps

  • sudo chmod 644 nemo.css

5) Edit the gtk.css to import the "nemo.css", add this line: @import url("apps/nemo.css");

  • sudo gedit /usr/share/themes/Ambiance/gtk-3.0/gtk.css

enter image description here

6) Kill nemo with (pkill nemo) or just Logout and Login to see the changes.

My case:

enter image description here

Hope this will helpful.

share|improve this answer
Hey, thanks. Where do you get to know the names of the elements for the CSS? I need to change the colour of the free space barcharts (because free and used are the same colour!) so I need to know what CSS selectors to use to target those. Thanks. – artfulrobot May 14 '14 at 8:46
@artfulrobot: you can get the names of the widget, classes etc from the nemo-style-fallback.css file.… – Roman Raguet May 14 '14 at 13:25
Thank you! I've solved my problem! (will post answer in a mo) – artfulrobot May 14 '14 at 13:53

Some good soul created a git repro for that problem:

Perform the following commands:

git clone
cd ubuntu-ambiance-nemo/
nemo -q

Than Nemo will look as it should: enter image description here

share|improve this answer

Thanks. Because of your guide about importing customized Stylesheet, I had found fantastic setting from

Code goes..

NemoPathbarButton {
background-image: -gtk-gradient(linear, left top, left bottom,
color-stop (0, shade(@dark_bg_color, 1.1)),
color-stop (.3, shade(@dark_bg_color, 1.1)),
color-stop (.7, shade(@dark_bg_color, 0.90)),
color-stop (1, shade(@dark_bg_color, 0.80)));
border-color: shade(@dark_bg_color, 0.7);
-NemoPathbarButton-border-radius: 3px;

NemoPathbarButton:active {
background-image: -gtk-gradient(linear, left top, left bottom,
color-stop (0, shade(@dark_bg_color, .8)),
color-stop (.3, shade(@dark_bg_color, .9)),
color-stop (1, shade(@dark_bg_color, 1.0)));
border-color: shade(@dark_bg_color, 0.7);

NemoPathbarButton:hover {
background-image: -gtk-gradient(linear, left top, left bottom,
color-stop (0, shade(alpha(@dark_bg_color, 1.4), 1.25)),
color-stop (.3, shade(alpha(@dark_bg_color, 1.4), 1.25)),
color-stop (.7, shade(alpha(@dark_bg_color, 1.4), 0.95)),
color-stop (1, shade(alpha(@dark_bg_color, 1.4), 0.85)));
border-color: shade(@dark_bg_color, 0.7);

Better look of Nemo with Ambiance

Thanks again so much !!

share|improve this answer
Thanks so much!!! This really helped me – Felipe Oct 18 '13 at 2:42

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.