logging.debug("Testing for Gnome")
if check_cmd("xwininfo -name 'gnome-settings-daemon'"):
if check_cmd("gsettings get org.gnome.desktop.background picture-uri"):
logging.debug("Testing for Gnome")
if check_cmd("xwininfo -name 'gnome-settings-daemon'"):
if check_cmd("gsettings get org.gnome.desktop.background picture-uri"):