boramalper / himawaripy

Set near-realtime picture of Earth as your desktop background
http://labs.boramalper.org/himawaripy
MIT License
1.62k stars 239 forks source link

add Peppermint 7 support #94

Closed s4w3d0ff closed 7 years ago

s4w3d0ff commented 7 years ago

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.

s4w3d0ff commented 7 years ago

this patch is now tested and works on Peppermint 7

boramalper commented 7 years ago

Thanks a lot! =)