trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: April 2020

Re: [trinity-users] how to disable ksystraycmd?

From: Stefan Krusche <linux@...>
Date: Thu, 16 Apr 2020 13:46:25 +0200
Dear Bill,

Am Samstag, 11. April 2020 schrieb William Morder via trinity-users:

> I know it's a trivial complaint, but it's still annoying that when I
> run most apps, duplicate "ghost" icons appear in my system tray,

What are these "ghost" icons and where (from which program) do they come 
from?

> There are some config files which I believed might do the trick:
> /home/<USER>/.kde/share/config/systemtray_panelappletrc
> /home/<USER>/.trinity/share/config/systemtray_panelappletrc

> In my old KDE3 configuration (or so I *believed* that I remembered),
> I just removed ksystraycmd from this line:
>
> [HiddenTrayIcons]
> Hidden=ksystraycmd
>
> and presto! it was gone. But now it doesn't seem to work.

Are you sure that this Option switched off *all* icons from all programs 
globally?

> Does anybody have a clue about how to suppress these ghost icons?
> (And, by extension, where are our configuration files, and how do we
> alter them?)

The only places I could find where there are options to either show/put 
an icon in the systray or not are in config files of specific programs:

$ cd .trinity/share
$ grep -ri Tray *   # output trimmed
config/kteatimerc:UseTrayVis=true
config/kgetrc:systemtrayquitKGet=false
config/kmplayerrc:Dock in System Tray=true
config/tdewalletmanagerrc:systemtrayquitDienstprogramm f�r digitale 
Brieftasche=false
config/kmailrc:SystemTrayEnabled=true
config/kmailrc:SystemTrayPolicy=ShowAlways
config/kmailrc:systemtrayquitKMail=false
config/kopeterc:Show Systemtray=true
config/kopeterc:Trayflash Notification=true
config/kopeterc:Trayflash Notification Left Click Opens Message=true
config/kopeterc:Trayflash Notification Set Current Desktop To Chat 
View=true
config/kmldonkeyrc:systemtrayquitKMLDonkey=false
config/kmldonkeyrc:CloseToTrayIcon=true
config/kmldonkeyrc:ShowTrayIcon=true
config/kmixrc:TrayVolumeControl=true
config/krusaderrc:Start To Tray=false
config/tdenetworkmanagerrc:systemtrayquitKNetworkManager=false
config/kgpgrc:systemtrayquitKGpg=false
config/kxkbrc:systemtrayquitKDE-Dienstprogramm f�r die Tastatur=false
config/kxkbrc:systemtrayquitTDE-Dienstprogramm f�r die Tastatur=false
config/uiserverrc:ShowSystemTray=false
config/kwalletmanagerrc:systemtrayquitDienstprogramm f�r digitale 
Brieftasche=false
config/kwalletmanagerrc:systemtrayquitKDE Wallet Manager=false
config/kshutdownrc:systemtrayquitKShutDown=false
config/kjobviewerrc:systemtrayquitKJobViewer=false

So maybe you can't globally prevent all programs running inside TDE from 
placing icons in the systray but only switch that off on a per program 
basis.

If that is the case you still might find an option like that within the 
program you are using and which you don't want to place an icon in 
systray.

I don't know if any of this applies to your situation with "duplicate 
ghost icons", but I thought I'd give it a try to help.

If it doesn't you can do what I once did to find a bug in my TDE 
configuration:

1. create a new user (Don't name him/her "test" with password "test" ;)
2. Can you observe the phenomenon under the new (unconfigured) user? If 
not:
3. Log out from the new user account, copy one of the relevant config 
files after another into the corresponding .trinity/* directory of the 
newly created user and see if the phenomenon reappears after the next 
login. Then you would know in which file the option is set and you 
could compare these old/new config files.

HTH

Kind regards,
Stefan