qubes-desktop-run 238 B

1234567891011
  1. #!/usr/bin/python
  2. from gi.repository import Gio
  3. import sys
  4. def main(myname, desktop, *files):
  5. launcher = Gio.DesktopAppInfo.new_from_filename(desktop)
  6. launcher.launch(files, None)
  7. if __name__ == "__main__":
  8. main(*sys.argv)