Skip to content
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

Material theme: Changes are not applied #10

Open
fredcw opened this issue Mar 26, 2024 · 0 comments
Open

Material theme: Changes are not applied #10

fredcw opened this issue Mar 26, 2024 · 0 comments

Comments

@fredcw
Copy link
Owner

fredcw commented Mar 26, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant