def add_to_desktop(self, widget, desktopEntry): subprocess.call(['xdg-desktop-icon', 'install', '--novendor', desktopEntry.desktopFile])