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

'DESKTOP_SESSION' Error in install.py #11

Open
blyxyas opened this issue Feb 7, 2022 · 3 comments
Open

'DESKTOP_SESSION' Error in install.py #11

blyxyas opened this issue Feb 7, 2022 · 3 comments

Comments

@blyxyas
Copy link

blyxyas commented Feb 7, 2022

Hi, I tried to run the installer, with qtile started, and it gave this issue:

Traceback(most refcent call last):
File "root/ThemeSaver/install.py", line 16, in <module>
    DE = os.environ["DESKTOP_SESSION"]
File "usr/lib/python/3.10/os.py", line 679, in __getitem__
    raise KeyError(key) from None

This is in Arch, if that changes something

@techcoder20
Copy link
Collaborator

Hi I added a few fixes. Can you try running the install script again

@blyxyas
Copy link
Author

blyxyas commented Feb 8, 2022

I made a total new user, with nothing in it and it worked! In my main user it didn't worked, it just was the same but instead of "DESKTOP_SESSION" was "XDG_DESKTOP_SESSION", I don't know why, because I installed Linux a few days ago, and it has barely the basic, I can't think of anything that may cause that error

@blyxyas
Copy link
Author

blyxyas commented Feb 10, 2022

Ok, now it just doesn't work
I tried in this new user multiple times, but I don't know exactly what causes the bug, I tried without startx, with just startx and with exec i3, but it didn't work, just the same error.

What DE is the program made for?

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

2 participants