Material theme: Changes are not applied
Opened this issue · 0 comments
fredcw commented
I really like this theme, but options.py won't apply any changes when I run with standard privileges, and when i run with elevated privileges via sudo, I get this error:
Traceback (most recent call last): File "~/.themes/Material270/options.py", line 55, in <module> rename_theme_on_update = os.environ["XDG_SESSION_TYPE"] == "x11" File "/usr/lib/python3.10/os.py", line 680, in __getitem__ raise KeyError(key) from None KeyError: 'XDG_SESSION_TYPE'
@ProfBV Hi, thanks for reporting this. The program isn't designed to be run with sudo but I'm not sure why it's not working as unprivileged user. Can I ask what version of Mint or other OS you're using? Did you change one of the options and then press the "apply" button and nothing happened? What output do you get if you run options.py in a terminal and try changing an option? Thanks.