How to return the previous behaviour of desktop icons selection

Can anyone help me? What should I add into “/home/user/.config/gtk-3.0/gtk.css” to return the previous behavior of desktop icons selection. With xfce 4.20 there appeared a white background on mouse hover.
Снимок экрана_2025-02-05_14-01-51.png
I would like to make it transparent again.


P.S. Why manjaro team has stopped to maintain the consistency of the manjaro UI theme? I remember, that icon (hide windows) should also be in #2eb398 color )
Снимок экрана_2025-02-05_14-02-29.png

One of these codes, should do the trick:

XfdesktopIconView.view  {
  background-color: transparent; 
}

  XfdesktopIconView.view:active {
    background: transparent;
}

  XfdesktopIconView.view .label {
    background: transparent;

}

EDIT:

Then execute

xfdesktop --quit ; xfdesktop &

EDIT2:

Also try:

XfdesktopIconView.view .label:hover { backgorund-color: transparent; }

Since you said

Oh. OK, we are waiting for the Matcha theme update (Xfce 4.20 issues · Issue #238 · vinceliuice/Matcha-gtk-theme · GitHub). Sorry, manjaro team :slight_smile:


@D.Dave Thank you, you showed me the right css class. Actually the following addition to gtk.css fixes the icon behavior:

XfdesktopIconView:selected:hover {
  background-color: #29a189;
}

XfdesktopIconView:hover {
  background-color: transparent;
  color: white;
}

I’m glad you solved, so you can mark my reply as solution.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.