Ubuntu – Nemo file manager: How to change font color of folder names in toolbar button

buttoncolorsfilemanagerfontsnemo

How can I change font color of folder names in the toolbar button in Nemo file manager?

Because I strongly prefer Ambiance theme, I want to keep it, but it messes up the theme of Nemo which is my favourite file manager as shown.

How can I specifically tweak just folder name fonts 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

Best Answer

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 */
.nemo-pathbar-button,    
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, and add a line:

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

add

 @import url("apps/nemo.css");

enter image description here

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

In my case:

enter image description here

Related Question