how to check which desktop environment is installed code example Example: which desktop environment is runnings $ echo $DESKTOP_SESSION