# Path: ubuntucleaner/settings/constants.py
# APP = applize(PACKAGE)
# 
# PKG_VERSION = VERSION


import os
from ubuntucleaner.settings.constants import APP, PKG_VERSION



def get_distro():
    return os.popen('lsb_release -ds').read().strip()


def get_codename():
    return os.popen('lsb_release -cs').read().strip()


def get_desktop():
    '''
    ubuntu
    ubuntu-2d
    gnome-classic
    gnome-shell
    '''
    return os.getenv('DESKTOP_SESSION')


def get_app():
    '''Ubuntu Cleaner 0.5.x'''

# Path: ubuntucleaner/settings/constants.py
# APP = applize(PACKAGE)
# 
# PKG_VERSION = VERSION


# Path: ubuntucleaner/utils/system.py
import os
from ubuntucleaner.settings.constants import APP, PKG_VERSION




def get_distro():
    return os.popen('lsb_release -ds').read().strip()


def get_codename():
    return os.popen('lsb_release -cs').read().strip()


def get_desktop():
    '''
    ubuntu
    ubuntu-2d
    gnome-classic
    gnome-shell
    '''
    return os.getenv('DESKTOP_SESSION')


def get_app():
    '''Ubuntu Cleaner 0.5.x'''

    return " ".join([APP, PKG_VERSION])