A curious issue: icons in tray disappear after a while
Posted: Mon Jul 27, 2020 10:43 am
Morning, guys.
I'm honestly not sure where the hell to put this. It could be a script-related thing, or it could be just programming in general. [mention]rockedge[/mention] , if in your opinion this in the wrong place, would ya move it please? Thanks.
This isn't a recent thing, though this latest manifestation exemplifies it to a tee. It's happened to me with multiple Puppies over the years, too many to list or even remember what they were, so I'm going to assume this is a more general fault.....possibly with JWM/Rox.....maybe even with mime-types (which TBH I've never understood.)
It even happens across multiple machines, so not hardware-specific, either.
--------------------------------------------
What I'm talking about is, quite simply, this:-
See the little scripts showing with an 'X' on them.....showing the icon can't be found/located?
I run a number of small utilities from the notification area; with the new set-up (much larger screen), I can use more of these and it no longer looks silly the way it once did. Anyways, they're pretty much all variations on a theme; Fred and musher0 helped out with suggestions for this a couple or three years back.....like this:-
It puts an icon into the 'tray', along with a tooltip; you click on the icon, it executes a script. Right-click allows you to remove the icon if so desired.
These things will happily work fine for months/years. All of a sudden, despite nothing changing.....script still looks in the right place, the item location hasn't changed, nor its ownerships/exec permissions/whatever.....it henceforth cannot "see" the icon, even though it's staring it in the face!
Has anybody else ever come across something like this before? The above example is josejp2424's DPup Buster64; if those two missing icons were both from my own scripts, I'd perhaps not be quite so curious, but one is a utility Jose has mastered into the ISO, so it's there by default. I fire Busterpup up maybe a couple of times a week; last time was maybe a week ago. Nothing has been altered/changed/installed/uninstalled for around a month. A week ago, those icons were displaying; now, they're not.
It's not a life or death issue by any means, but I'm curious because it's been happening over a long period of time, across multiple Puppies and various different boxes......and I've been trying to get to the bottom of this for a long while.
Anybody have any ideas, please? Advice/suggestions will, as always, be very much appreciated.
Mike.
I'm honestly not sure where the hell to put this. It could be a script-related thing, or it could be just programming in general. [mention]rockedge[/mention] , if in your opinion this in the wrong place, would ya move it please? Thanks.
This isn't a recent thing, though this latest manifestation exemplifies it to a tee. It's happened to me with multiple Puppies over the years, too many to list or even remember what they were, so I'm going to assume this is a more general fault.....possibly with JWM/Rox.....maybe even with mime-types (which TBH I've never understood.)
It even happens across multiple machines, so not hardware-specific, either.
--------------------------------------------
What I'm talking about is, quite simply, this:-
See the little scripts showing with an 'X' on them.....showing the icon can't be found/located?
I run a number of small utilities from the notification area; with the new set-up (much larger screen), I can use more of these and it no longer looks silly the way it once did. Anyways, they're pretty much all variations on a theme; Fred and musher0 helped out with suggestions for this a couple or three years back.....like this:-
Code: Select all
#/bin/sh
#
# Place executable icon in tray - thanks to musher0/fredx181
#
yad --notification --item-separator=":" --no-middle --text="Zoom exec-changer" --command='/usr/local/bin/ZoomSelect.sh' --image='/usr/share/pixmaps/zoomauto.png' --menu="Quit:quit:gtk-quit"
These things will happily work fine for months/years. All of a sudden, despite nothing changing.....script still looks in the right place, the item location hasn't changed, nor its ownerships/exec permissions/whatever.....it henceforth cannot "see" the icon, even though it's staring it in the face!
Has anybody else ever come across something like this before? The above example is josejp2424's DPup Buster64; if those two missing icons were both from my own scripts, I'd perhaps not be quite so curious, but one is a utility Jose has mastered into the ISO, so it's there by default. I fire Busterpup up maybe a couple of times a week; last time was maybe a week ago. Nothing has been altered/changed/installed/uninstalled for around a month. A week ago, those icons were displaying; now, they're not.
It's not a life or death issue by any means, but I'm curious because it's been happening over a long period of time, across multiple Puppies and various different boxes......and I've been trying to get to the bottom of this for a long while.
Anybody have any ideas, please? Advice/suggestions will, as always, be very much appreciated.
Mike.