alexeevdv / dename

Bash script to detect linux desktop environment name and version
12 stars 1 forks source link

Detects Unity as gnome #1

Closed mdeguzis closed 9 years ago

mdeguzis commented 9 years ago

Using your script:

mike@mike-test2:~$ ./desk.sh  -n
GNOME
alexeevdv commented 9 years ago

fixed, thank you :)

mdeguzis commented 9 years ago

awesome , ill try this out. This will help me with my retro gaming project. When running as sudo, I could not find a way (after numerous potential solutions) to get the XDG_CURRENT_DESKTOP var while running in su/sudo/elevated status. I'll report back on how I make out.

mdeguzis commented 9 years ago

PERFECT. works on initial try. Should work in my function then. I'll be sure to add your name to my Authors list as a thank you if everything goes well. If you are curious, this applies to my RetroRig-ES project, a fork for my RetroRig project that uses emulation station.

Take care

-PK

alexeevdv commented 9 years ago

Glad to hear that this script helps somebody :)