screen: detect Desktop environment
This commit is contained in:
1 parent
49e6dfd884
commit
d5ec79e2ef
2 files changed
+11
No files matched your search
@@ -1070,6 +1070,7 @@ def main():
|
||||
functions.patch_threading_excepthook()
|
||||
logging.info(f"Python version: {sys.version_info.major}.{sys.version_info.minor}")
|
||||
logging.info(f"KlipperScreen version: {version}")
|
||||
functions.detect_desktop_environment()
|
||||
if not Gtk.init_check():
|
||||
logging.critical("Failed to initialize Gtk")
|
||||
raise RuntimeError
|
||||
|
||||
Reference in new issue
Block a user