I like a few features of Nemo, but there seems to be a theme problem - at least when running under Ubuntu Gnome 14.04:

As you can see from this screenshot:


it's not possible to see which of the breadcrumbs is selected, and the barchart for available space seems to be colouring both full and free the same colour!

In the screenshot I have the "global dark theme" on, but it's the same problem without this.


I installed Nemo from the Mint packaged for Ubuntu archives. This updated it, made some more nemo-* packages available and fixed the breadcrumbs, but I was left with the useless disk space indicators. Here's how I fixed those:

Create your own GTK+3 theme as follows

First, duplicate the Adwaita theme with the name Adwaita-custom

$ cd /usr/share/themes
$ sudo bash  # easier than prepending every line with sudo...
# cp -ar Adwaita Adwaita-custom
# cd Adwaita-custom
# sed -i 's/Adwaita/Adwaita-custom/' index.theme

Now we add special CSS for Nemo

# cd gtk-3.0
# echo '@import url("apps/nemo-custom.css");' >>gtk.css
# mkdir apps
# $EDITOR apps/nemo-custom.css*

Now in that file, here's what I put:

/* For Places Sidebar diskfull indicators */

NemoPlacesTreeView {
    -NemoPlacesTreeView-disk-full-bg-color: #d9d9d9;
    -NemoPlacesTreeView-disk-full-fg-color: #4a90d9 ;
    -NemoPlacesTreeView-disk-full-bar-width: 2px;
    -NemoPlacesTreeView-disk-full-bar-radius: 1px;
    -NemoPlacesTreeView-disk-full-bottom-padding: 1px;
    -NemoPlacesTreeView-disk-full-max-length: 70px;

NemoPlacesTreeView:selected {
    -NemoPlacesTreeView-disk-full-bg-color: #d9d9d9;
    -NemoPlacesTreeView-disk-full-fg-color: shade(#4a90d9,0.5) ;

Save and exit your editor. You can now drop root privileges, too, and/or exit your terminal shell.

Now select Adwaita-custom as the GTK+ theme in the tweak tool ("Advanced Settings") app.

Here's mine now: screenshot

PS. Big thanks to Roman Raguet for the comment which linked to the original nemo css.

PPS. Oh, in my screenshot, you like my small titlebar eh? Yeah, nice. Here's how.

  • How did you know what styles to edit?
    – Seth
    Dec 25 '14 at 17:09
  • @seth Happy Christmas! Um, well I kinda just looked through the file for something that sounded related. disk-full was a bit of a give-away ;-) Dec 28 '14 at 18:21
  • Thanks for the tip! SInce the custom theme did not appear in the theme list in the System Settings dialogue, I used Unity Tweak Tool (apps.ubuntu.com/cat/applications/unity-tweak-tool) to select the custom theme.
    – lmeurs
    Aug 23 '15 at 10:04
  • @artfulrobot Dead links on this answer
    – Psionman
    Jun 18 '20 at 11:57
  • @Psionman not surprised, it's 6 years old. Fixed the last one for what that's worth, but I'd imagine all this is very out of date now. Jun 18 '20 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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