As the question goes, How can I change the background of nautilus in Ubuntu 14.04 ??
I have already tried dconf-editor
, gtk-tweaker
, gnome-tweaker
. They change the color of some parts of some pannel but not the background of nautilus in icons view.
Best Answer
You can edit the
gtk-main.css
ornautilus.css
files.I recommend you to try this under your
~/.themes
and not system-wide. You may either change the background color of nautilus only or the base theme as a whole, which affects a lot more programs. In this example I will change the background color in the default Ubuntu Theme "Ambiance" (in Ubuntu Gnome use the folder Default instead) from white (#ffffff) to a light grey (#D8D8D8). Feel free to pick any other color.For comparison how it looks like in the beginning:
Create a copy in
~/
Create your
~/.themes
directory and copy the original Ambiance theme to it.Change the background color for the whole theme
If you want to change the base color for the whole theme, edit the base_color (Hex notation #??????) in
gtk-main.css
. This changes the background color of other applications (eg: gedit) as well.Change this line:
For this one:
To save the changes in nano, press Ctrl+O,Enter then Ctrl+X.
Effect:
Change the background color for nautlius only
If you want to change the background color for nautilus, edit
nautilus.css
.Add this lines to the beginning of the file.
To save the changes in nano, press Ctrl+O,Enter then Ctrl+X.
Effect
To see the changes you can restart nautilus, logout login or restart your machine.