jonls / redshift

Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.
http://jonls.dk/redshift
GNU General Public License v3.0
5.92k stars 429 forks source link

Tray icon disappeared [still unsolved, please look – new information!] #723

Open 6lancmange opened 5 years ago

6lancmange commented 5 years ago

I use Redshift with the little lightbulb at the top bar so I can check the current temperature or suspend the application. But yesterday I noticed that the lightbulb icon is gone. There's nothing in its place, it's just not there. The app is running, though. I have recently installed various packages to get settings for a Wacom tablet working, and it could be related – but I have no idea how and what to check. Help, I need the options provided by the icon available.

Software versions (please complete the following information):

TimB87 commented 5 years ago

Hi, not sure if this could be helpful for you? https://github.com/kozec/sc-controller/wiki/Status-icon-on-Gnome

6lancmange commented 5 years ago

This sounds like any icons wouldn't be working. The Steam tray icon is perfectly fine, though. I installed packages suggested by the first bullet point just in case it helps, though. But the thing you linked to talks about Gnome and icons being broken – they're clearly not broken for me, and I'm not sure if instructions for Gnome can apply 1:1 for Ubuntu.

6lancmange commented 5 years ago

Seeing as this wasn't a problem and only appeared some time ago, it's probably fixable. Can someone please help? @jonls perhaps? Now I need to suspend Redshift because I connected the laptop to the TV and it looks extremely orange on the TV. Normally I would do it from the tray icon, but now that it's gone, I can't. Is there a way to do it in the terminal?

Looking at the list of commands in the readme, I got an idea – could it be that Redshift started running as the non-GUI version? I'd set it up to run on startup as redshift-gtk. I looked in the nohup file now, and here's what it says:

Gtk-Message: 20:48:40.764: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: 20:52:32.213: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: 21:01:59.872: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: 21:07:42.054: GtkDialog mapped without a transient parent. This is discouraged.

(redshift-gtk:22988): libappindicator-WARNING **: 04:53:58.804: Unable to send signal for NewIcon: The connection is closed
Gdk-Message: 04:53:58.845: redshift-gtk: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

(redshift-gtk:1815): libappindicator-WARNING **: 03:43:23.708: Unable to send signal for NewIcon: The connection is closed
Gdk-Message: 03:43:23.736: redshift-gtk: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.