Identifying the desktop session

Jim Campbell jwcampbell at gmail.com
Wed Apr 27 18:46:36 UTC 2011


For user help purposes, we're wondering what would be the best way of
identifying the user's user session. For example, under Unity, running:

echo $DESKTOP_SESSION

just produces the result, "gnome."  running lsb_release -a  just gives info
about the general Ubuntu platform.

What would be the best way of identifying what session a user is running?
For starters, we'd need to know Xfce, Unity, Unity-2d, Gnome-Shell, etc.

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20110427/f37ab7cd/attachment.html>


More information about the Ubuntu-devel-discuss mailing list