this post was submitted on 21 Jun 2023
10 points (91.7% liked)

Linux

47732 readers
1211 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
 

Sometimes, my KDE starts without the "taskbar"

When I boot my Arch Linux machine, about 1/10 times the "taskbar" is missing. (Do you still call it a taskbar?)

All I see it desktop icons, the background and the mouse cursor. I'm using NVIDIA proprietary drivers.

Do you guys have any idea what's with that? It's hard to troubleshoot because it only happens sometimes.

@linux #linux #KDE #plasma #ArchLinux #askfedi #NVIDIA #troubleshoot

all 14 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (1 children)

@fell @linux

>Taskbar

It's the Plasma Panel.

>NVIDIA proprietary drivers

It IS possible that this is the core of the problem, as historically NV has been a major PITA for Linux, especially #KDEPlasma #Wayland. Lately, i've read many peeps mentioning large improvements, but afaik it might still depend on your specific GPU HW model & driver version. I don't use NV, so cannot help directly on that, but i have some suggestions:

  1. If your current Plasma session is Wayland, try logging in an X11 session. Or, vice versa.

  2. It might be corruption of a KDE/Plasma config file. A quick easy initial test is to create a 2nd user account in Plasma, then log into that.

  3. If that behaves correctly, it increases the probability of corruption [of your original user]. You can reset to default all those, via the following:

To backup existing plasma config:

cd ~/.config
for j in plasma*; do mv -- "$j" "${j%}.bak"; done

This command will rename all Plasma related configuration files to *.bak (e.g. plasmarc.bak) of your user and when you will relogin into Plasma, you will have the default settings back. To undo that action, remove the .bak file extension. If you already have *.bak files, rename, move, or delete them first.

To backup existing cache:

mv ~/.config/Trolltech.conf ~/.config/Trolltech.conf.bak
mv ~/.cache/ ~/cache.bak
mkdir ~/.cache
kbuildsycoca5 --noincremental && kbuildsycoca4 --noincremental

Good luck.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

@MsDropbear @linux That's really helpful advice. I'll try making a second user account and see if it happens again. As I said, it only happens every 10th boot or so, so I'll have to give it a week. Might be nice to start with a clean home directory. I tested different desktop environments before I settled with plasma. I deleted the old config files, but it's certainly possible I forgot something.

[–] [email protected] 1 points 1 year ago (1 children)

@fell
I've had the same issue a few years ago when I was running a Manjaro machine. There seems to be something weird going on with how arch based systems initialise the KDE taskbar and even though I've had multiple people confirm that they were facing the same problem (and had to force a reboot and hope for the best for the system to fix itself), no one could ever tell me why this happened. It was a real showstopper for me back then. >
@linux

[–] [email protected] 1 points 1 year ago (1 children)

@fell
I don't have any strong feelings towards arch systems, so I've just moved on to @opensuse #Tumbleweed and have never seen that problem again. I know, this is not really a solution to the problem but as I said, nobody knew where the problem came from, so there was no way I could have ever fixed it or found a less cumbersome workaround instead of rebooting ad infinitum. <<
@linux

[–] [email protected] 1 points 1 year ago

@laubblaeser @opensuse @linux Thank you for that insight. I don't have time to switch distributions right now, but I'll consider it.

[–] [email protected] 1 points 1 year ago

@fell when it does this what happens if you pull up krunner and run plasmashell - - replace

?

@linux

[–] [email protected] 1 points 1 year ago

That is indeed odd. Maybe try to rebuild your taskbar? Go into /.config and delete plasma-org.kde.plasma.desktop-appletsrc and reboot. Be aware that all plasmoids will be deleted though.

[–] [email protected] 1 points 1 year ago

@fell @linux i never had this problem of taskbar won't start i only ever had that happen in xfce but in kde plasma under wayland on amd hardware it just works fine under endeavouros