https://bugs.kde.org/show_bug.cgi?id=518205
--- Comment #5 from Tobi S. <[email protected]> --- Persistent Workaround: Since plasmashell restores the Clipboard applet after every crash/restart, the DBus fix needs to be applied automatically. This can be done via a systemd user service: ~/.config/systemd/user/plasma-clipboard-fix.service: [Unit] Description=Remove Clipboard applet from Plasma System Tray After=plasma-plasmashell.service Requires=plasma-plasmashell.service [Service] Type=oneshot ExecStartPre=/bin/sleep 5 ExecStart=/usr/bin/qdbus org.kde.plasmashell /PlasmaShell \ org.kde.PlasmaShell.evaluateScript "panels().forEach(function(panel) { \ panel.widgetIds.forEach(function(id) { var w = panel.widgetById(id); \ if (w && w.type === 'org.kde.plasma.clipboard') { w.remove(); } }); \ panel.widgetIds.forEach(function(id) { var w = panel.widgetById(id); \ if (w && w.type === 'org.kde.plasma.systemtray') { \ w.currentConfigGroup = ['General']; \ var extra = w.readConfig('extraItems').split(',').filter(function(i) { \ return i.indexOf('clipboard') === -1; }).join(','); \ var known = w.readConfig('knownItems').split(',').filter(function(i) { \ return i.indexOf('clipboard') === -1; }).join(','); \ w.writeConfig('extraItems', extra); w.writeConfig('knownItems', known); \ } }); });" [Install] WantedBy=plasma-plasmashell.service Enable with: systemctl --user daemon-reload systemctl --user enable --now plasma-clipboard-fix.service Note: plasmashell always restores the Clipboard applet from its internal defaults after a restart, ignoring the config file. The systemd service is therefore necessary to persistently apply the workaround. -- You are receiving this mail because: You are watching all bug changes.
