Mapping physical screens to KDE containments

Nick Coghlan ncoghlan at
Mon Apr 11 11:23:22 BST 2016

On 11 April 2016 at 12:42, Nick Coghlan <ncoghlan at> wrote:
> Hi folks,
> Using a multi-monitor setup under Plasma 5 (Fedora 23), I have a
> problem where the configured panel applet will disappear and not come
> back if an external monitor is reconfigured to clone the laptop
> monitor, and then switched back to being an independent screen.

From what Felix et al said, it sounds like it may be relevant I
actually unplugged the HDMI monitor to take the laptop downstairs, and
then plugged it back in again later. I normally don't do that - when
the laptop is at home, it spends almost all of its time plugged into
the external monitor, so it only rediscovers it on reboots and power
cycling, rather than getting monitor hotplug events.

> In trying to debug that, the relevant config files seem to be
> .config/plasma-org.kde.plasma.desktop-appletsrc and
> .config/plasmashellrc, but those are defined in terms of containments
> rather than screens, and I haven't been able to figure out where the
> mapping from screen -> containment can be found.
> Any pointers on how I can look up that mapping? (I was going to use
> the Python bindings, but then found those haven't landed for Plasma 5
> as yet)

I made some progress here, by way of enabling the default panel on the
external monitor - that added a whole host of new config entries to
plasmashellrc and .config/plasma-org.kde.plasma.desktop-appletsrc for
"Containment[148]" where previously I only had entries for
"Containment[87]" and "Containment[124]".

That lends weight to Duncan's theory that the problem is the same
external monitor being detected as a "new" monitor on hotplug, and
thus losing its previous settings.


Nick Coghlan   |   ncoghlan at   |   Brisbane, Australia
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list