-
Notifications
You must be signed in to change notification settings - Fork 647
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
core: detect what desktop environment the user is using #4343
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's XDG_CURRENT_DESKTOP
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this could also potentially be a good time / place to also print what OS someone is using
its typically found in /etc/*release
on many distros not sure how much this covers
I know you talked about that before
Yeah I've thought about that but |
May want to grab |
We're mainly concerned with gnome/not gnome at this point. If we ever need to detect a specific DE other than Gnome we can refine this check. We can add XDG_SESSION_TYPE in the future if it's needed. |
dc73f7a
to
a53c6b8
Compare
Can you please rebase, there are conflicts |
1 similar comment
Can you please rebase, there are conflicts |
a53c6b8
to
3c93f00
Compare
Done, and done. |
No description provided.