On Thursday 16 April 2020 04:46:25 Stefan Krusche wrote:
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?
Stefan,
Thanks for your reply. I know it's a trivial complaint, but I like to get my machines to do what I want. The question is ... which is to be master?
:-)
They come from (almost) whatever program I run: e.g., smplayer, psi-plus, whatever. (These are the most common examples that come to mind, but there are many others.) Now that I think about it, I wonder if they are all non-TDE programs? ... but I'd have to consider that question some more.
See attachment for a sample screenshot. Look to the right of center in the bottom panel, where all the program icons are clustered together.
Note that there are two icons for smplayer; one is the icon that appears in the system tray, and then there is another that is almost like it, but a sort of "ghost" - a duplicate, but as you can see it looks a little different.
Sometimes I get several of these ghost icons; at other times, the ghosts are for some other program(s) that I started around the same time, and do not correspond to the program that they are supposed to represent. (So, for instance, the ghost icon will tell me, with a tooltip, when I put the mouse pointer over it, that it represents psi-plus, but the ghost icon looks like smplayer.) In any case, these items take up space, and perform no useful function, so far as I can tell.
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:
Trinity Control Center has options to make an icon appear in the system tray, or not; but for some programs, it is convenient to have an icon there for a quick point-and-click (smplayer, obviously), because I want to stop and/or start a video, or hide the program. But I can't change the settings in TCC, to have the icon appear in the tray, without also having its ghost appear on first run.
$ 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:
- create a new user (Don't name him/her "test" with password "test" ;)
- 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
Thanks much. I will run through these suggestions to see if anything helps.
Bill
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting