How to change Nemo's background color

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
kukamuumuka

How to change Nemo's background color

Post by kukamuumuka »

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

Re: How to change Nemo's background color

Post by minitux »

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

Code: Select all

nemo -q
without logout / login
Post Reply

Return to “Tutorials”