From 26285a59ea31165bb6bf6cb7fdcc56081c5147fd Mon Sep 17 00:00:00 2001 From: linuxazo <65850835+linuxazo@users.noreply.github.com> Date: Mon, 21 Mar 2022 02:11:50 -0600 Subject: [PATCH] Update fluxapp.py Making fluxgui up-to-date with current development version of Debian. AyatanaAppindicator packages are are straighforward replacement in Debian for unmaintaind Appindicator packages. Other than this, fluxgui needs no redshit, since redshift also does not work under wayland. Fluxgui/xflux works perfectly under X11. Those errors are from trying to run fluxgui under wayland, which requires compositor level implementation of color temperature changing. Fluxgui/xflux are awesome. --- src/fluxgui/fluxapp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fluxgui/fluxapp.py b/src/fluxgui/fluxapp.py index e32fae5..1ca9927 100755 --- a/src/fluxgui/fluxapp.py +++ b/src/fluxgui/fluxapp.py @@ -6,8 +6,8 @@ import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk as gtk -gi.require_version('AppIndicator3', '0.1') -from gi.repository import AppIndicator3 as appindicator +gi.require_version('AyatanaAppIndicator3', '0.1') +from gi.repository import AyatanaAppIndicator3 as appindicator from fluxgui.exceptions import MethodUnavailableError from fluxgui import fluxcontroller, settings