webketje / tuxedo-backlight-control

Minimal Linux (Debian) CLI & UI for TUXEDO / Clevo computers Keyboard Backlight
MIT License
45 stars 9 forks source link

Stopped working #25

Open Quasicitizen opened 1 year ago

Quasicitizen commented 1 year ago

App stopped working - clicking on icon, but interface does not show up. Reinstall or install different version did not help. Ideas? 🙂 CLI: ┌[me_is_me☮compewtur]-(~) └> backlight ui Traceback (most recent call last): File "/usr/local/bin/backlight", line 43, in init() File "/usr/share/tuxedo-backlight-control/ui.py", line 352, in init root = tk.Tk() File "/usr/lib/python3.10/tkinter/init.py", line 2299, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable

zimbipw commented 1 year ago

both ui and command line tool do not work: sudo backlight Traceback (most recent call last): File "/usr/local/bin/backlight", line 6, in from backlight_control import BacklightControl, backlight ModuleNotFoundError: No module named 'backlight_control'

python /usr/share/tuxedo-backlight-control/ui.py   1  Traceback (most recent call last): File "/usr/share/tuxedo-backlight-control/ui.py", line 358, in init() File "/usr/share/tuxedo-backlight-control/ui.py", line 353, in init App(root) File "/usr/share/tuxedo-backlight-control/ui.py", line 51, in init 'color_left': tk.StringVar(self, value=backlight.color_left.capitalize()), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'capitalize'