def set_desktop_wallpaper(desktop, img):
desktop = str(desktop).lower()<EOL>if "<STR_LIT>" in desktop or "<STR_LIT>" in desktop:<EOL><INDENT>xfconf("<STR_LIT>", img)<EOL>xfconf("<STR_LIT>", img)<EOL><DEDENT>elif "<STR_LIT>" in desktop or "<STR_LIT>" in desktop:<EOL><INDENT>util.disown(["<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT>", "<STR_LIT>" + urllib.parse.quote(img)])<EOL><DEDENT>elif "<STR_LIT>" in desktop or "<STR_LIT>" in desktop:<EOL><INDENT>util.disown(["<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT>", "<STR_LIT>" + urllib.parse.quote(img)])<EOL><DEDENT>elif "<STR_LIT>" in desktop:<EOL><INDENT>util.disown(["<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>", img])<EOL><DEDENT>elif "<STR_LIT>" in desktop:<EOL><INDENT>util.disown(["<STR_LIT>", "<STR_LIT>", "<STR_LIT:*>", "<STR_LIT>", img, "<STR_LIT>"])<EOL><DEDENT>elif "<STR_LIT>" in desktop:<EOL><INDENT>util.disown(["<STR_LIT>",<EOL>"<STR_LIT>"<EOL>.format(**locals())])<EOL><DEDENT>else:<EOL><INDENT>set_wm_wallpaper(img)<EOL><DEDENT>
Set the wallpaper for the desktop environment.