Page MenuHomePhorge

enable sdwdate-gui systray by default
Closed, ResolvedPublic

Description

See T598#12287 for some discussion.

This issue is introduced by porting to Debian version 9 codename Stretch and KDE plasma 5.

/usr/share/plasma/plasmoids/org.kde.plasma.systemtray/

Details

Impact
High

Event Timeline

@matvey90 It does not work yet.

This is what I did for testing.

  • install newer version of sdwdate-gui (confirmed to see the updated files)
  • switched to a different virtual console (tty1)
  • used the following script for testing, i.e. stop kde, delete all kde config files and restart kde
#!/bin/bash
set -x
sudo service sddm stop
rm -r .kde
rm -r .local
rm -r .config
sudo service sddm restart

sdwdate-gui systray is still hidden by default.

Hi folks,

I was told to help you out with preconfiguring the systray plasmoid to set a particular tray icon to always shown?

This is done by adding an init script (run every time the systray widget is added to somewhere) to the look and feel package, like so:

https://github.com/netrunner-artwork/artwork-lnf-netrunner-core/blob/master/usr/share/plasma/look-and-feel/org.kde.netrunner-core.desktop/contents/plasmoidsetupscripts/org.kde.plasma.private.systemtray.js

The relevant key there is "shownItems".

Let me know if you have more questions!

Thanks @hein! We don't have to use org.kde.netrunner-core.desktop in path name? Can be anything?

Yep, you can name your own LnF package anything. You could also patch/extend the default one in packaging if you prefer.

There's no build commands, LookNFeel packages are just directory structures that can be packaged as compressed archives and get put into the right paths to be picked up by the system.

I mean, how do you build the deb package?

Patrick renamed this task from enable sdwdate-gui systray in KDE plasma 5 by default to enable sdwdate-gui systray by default.Dec 2 2017, 7:26 PM
Patrick updated the task description. (Show Details)

We're not using KDE anymore and sdwdate-gui is enabled by default.