core-agent-linux/misc/qubes-desktop-run

12 lines
238 B
Plaintext
Raw Normal View History

#!/usr/bin/python
from gi.repository import Gio
import sys
def main(myname, desktop, *files):
launcher = Gio.DesktopAppInfo.new_from_filename(desktop)
launcher.launch(files, None)
if __name__ == "__main__":
main(*sys.argv)