Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to change the visual appearance of the marked resize border/areas in Nautilus:

enter image description here

If I knew how those elements are named in GTK+, I'm sure I could find out what I'd need to add to /usr/share/themes/Ambiance/gtk-3.0/apps/nautilus.css.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I changed the last entry in /usr/share/themes/Ambiance/gtk-3.0/apps/nautilus.css to:

NautilusWindow > GtkTable .pane-separator {
    background-color: shade (@dark_bg_color, 1.1);
    border-width: 0;
}

to get this:

enter image description here

Instead of using just a single background color, you can also use a gradient:

NautilusWindow > GtkTable .pane-separator {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                 from (shade (@dark_bg_color, 1.04)),
                                 to (shade (@dark_bg_color, 2.2)));
    border-width: 0;
}

If you want to remove the handle icon, you have to set the -unico-inner-stroke-color to transparent:

NautilusWindow > GtkTable .pane-separator {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                 from (shade (@dark_bg_color, 1.04)),
                                 to (shade (@dark_bg_color, 2.2)));
    border-width: 0;

    -unico-inner-stroke-color: @transparent;
}

You can also change the thickness of the resize pane by adding this to the CSS file (will make the resize pane 3 pixels thick):

NautilusWindow * {
    -GtkPaned-handle-size: 3;
}

The final thing looks like this:

enter image description here

Thanks to Andrea Cimitan for helping a bit. ;-)

share|improve this answer

Your Answer

 
discard

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.