4

Yesterday I upgraded my system from 15.10 to 16.04. Knowing that the nautilus file browser will looks slightly different, I took screenshots before and after the upgrade. I did not think it would look this bad.

Old:

Old

New:

New

Is this a bug? More importantly, can I do anything on my part to make it look better?

  • Well there's definitely something weird with the borders. You could see what reinstalling Nautilus does: sudo apt-get install --reinstall nautilus && sudo dpkg-reconfigure nautilus. – TheWanderer Apr 22 '16 at 22:52
  • This didn't make a difference, unfortunately. I have noticed that if I use the default Ubuntu theme, the icons and text will be separated more (horizontally), but I still prefer the old look. – Luka Kotar Apr 23 '16 at 0:40
  • If you aren't using a default theme, I'd expect problems. It's probably not updated to work with 16.04 – TheWanderer Apr 23 '16 at 0:41
  • just to know to myself, which theme are you using? – Akronix May 22 '16 at 9:17
  • 1
    The actual package is still called nautilus, which is why I referred to it as such. – Luka Kotar Jun 9 '16 at 0:08
5

It turned out to be an issue with the theme I am using, however I was able to fix it by copying these lines (line 1340 to 1373) (the part under the "sidebar" comment) from the gtk-widgets.css file (/usr/share/themes/Ambiance/gtk-3.0/)...:

/***********
 * sidebar *
 ***********/
GtkPlacesSidebar.sidebar .view {
    background-color: shade (@bg_color, 0.95);

    color: @fg_color;
    text-shadow: 0 1px shade (shade (@bg_color, 0.95), 1.04);
}

GtkPlacesSidebar.sidebar:backdrop {
    color: mix (@fg_color, shade (@bg_color, 0.95), 0.2);
    text-shadow: 0 1px shade (shade (@bg_color, 0.95), 1.02);
}

GtkPlacesSidebar.sidebar row:selected {
    color: @selected_fg_color;
    text-shadow: 0 1px shade (@selected_bg_color, 0.7);
}

GtkPlacesSidebar.sidebar row:selected:backdrop {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (shade (@bg_color, 0.95), 0.94)),
                                     to (shade (shade (@bg_color, 0.95), 0.86)));
    border-top-color: shade (shade (@bg_color, 0.95), 0.88);

    color: @fg_color;
    text-shadow: 0 1px shade (shade (@bg_color, 0.95), 0.96);
}

GtkPlacesSidebar.sidebar .sidebar-icon {
    padding-left: 10px;
    padding-right: 10px;
}

... over the "sidebar" part in the gtk-widgets.css file of the theme I use:

/***********
 * sidebar *
 ***********/
...

This is how Nautilus looks now:

a busy cat

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.