FireTray
FireTray copied to clipboard
Intermittently no Tray Icon MINT 18.3
Sometimes it works and then stops, other time the whole day I see no icon. I am pretty sure TB is still running as it restores quickly.
4.15.0-43-generic #46~16.04.1-Ubuntu SMP Fri Dec 7 13:31:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
TB 60.2.1
Same issue on Linux Mint 19.1
Are you using libappindicator or GtkStatusIcon? (Firetray settings -> Windows -> Use appindicator icon)
I noticed that when starting TB a gap appears for the FireTray Icon but it does nothing, if I switch desktop themes from light to dark or vice versa then often that will make the Icon appear.
There is no setting to choose appindicator or GtkStatusIcon, I checked and for me appindicator3.1 is installed
Does the icon also disappear when you choose a custom icon? (Settings -> Mail -> Display custom icon)
Which version of Firetray are you using?
It is same/similar behaviour. I changed to a custom icon, don't get the notifications and after turning the pc back on this morning no icon, toggled through a couple of themes and it came back
What version of Firetray are you using?
TB has auto updated since I raised the issue, behaviour is still the same, pretty well always toggle the desktop theme and the icon comes back.
I have the same issue on Linux Mint 19.1, FireTray 0.6.5
When I was toggling the "Show tray icon only if a window is hidden" the icon reappeared. Having a quick look in the init of the FiretrayAppIndicator everything looks fine (but I am also not a js / gtk expert) so I added the following dirty hack which is working for me. What I noticed is that I needed a delay between disabling and enabling the icon, that is why I added the "showHideIcon" call in the "startup-done" timer
diff --git a/src/modules/FiretrayHandler.jsm b/src/modules/FiretrayHandler.jsm
index 5ac62d3..0b16042 100644
--- a/src/modules/FiretrayHandler.jsm
+++ b/src/modules/FiretrayHandler.jsm
@@ -170,6 +170,7 @@
}
vc.applyHooksAndWatchUninstall();
+ firetray.Handler.setIconVisibility(false);
this.initialized = true;
return true;
},
@@ -261,6 +262,7 @@
firetray.Handler.timers['startup-done'] =
firetray.Utils.timer(FIRETRAY_DELAY_STARTUP_MILLISECONDS,
Ci.nsITimer.TYPE_ONE_SHOT, function() {
+ firetray.Handler.showHideIcon();
firetray.Handler.appStarted = true;
log.info("*** appStarted ***");
I have a kludge that works for me, not elegant but...
Tried running at start from a cron job but it doesn't run so have saved as a script, run from start up applications with a 90 second delay to ensure everything else is up and working
/usr/bin/gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y-Dark"
/usr/bin/gsettings set org.cinnamon.theme name "Mint-Y-Dark"
sleep 1s #wait
/usr/bin/gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y-Red"
/usr/bin/gsettings set org.cinnamon.theme name "Mint-Y-Red"
sleep 1s #wait
/usr/bin/gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y-Dark"
/usr/bin/gsettings set org.cinnamon.theme name "Mint-Y-Dark"
sleep 1s #wait
/usr/bin/gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y"
/usr/bin/gsettings set org.cinnamon.theme name "Mint-Y"
sleep 1s #wait
/usr/bin/gsettings set org.cinnamon.desktop.wm.preferences theme "Linux Mint"
/usr/bin/gsettings set org.cinnamon.theme name "Linux Mint"
sleep 1s #wait```