0c2306dd0a
This reverts commit a5ee90b420
.
Lets start the Dbus service the proper way.
12 lines
238 B
Python
Executable File
12 lines
238 B
Python
Executable File
#!/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)
|