this post was submitted on 10 Mar 2024
82 points (96.6% liked)

Linux

48044 readers
780 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Since I upgraded all my devices to KDE 6 I have this weird issue with my laptop and media PC. The software update icon that sits in the tray and starts Discover seems to think I'm using a light plasma theme. It's only this one icon, and it's the same for all icon themes. I do not have this issue on my desktop, which has the same updates (comparison in screenshot).

I have tried the following to no avail:

  • switching between multiple icon themes
  • switching between KDE light and dark plasma themes
  • deleting ~/.share/icon-cache.kcache

Anyone have any further ideas?

OS: Nobara release 39 (Thirty Nine) x86_64
Kernel: 6.7.6-201.fsync.fc39.x86_64
Shell: bash 5.2.26
Resolution: 2560x1440
DE: Plasma 6.0.1
WM: kwin
Theme: [Plasma], Breeze [GTK2/3]
Icons: Papirus [Plasma], Papirus [GTK2/3]

all 11 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 8 months ago* (last edited 8 months ago) (1 children)

So I had some time to do some further testing into this issue and I made some "progress".

On my desktop, who has the correctly displayed light icons for the dark plasma theme: if I straight up remove ~/.cache (rename it to ~/cache.bak) and reboot, several icons become black (update, gajim and steam). Meaning that somewhere in that cache (but not ~/.share/icon-cache.kcache, since I tried that already), the correct display of icons is located.

I'll try to pinpoint it further and report back if I find anything.

[–] [email protected] 5 points 8 months ago* (last edited 8 months ago) (1 children)

I managed to track it down further. The issue is that some icons (Discover, Gajim, Steam) pull their light/dark info from the “Colours” instead of the “Plasma Style”. So If you mix and match like I did (Breeze Twilight, i.e. Breeze Dark Plasma Style with Light Colours), then most icons will appear light due to the Dark Plasma Style, but some will be dark because they get their Light/Dark info from the Light Colours.

That information seems to be cached in ~/.cache/plasmashell/qmlcache/. When I delete that folder I get the broken icons. I f I use the cached folder from my desktop it’s fixed. I’m guessing some apps just are broken currently in that regard and I’m just “lucky”, that my desktop didn’t correctly flush the plasmashell cache

[–] [email protected] 7 points 8 months ago* (last edited 8 months ago) (1 children)


![](https://i.imgur.com/un2xWjH.png)

[–] [email protected] 5 points 8 months ago (3 children)

I had many issues since the upgrade. After getting tired of hunting them down individually, my one-time solution was to nuke my old configs and simply start anew. Fresh home, .config, .local.

[–] [email protected] 2 points 8 months ago (1 children)

I'll try setting up a new user. Maybe I can just use a new profile and migrate some of configs from the old one.

[–] [email protected] 2 points 8 months ago (1 children)

Thanks for putting the image in line so it doesn't look stupid.
I'm also running into into small bugs and will likely be nuking some of my kde configs.
I did think of one thing though, you should ensure that the plasma5support package is installed, I'm sure that it is, but double check.

[–] [email protected] 2 points 8 months ago* (last edited 8 months ago)

dnf info plasma5support

Installed Packages
Name         : plasma5support
Version      : 6.0.1
Release      : 1.fc39
Architecture : x86_64
Size         : 432 k
Source       : plasma5support-6.0.1-1.fc39.src.rpm
Repository   : @System
Summary      : Support components for porting from KF5/Qt5 to KF6/Qt6
URL          : https://invent.kde.org/plasma/plasma5support
License      : CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later
Description  : Support components for porting from KF5/Qt5 to KF6/Qt6.
[–] [email protected] 1 points 8 months ago

I wanna go home, but I am home