Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-02-29 03:57:43

Time7man
Member
Registered: 2020-02-29
Posts: 4

Desktop icon text

How do I make the desktop icon text nontransparent in the new xfce? I did it once on 4.12 but I don't remember how I did it.

Offline

#2 2020-02-29 13:55:22

Aravisian
Member
Registered: 2019-08-17
Posts: 410

Re: Desktop icon text

Time7man wrote:

How do I make the desktop icon text nontransparent in the new xfce? I did it once on 4.12 but I don't remember how I did it.

Can you take a look in your ~.config/gtk-3.0 folder and see if there is a gtk.css with contents?
What theme are you using?

Offline

#3 2020-02-29 14:40:09

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Desktop icon text

There is still some information here about theming xfdesktop in 4.12 (gtk2).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2020-02-29 15:50:55

Aravisian
Member
Registered: 2019-08-17
Posts: 410

Re: Desktop icon text

ToZ wrote:

There is still some information here about theming xfdesktop in 4.12 (gtk2).

Toz, I think he's asking about 4.14.

Offline

#5 2020-02-29 15:59:48

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Desktop icon text

I see. Here is a thread that discusses the gtk3 version of those parameters.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2020-03-05 16:35:07

Time7man
Member
Registered: 2020-02-29
Posts: 4

Re: Desktop icon text

Ok. I created the css file in /home/USER/.config/gtk-3.0/gtk.css. Is it possible to set it to use whatever the colors are for the current theme I'm using?

I'm assuming this is all that's needed? P.S. I'm using the bluementa theme

/* default label state */
  XfdesktopIconView.view .label {
    background: blue;
    text-shadow: 1px 1px 2px black; }

/* active (selected) label state */
  XfdesktopIconView.view .label:active {
    background: red;
    text-shadow: 1px 3px 3px blue; }

Offline

#7 2020-03-06 00:45:35

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Desktop icon text

Time7man wrote:

Is it possible to set it to use whatever the colors are for the current theme

Yes, use "color: #xxxxxx". Example:

/* default label state */
  XfdesktopIconView.view .label {
    color: red;
    background: blue;
    text-shadow: 1px 1px 2px black; }

/* active (selected) label state */
  XfdesktopIconView.view .label:active {
   color: rgb(34,222,16);
    background: red;
    text-shadow: 1px 3px 3px blue; }

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB