C2N14 / AutomaThemely

Simple, set-and-forget python application for changing between desktop themes according to light and dark hours
GNU General Public License v3.0
205 stars 31 forks source link

ERROR: gnome shell user extension is not available, when system hibernate or wakeup #31

Open Hoking007 opened 4 years ago

Hoking007 commented 4 years ago

When the system wakes up from hibernation or sleep, AutomaThemely is able to switch theme normally, but cannot successfully switch gnome shell, prompt: “ERROR: gnome shell user extension is not available”

C2N14 commented 4 years ago

I haven't found a way to update the GNOME Shell theme while the system is hibernating. As a workaround I might try to make the system wait until GNOME is active again though I need to find a way to detect when the user has logged back on otherwise it doesn't seem to work.

Hoking007 commented 4 years ago

There is a gnome-shell extension called "Night Shell Switcher GNOME Shell extension" that can be referenced for a normal switching of gnome-shell themes. link: https://gitlab.com/rmnvgr/nightswitcher-gnome-shell-extension/