Page MenuHomePhabricator

enable sdwdate-gui systray by default
Open, NormalPublic

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

Patrick created this task.Feb 20 2017, 12:09 AM
Patrick updated the task description. (Show Details)Mar 1 2017, 7:18 PM

@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.

hein added a subscriber: hein.EditedJun 30 2017, 10:38 AM

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?

hein added a comment.Jul 3 2017, 12:07 PM

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

hein added a comment.Jul 7 2017, 11:40 AM

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 edited projects, added Whonix 15; removed Whonix 14.Dec 2 2017, 8:19 PM
Patrick renamed this task from enable sdwdate-gui systray in KDE plasma 5 by default to enable sdwdate-gui systray by default.
Patrick updated the task description. (Show Details)