diff --git a/config/plasma/applications/ekklesia-parent-call.desktop b/config/plasma/applications/ekklesia-parent-call.desktop index c53205e..ded3305 100644 --- a/config/plasma/applications/ekklesia-parent-call.desktop +++ b/config/plasma/applications/ekklesia-parent-call.desktop @@ -17,6 +17,9 @@ Terminal=false Categories=Utility; StartupNotify=true StartupWMClass=classroom-parent-call -# Never in an application list. It is reached from the bar, and it is not -# one of the room's applications. -NoDisplay=true +# Deliberately visible to the applications index. NoDisplay=true hid it +# from the index the panel resolves launchers through, and the bar showed +# a blank page instead of the mark. There is no application menu in this +# classroom for it to clutter — no Kickoff, and KRunner is off — so being +# in the index costs nothing. +NoDisplay=false diff --git a/config/plasma/lookandfeel/contents/layouts/org.kde.plasma.desktop-layout.js b/config/plasma/lookandfeel/contents/layouts/org.kde.plasma.desktop-layout.js index 5b511a3..83f3f5c 100644 --- a/config/plasma/lookandfeel/contents/layouts/org.kde.plasma.desktop-layout.js +++ b/config/plasma/lookandfeel/contents/layouts/org.kde.plasma.desktop-layout.js @@ -41,12 +41,29 @@ panel.opacity = "adaptive"; // LEFT — auxiliary. Parent Call is not one of the room's applications and // is deliberately not in the row with them. -var parentCall = panel.addWidget("org.kde.plasma.icon"); +// A task manager holding one launcher, not the Icon widget. +// +// The Icon widget copies the desktop entry into the user's home and uses +// the copy, so a classroom that had already run would keep the old icon +// and the old command for ever — an update could never change either. +// Measured: it kept showing a bell out of a package that no longer +// contains one. Quick Launch would also do, but Debian does not ship it. +// +// This applet reads /usr/share/applications live, which is what an OTA +// update writes to, and it costs nothing extra: the classroom already +// runs one for the applications. +var parentCall = panel.addWidget("org.kde.plasma.icontasks"); parentCall.currentConfigGroup = ["General"]; -parentCall.writeConfig( - "url", - "file:///usr/share/applications/ekklesia-parent-call.desktop" -); +parentCall.writeConfig("launchers", "applications:ekklesia-parent-call.desktop"); +parentCall.writeConfig("groupingStrategy", 0); +parentCall.writeConfig("showOnlyCurrentDesktop", false); +parentCall.writeConfig("showOnlyCurrentActivity", false); +parentCall.writeConfig("showOnlyCurrentScreen", false); +parentCall.writeConfig("minimizeActiveTaskOnClick", false); +parentCall.writeConfig("fill", false); +parentCall.writeConfig("maxStripes", 1); +parentCall.writeConfig("wheelEnabled", false); +parentCall.writeConfig("showToolTips", true); var leftGap = panel.addWidget("org.kde.plasma.panelspacer"); leftGap.currentConfigGroup = ["General"]; diff --git a/docs/screenshots/icon-candidates-2.png b/docs/screenshots/icon-candidates-2.png new file mode 100644 index 0000000..6d417c4 Binary files /dev/null and b/docs/screenshots/icon-candidates-2.png differ diff --git a/docs/screenshots/pc-icon-vs-notifications.png b/docs/screenshots/pc-icon-vs-notifications.png new file mode 100644 index 0000000..0fa4fde Binary files /dev/null and b/docs/screenshots/pc-icon-vs-notifications.png differ diff --git a/docs/screenshots/pc-nobroker.png b/docs/screenshots/pc-nobroker.png new file mode 100644 index 0000000..a6c8424 Binary files /dev/null and b/docs/screenshots/pc-nobroker.png differ diff --git a/docs/screenshots/pc-off.png b/docs/screenshots/pc-off.png new file mode 100644 index 0000000..adae17c Binary files /dev/null and b/docs/screenshots/pc-off.png differ diff --git a/docs/screenshots/pc-panel-left.png b/docs/screenshots/pc-panel-left.png new file mode 100644 index 0000000..3073571 Binary files /dev/null and b/docs/screenshots/pc-panel-left.png differ diff --git a/docs/screenshots/pc-panel.png b/docs/screenshots/pc-panel.png new file mode 100644 index 0000000..eac1798 Binary files /dev/null and b/docs/screenshots/pc-panel.png differ diff --git a/docs/screenshots/pc-rejected.png b/docs/screenshots/pc-rejected.png new file mode 100644 index 0000000..af8596a Binary files /dev/null and b/docs/screenshots/pc-rejected.png differ