This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Second Taksbar missing after restart

Tags: None
(comma "," separated)
sandro4912
Registered Member
Posts
23
Karma
0

Second Taksbar missing after restart

Wed Aug 12, 2020 11:45 am
I have a weird Problem.

I added a empty panel and attached a task manager on it to my second screen.

Now I realized the panel with the Task Manager is gone so I thought I can just add it again.

However when I go to add Widget and search for Taskbar I see that there are already 2 Task Managers in use.

That indicates that the lost taskbar is still somewhere. How can I find it?
sandro4912
Registered Member
Posts
23
Karma
0
Seriously?

I'm using KDE Plasma under KDE Neon 19.4
User avatar
bartoloni
Moderator
Posts
1510
Karma
4
OS
is just a BOT... reported now the (fake) user techinpack
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS
sandro4912 wrote:…That indicates that the lost taskbar is still somewhere. How can I find it?

As the bot couldn't help you that much: The containments are stored in ~/.config/plasma-org.kde.plasma.desktop-appletsrc where you could search for the missing Plasmoids. As I do not have a taskmanager Plasmoid active, I'll give you an example based on the activity pager which is on my second panel:
Code: Select all
# plasma-org.kde.plasma.desktop-appletsrc
[Containments][25][Applets][29]
immutability=1
plugin=org.kde.plasma.activitypager
# …settings…
[Containments][25][Applets][29][Configuration][General]
displayedText=Name
… other stuff
[Containments][25][General]
AppletOrder=29;50;30;…  # ← position left,  50 is a spacer followed by the next plasmoid…

where the panel ID 25 is defined in ~/.config/plasmashellrc.

In the first file, there are the settings stored that define the screen to show on, sizes, etc.
sandro4912
Registered Member
Posts
23
Karma
0
Thanks for the answer. It helps alot more than the windows bot.


I checked the file and found 3 Entries with taskmanager:

Code: Select all
[Containments][3]
activityId=
formfactor=2
immutability=1
lastScreen=0
location=4
plugin=org.kde.panel
wallpaperplugin=org.kde.image

[Containments][3][Applets][18]
immutability=1
plugin=org.kde.plasma.digitalclock

[Containments][3][Applets][19]
immutability=1
plugin=org.kde.plasma.showdesktop

[Containments][3][Applets][22]
immutability=1
plugin=org.kde.plasma.kicker

[Containments][3][Applets][22][Configuration]
PreloadWeight=100

[Containments][3][Applets][22][Configuration][General]
favoritesPortedToKAstats=true

[Containments][3][Applets][25]
immutability=1
plugin=org.kde.plasma.quicklaunch

[Containments][3][Applets][25][Configuration][General]
launcherUrls=file:///home/sandro/.local/share/applications/org.qt-project.qtcreator.desktop

[Containments][3][Applets][28]
immutability=1
plugin=org.kde.plasma.quicklaunch

[Containments][3][Applets][28][Configuration][General]
launcherUrls=file:///usr/share/applications/code.desktop

[Containments][3][Applets][29]
immutability=1
plugin=org.kde.plasma.quicklaunch

[Containments][3][Applets][29][Configuration][General]
launcherUrls=file:///usr/share/applications/org.kde.konsole.desktop

[Containments][3][Applets][5]
immutability=1
plugin=org.kde.plasma.pager

[Containments][3][Applets][6]
immutability=1
plugin=org.kde.plasma.taskmanager

[Containments][3][Applets][6][Configuration][ConfigDialog]
DialogHeight=540
DialogWidth=720

[Containments][3][Applets][6][Configuration][General]
groupPopups=false
showOnlyCurrentScreen=true

[Containments][3][Applets][7]
immutability=1
plugin=org.kde.plasma.systemtray

[Containments][3][Applets][7][Configuration]
PreloadWeight=55
SystrayContainmentId=8

[Containments][3][ConfigDialog]
DialogHeight=84
DialogWidth=1920

[Containments][3][General]
AppletOrder=22;5;29;28;25;6;7;18;19



Code: Select all
[Containments][23]
activityId=
formfactor=2
immutability=1
lastScreen=3
location=4
plugin=org.kde.panel
wallpaperplugin=org.kde.image

[Containments][23][Applets][24]
immutability=1
plugin=org.kde.plasma.taskmanager

[Containments][23][Applets][24][Configuration][ConfigDialog]
DialogHeight=535
DialogWidth=713

[Containments][23][Applets][24][Configuration][General]
groupPopups=false
showOnlyCurrentScreen=true

[Containments][23][ConfigDialog]
DialogHeight=84
DialogWidth=1920

[Containments][23][General]
AppletOrder=24


Code: Select all
[Containments][31]
activityId=
formfactor=2
immutability=1
lastScreen=2
location=4
plugin=org.kde.panel
wallpaperplugin=org.kde.image

[Containments][31][Applets][32]
immutability=1
plugin=org.kde.plasma.taskmanager

[Containments][31][Applets][32][Configuration][ConfigDialog]
DialogHeight=540
DialogWidth=720

[Containments][31][Applets][32][Configuration][General]
groupPopups=false
showOnlyCurrentScreen=true

[Containments][31][ConfigDialog]
DialogHeight=84
DialogWidth=1920

[Containments][31][General]
AppletOrder=32



Th first one is clear im sure it is the main taskbar. But which of the other two is the invisible one i cannot see on any screen? And how to remove it?
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS
Code: Select all

lastScreen=3
location=4

showOnlyCurrentScreen=true

/

Should be a bottom bar in all activities but only at the third screen. Did you inspect your virtual desktops?
sandro4912
Registered Member
Posts
23
Karma
0
Hm I only have two screens connected here and I never used the Virtual Desktops.

How can I check for them? Are they enabled by default?
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS
The fastest way would be to scroll with the mouse on an empty area on the desktop without clicking (if enabled). Settings are located at systemsettings5 → Workspace Behaviour → Virtual Desktops, but I do not know the default settings as I've changed a lot in my 'personal default settings'.
sandro4912
Registered Member
Posts
23
Karma
0
I checked System Settings -> Virtual Desktops and there is only one single desktop setup.

So that means all 3 bars are on desktop 1?
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS
Do you have a multi-monitor setup or sth? I'm using two and the lastScreen-entry is always 0 or 1.
If not, try editing the lines from outside and change the lastScreen appearance to 0.
sandro4912
Registered Member
Posts
23
Karma
0
I have connected two monitor to the graphics card.

Is it safe to remove for test one of the panel entries from file?
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS
Sure. Copy the file to be sure and edit it, but from outside of plasma. Or use kwriteconfig5 to remove the lines, that is working while running plasma. I'll prefer working with a virtual terminal.
sandro4912
Registered Member
Posts
23
Karma
0
I kicked out the entry with [23] in a virtual terminal. After restart of plasma everything is fine. I still see two taskbars and only two taskmanagers exist.
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS
So for you it is solved? Or do we still hunt another missing taskmanager as there are still two of them?
sandro4912
Registered Member
Posts
23
Karma
0
No it is now solved I only have the two task files I expected


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]