raphaelquintao / QRedshiftCinnamon

Linux Cinnamon applet to change screen color temperature
https://cinnamon-spices.linuxmint.com/applets/view/313
Apache License 2.0
93 stars 12 forks source link

applet deactivated after waking from sleep mode #61

Open utilisateuralpha opened 1 year ago

utilisateuralpha commented 1 year ago

Hello . My PC is connected to an external monitor. When QRedShift is activated and I put the PC to sleep, the applet deactivates after waking up. Each time, I have to deactivate and then activate the applet to get the program working again. What's the solution to this problem?

look997 commented 7 months ago

I have the same. I'm trying with systemd service, but it's not working so far.

Also when switching between tty using Ctrl+Alt+F1,F2...

utilisateuralpha commented 7 months ago

Hi. I noticed that the problem is linked to the connection of the PC to the external monitor via HDMI. To check this. Disconnect the HDMI cable then reconnect it and you will see that RedShift turns off automatically! Unfortunately, I haven't found a solution to this problem. Can you tell me what shell command you call with the Systemd Service?

look997 commented 7 months ago

/usr/bin/dbus-send --session --dest=org.Cinnamon.LookingGlass --type=method_call /org/Cinnamon/LookingGlass org.Cinnamon.LookingGlass.ReloadExtension string:'qredshift@quintao' string:'APPLET'

raphaelquintao commented 2 months ago

Keep the night mode enabled it will do the tricky, the screen will flash but the color will be setted again. The problem is when changing TTYs the gamma ramps is reseted.

raphaelquintao commented 2 months ago

Can you try the new version and check if it works?

Copy and paste that on terminal to update:

curl https://github.com/raphaelquintao/QRedshiftCinnamon/raw/master/install.sh -sSfL | bash 
utilisateuralpha commented 2 months ago

Hello,

Not only is the previous issue not resolved, but the situation has worsened: the applet no longer works at all :-).

I am currently using Linux Mint LMDE 6 .

Thank you for your assistance.

raphaelquintao commented 2 months ago

Dont works? What happens? do you see any erros?

utilisateuralpha commented 2 months ago

The applet is properly installed. However, when I click on the "Activate filter mode" button, nothing happens, and the application does not generate any errors.