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

add Peppermint 7 support #94

Merged
merged 2 commits into from
May 17, 2017
Merged

add Peppermint 7 support #94

merged 2 commits into from
May 17, 2017

Conversation

s4w3d0ff
Copy link
Contributor

I get:

Couldn't detect your desktop environment ('unknown'), but you have 'nitrogen' installed so we will use it...
Could not get bg groups from config file.

In python 3:

>>> import os
>>> os.environ.get("DESKTOP_SESSION")
'Peppermint'
>>> os.environ.get("XDG_CURRENT_DESKTOP")
'LXDE'

Haven't tested yet but it seems like this should do the trick.

```
>>> import os
>>> os.environ.get("DESKTOP_SESSION")
'Peppermint'
>>> os.environ.get("XDG_CURRENT_DESKTOP")
'LXDE'
```
@s4w3d0ff
Copy link
Contributor Author

this patch is now tested and works on Peppermint 7

@boramalper boramalper merged commit 1091e40 into boramalper:master May 17, 2017
@boramalper
Copy link
Owner

Thanks a lot! =)

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

Successfully merging this pull request may close these issues.

2 participants