How to change desktop icon text color on Linux Mint 17 Cinnamon Edition

I know, it’s an extremely stupid issue!

Here is the solution:

Just go to /usr/share/themes/Adwaita/gtk-3.0/ and add the following text to the file named gtk.css:

.nemo-desktop.nemo-canvas-item {
color: #FFFFFF;
text-shadow: 1px 1px @desktop_item_text_shadow;
}

.nemo-desktop.nemo-canvas-item:selected {
background-color: alpha(#D64A38, 0.9);
background-image: none;
color: #FFFFFF;
text-shadow: none;
}

You can replace Adwaita with whatever theme you’re using and the color codes to whichever colors you choose (#FFFFFF is for white, which is perfect for me)

Credit goes to herunotenchi on https://github.com/linuxmint/Cinnamon/issues/3226

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek
This entry was posted in Uncategorized. Bookmark the permalink.

9 Responses to How to change desktop icon text color on Linux Mint 17 Cinnamon Edition

  1. Nicolai's avatar Nicolai says:

    Thanks for share the solution. But if you open a not maximized window, the color of the Font change again to grey… In all themes. Exist any solution with always White text for the nemo desktop? Thanks again.

    Like

  2. Pturke's avatar Pturke says:

    Open a terminal window and past this in it.
    Logoff then login.

    echo “.nemo-desktop.nemo-canvas-item {
    color: #FFFFFF;
    text-shadow: 1px 1px @desktop_item_text_shadow;
    }”>~/.config/gtk-3.0/gtk-1.css

    Like

  3. Pturke's avatar Pturke says:

    Opps it should be:
    echo “.nemo-desktop.nemo-canvas-item {
    color: #FFFFFF;
    text-shadow: 1px 1px @desktop_item_text_shadow;
    }”>~/.config/gtk-3.0/gtk.css

    Like

  4. Diogo's avatar Diogo says:

    I try to modify the file as you say, but can’t because I get a message saying that it is protected…

    Like

  5. pcdummy's avatar pcdummy says:

    Thank you!, The solution of Pturke worked for me.

    Like

  6. Adam M's avatar Adam M says:

    Hello SoCRaT!
    I wondered if it’s possible to use this code to (instead of changing the font color) increase the text-shadow of my desktop-fonts? The shadow behind the letters are so small that i have a hard time reading what they say unless i have a really dark background. I’m a bit of a newbie in using Linux, so i’m far from a coder!

    Like

Leave a reply to Faiz Lotfy Cancel reply