gnome-shell-extension-caffeine
gnome-shell-extension-caffeine copied to clipboard
Caffeine losing state after few minutes
I've updated the extension through Gnome Extensions (https://extensions.gnome.org/extension/517/caffeine/) and since the last update, Ceffeine is resetting its state after few minutes, even if the computer is under use.
The result is that even if I click on the extension to keep my screen on, after 5 minutes the screen is shutdowned.
I've observed this behavior on two different machines, a laptop and a desktop. Both are running the latest stable Gnome version (3.18.2) on Archlinux.
Okay I did test it and it took 30 minutes to be resetted. All the time I was doing something with the computer.
There is no errors reported in Looking Glass.
I'm not able to reproduce your error, running Fedora 23 with Gnome 3.18.4.
Currently, caffeine does not store the state anyhow. That means, if caffeine is restarted it will be disabled. Maybe something causes caffeine (or even gnome) to restart?
Maybe, I can only confirm you that I'm not doing an Alt+F2, r :) Is there anything I can do to give you more information?
Maybe check if gnome-session-manager doesn't restart for some reason.
Also do you have configured some application to activate caffeine automatically ?
I don't use apps/scripts to interact with Caffeine but it's not the single extension I use. Here are all the active extensions on my computers : -AlternateTab -BackSlide -Dash to Dock -Launch new instance -Media player indicator -OpenWeather -Place Status Indicator -Removable Drive Menu
Now that I goes through the list, BackSlide is changing my wallpaper every 30 minutes and it was "hacked" to work on Gnome 3.18 (not simply with metadata.json). I will investigate on that.
On the gnome-session-manager lead, is there a log or something where this information could be? I checked dmesg and Xorg logs but nothing really useful showed up.
Sorry for the delayed response but as far as I tested, it happens with or without BackSlide activated.
Maybe if I could run an older version, it might help to find the issue.
To run an older version, you must first uninstall your current installation of the plugin. Then follow the git installation instructions in the readme (here).
After you did this, you run the following command in that folder
git reset --hard 801064d
This will reset your local installation to the version from November.
Has anyone been able to reproduce this?
Since nobody has been able to reproduce this in the last ~7 years, this should probably be closed. If anyone can reproduce this on the latest Caffeine version with GNOME 43 / 44, let me know :)