How to change Nemo's background color

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
User avatar
administrollaattori
Level 14
Level 14
Posts: 5460
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

How to change Nemo's background color

Post by administrollaattori » Thu Nov 30, 2017 10:15 am

If you do not like the Nemo's default backgroud color, the color can change at least the next way:

Make a ~/.config/gtk-3.0/gtk.css file.

Code: Select all

nano ~/.config/gtk-3.0/gtk.css
... the contents

Code: Select all

.nemo-desktop.nemo-canvas-item {
  color: #ffffff;
}
 
.nemo-desktop.nemo-canvas-item:selected {
  background-color: alpha (#e0d963, 0.2);
}
 
NemoWindow .sidebar, NemoWindow .sidebar .view {
  background-color: #444;
  color: #eee; /* light grey */
}

NemoWindow .view {
    background-color: #76ecd7;
    color: #0d0c0c;
}
... the fist lines are optitional and crucials lines are

Code: Select all

NemoWindow .view {
    background-color: #76ecd7;
    color: #0d0c0c;
}
gtk3-nemo-settings.png
After editing save, quit and logout and login.

If wanting to restore default colors, just delete ~/.config/gtk-3.0/gtk.css file.

For choosing a good color, GIMP's colorchooser is a good tool.
gimp_colorchooser.png

minitux
Level 5
Level 5
Posts: 860
Joined: Tue Sep 12, 2017 10:05 am

Re: How to change Nemo's background color

Post by minitux » Fri Dec 01, 2017 2:58 pm

Nice, just used the tutorial, to see the changes, just

Code: Select all

nemo -q
without logout / login

Post Reply

Return to “Tutorials”