How to "reset" KDE panel, widgets, etc. after becoming invisible following display config change?

Recently, I lost one of my monitors. Notoriously, this messes up KDE.

My old panel (aka taskbar) is now invisible, lost in the unmapped reaches of the old coordinate grid I had when I had more monitors, and, although I can add new panels, the old one is still there, capturing my Super (aka Meta aka Windows) key, so I can't raise the Launcher (aka Start Menu) for any new panels. Widgets are in a similar situation, impossible to remove conventionally given that they're invisible and eternally running the background, lost in off-screen purgatory. :fog:

I've seen others struggle with this, and I heard of some magical conf file somewhere, full of inscrutable text, that encodes the kinds and positions of your whole KDE desktop (the panels, the widgets, etc.). Wiping out this file might reset my KDE desktop to "factory settings". But where might that be? Or, if that's wrong and there's a better way, what might that be? :thinking:

You could try clearing KDE Plasma files in ~/.config folder (like kwinrc and many others), that will reset the customizations.
Or you can choose stock Breeze theme and select the box at bottom Use dekstop layout from theme in System Settings >> Global Theme. This should reset the customization as well.

Also maybe try resetting display settings

1 Like

open a terminal (strg-alt-f2)

rm ~/.config/plasma-org.kde.plasma.desktop-appletsrc
rm ~/.config/plasmashellrc
rm ~/.config/plasmarc

and reboot

1 Like

The magical config file you are look for are in these three files

~/.config/plasma-org.kde.plasma.desktop-appletsrc
~/.config/plasmarc
~/.config/plasmashellrc

If you want to reuse the current config (positioning and etc) of your current widget, you can reuse the content in plasma-org.kde.plasma.desktop-appletsrc. The panels configs are defined within the [Containment] blocks. Have fun tinkling with KDE!

1 Like

The extra detail is appreciated! However, I awarded the solution to the other person for being first. : p

While this worked, and I rebooted, I did get a crash shortly after doing this while fiddling with a widget:

.
.
.
Jul 26 22:24:25 Alioth plasmashell[7918]: Both point size and pixel size set. Using pixel size.
Jul 26 22:24:25 Alioth plasmashell[7918]: Error: cannot change the containment to AppletsLayout
Jul 26 22:24:25 Alioth plasmashell[7918]: Error: cannot change the containment to AppletsLayout
Jul 26 22:24:25 Alioth kernel: plasmashell[7918]: segfault at 2d ip 00007fcdfd17a108 sp 00007ffd9bbc2ff0 error 4 in libKF5Plasma.so.5.72.0[7fcdfd149000+5b000]
Jul 26 22:24:25 Alioth kernel: Code: 5e 41 5f e9 7a fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 41 54 55 53 48 83 ec 30 64 48 8b 04 25 28 00 00 00 48 89 44 24 28 3>
Jul 26 22:24:25 Alioth systemd[1]: Started Process Core Dump (PID 8030/UID 0).
Jul 26 22:24:26 Alioth kded5[1681]: Service  "org.kde.StatusNotifierHost-7918" unregistered
Jul 26 22:24:26 Alioth kwin_x11[1685]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 4011, resource id: 31457351, major code: 15 (QueryTree)>
Jul 26 22:24:26 Alioth kwin_x11[1685]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 4080, resource id: 31457299, major code: 15 (QueryTree)>
Jul 26 22:24:26 Alioth kwin_x11[1685]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 4124, resource id: 31457429, major code: 15 (QueryTree)>
Jul 26 22:24:26 Alioth kwin_x11[1685]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 4129, resource id: 31457429, major code: 18 (ChangeProp>
Jul 26 22:24:26 Alioth kwin_x11[1685]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 4202, resource id: 31457307, major code: 15 (QueryTree)>
Jul 26 22:24:26 Alioth systemd-coredump[8031]: Process 7918 (plasmashell) of user 1000 dumped core.
                                               
                                               Stack trace of thread 7918:
                                               #0  0x00007fcdfd17a108 n/a (libKF5Plasma.so.5 + 0x57108)
                                               #1  0x00007fcdfd16eefa _ZN6Plasma13DataContainer14checkForUpdateEv (libKF5Plasma.so.5 + 0x4befa)
                                               #2  0x00007fcdfb35ca60 n/a (libQt5Core.so.5 + 0x2eaa60)
                                               #3  0x00007fcdfb291449 _ZN8QProcess8finishedEiNS_10ExitStatusE (libQt5Core.so.5 + 0x21f449)
                                               #4  0x00007fcdfb296d96 n/a (libQt5Core.so.5 + 0x224d96)
                                               #5  0x00007fcdfb296ece n/a (libQt5Core.so.5 + 0x224ece)
                                               #6  0x00007fcdfb35ca60 n/a (libQt5Core.so.5 + 0x2eaa60)
                                               #7  0x00007fcdfb35ff90 _ZN15QSocketNotifier9activatedE17QSocketDescriptorNS_4TypeENS_14QPrivateSignalE (libQt5C>
                                               #8  0x00007fcdfb36079d _ZN15QSocketNotifier5eventEP6QEvent (libQt5Core.so.5 + 0x2ee79d)
                                               #9  0x00007fcdfbe49702 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15c702)
                                               #10 0x00007fcdfb3257ba _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b37ba)
                                               #11 0x00007fcdfb37ef46 n/a (libQt5Core.so.5 + 0x30cf46)
                                               #12 0x00007fcdf97d143c g_main_context_dispatch (libglib-2.0.so.0 + 0x5243c)
                                               #13 0x00007fcdf981f1d9 n/a (libglib-2.0.so.0 + 0xa01d9)
                                               #14 0x00007fcdf97d0221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
                                               #15 0x00007fcdfb37e331 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (lib>
                                               #16 0x00007fcdfb32413c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b213c)
                                               #17 0x00007fcdfb32c5c4 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2ba5c4)
                                               #18 0x00005621c12d2f5d n/a (plasmashell + 0x1df5d)
                                               #19 0x00007fcdfacf3002 __libc_start_main (libc.so.6 + 0x27002)
                                               #20 0x00005621c12d319e _start (plasmashell + 0x1e19e)
.
.
.
                                               Stack trace of thread 7948:
                                               #0  0x00007fcdfa61ee32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfe32)
                                               #1  0x00007fcde650376c n/a (radeonsi_dri.so + 0x4ae76c)
                                               #2  0x00007fcde6502168 n/a (radeonsi_dri.so + 0x4ad168)
                                               #3  0x00007fcdfa618422 start_thread (libpthread.so.0 + 0x9422)
                                               #4  0x00007fcdfadcbbf3 __clone (libc.so.6 + 0xffbf3)

:yum:

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

Forum kindly sponsored by