Page 1 of 1

[Solved] How to change Nemo's background color?

Posted: Mon Nov 27, 2017 11:42 am
by kukamuumuka
My eyes do not like white background, so I would like to change its color. There is a tutorial, but it does not work in LMDE 2.

Re: How to change Nemo's background color?

Posted: Mon Nov 27, 2017 2:03 pm
by Penn

Code: Select all

.view {
    background-color: #000000;
    color: @theme_text_color;
}
LMDE2. I don't remember which Cinnamon/Nemo version this started in and it will probably change a few other minor things to black but of course you can choose a different color. I use #202020 but I like a dark theme.

Re: How to change Nemo's background color?

Posted: Mon Nov 27, 2017 4:02 pm
by kukamuumuka
Penn wrote:

Code: Select all

.view {
    background-color: #000000;
    color: @theme_text_color;
}
LMDE2. I don't remember which Cinnamon/Nemo version this started in and it will probably change a few other minor things to black but of course you can choose a different color. I use #202020 but I like a dark theme.
Obviously LMDE is immune all kind of attempts to change Nemo's background color ... or I just cannot change the color. :?

Re: How to change Nemo's background color?

Posted: Mon Nov 27, 2017 6:35 pm
by Penn
administrollaattori wrote:
Penn wrote:

Code: Select all

.view {
    background-color: #000000;
    color: @theme_text_color;
}
LMDE2. I don't remember which Cinnamon/Nemo version this started in and it will probably change a few other minor things to black but of course you can choose a different color. I use #202020 but I like a dark theme.
Obviously LMDE is immune all kind of attempts to change Nemo's background color ... or I just cannot change the color. :?
You didn't say which theme you wanted to alter so I just posted the line that I found works, which should already exist if you are using Mint-X.

/usr/share/themes/Mint-X/gtk-3.0/gtk-widgets.css in the section for * viewport *. It works in my LMDE2 install, assuming you want to change what I think you want to change. Actually, if you were to make it black "background-color" in Mint-X you would also want to change the "color" since the text might not be readable with black background.

If you aren't using Mint-X the section should still exist but I don't know where.

Re: How to change Nemo's background color?

Posted: Tue Nov 28, 2017 8:04 am
by kukamuumuka
I reseted everything in the /usr/share/themes folder, but Nemo's backgroud color seems to bolted to fcfcfc color. Everything else applications accept chancing the color, but not Nemo. Anyway it is not so big problem. Maybe it is a new feature, because I installed Cinnamon desktop a few days ago.

Code: Select all

Desktop: Cinnamon 3.4.6 (Gtk 3.14.5+4) Distro: LinuxMint 2 betsy 

[Solved] How to change Nemo's background color?

Posted: Thu Nov 30, 2017 10:22 am
by kukamuumuka
After long fight I found an easy solution, which works with every theme. :D
viewtopic.php?f=42&t=258354

I just made a ~/.config/gtk-3.0/gtk.css file, which content is:

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;
}
After making the file, logout and login. :D
gtk3-nemo-settings.png