-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
program cannot read $DISPLAY #21
Comments
I have the same issue on Ubuntu 20.04 Traceback (most recent call last):
File "/usr/share/tuxedo-backlight-control/ui.py", line 360, in <module>
init()
File "/usr/share/tuxedo-backlight-control/ui.py", line 354, in init
root = tk.Tk()
File "/usr/lib/python3.8/tkinter/__init__.py", line 2270, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable |
@cydia2020 please read through #11 and especially see if the suggestion in this comment works for you: #11 (comment).. |
sorry but rebooting doesn't help |
Yup, same situation here, rebooting doesn't help. |
strangely enough ..... cat /sys/devices/platform/tuxedo_keyboard/input/input34/capabilities/led |
@xevilstar your persistence is admirable, I'm sorry I cannot help. For example, this PR tuxedocomputers/tuxedo-keyboard#101 mentions incompatibility with Linux Kernel 5.13+ . FWIW I'm still on Linux kernel 5.4 (last time I tried to upgrade there were too many issues) Regarding the path you inspected, mine is under I don't have the time nor resources to re-install locally or test extensively on VMs. |
the project will die if you don't update |
Feel free to fork and propose a pull request for addressing any issues I do not have the time, expertise or resources for. Please remain civil and constructive. |
If I had the ability to code something out I would, I am just testing .... |
/usr/share/tuxedo-backlight-control/ui.py --help
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 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
echo $DISPLAY
:0
The text was updated successfully, but these errors were encountered: