Comment 27 for bug 1986450

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote (last edit ): Re: Visual artifact 1px vertical white line right side of the wallpaper

Without root access (or being worried of an update overwriting the changes), this is how I could fix it as a user.

I've placed this in my ~/.config/gtk-3.0/gtk.css file:

  window.desktopwindow.background:backdrop {
    box-shadow: none;
  }

Don't ask why it's gtk-3.0 and not 3.20 or 4.0, I have no clue. [Update: I've figured out, gnome-shell-extension-desktop-icons-ng is a gtk3 app.]

The "window.desktopwindow" selector is something I've found in gnome-shell-extension-desktop-icons-ng's source. It's a more specific selector than the one in the theme, hence takes precedence over that. Without this selector they would be of the same precedence, and for some reason the one in the theme is used, the one in the user's config is ignored. And GTK doesn't seem to support "!important".

This extra selector luckily gives some confidence that the rule probably doesn't have an effect on others. (However, the disclaimer from my previous comment still applies.)

In extension-manager toggle the said extension back and forth to apply the change.