Re: Prevent app to run twice.

2016-04-24 Thread Stef Bon
2016-04-24 12:12 GMT+02:00 Kai Uwe Broulik : > Hi, > > you can use KDBusService in KDBusAddons [1] which does that for you. Thanks a lot. I've read the document you've send. So it looks like I have to create: - a desktop file with DBusActivatable set to yes - a xml dbus file described here: ht

Re: Prevent app to run twice.

2016-04-24 Thread Kai Uwe Broulik
Hi, you can use KDBusService in KDBusAddons [1] which does that for you. Cheers,  Kai Uwe [1] http://api.kde.org/frameworks-api/frameworks5-apidocs/kdbusaddons/html/classKDBusService.html

Prevent app to run twice.

2016-04-24 Thread Stef Bon
Hi, I'm working on a backup application. One of the things which should work is selecting a file which is part of a backup, when clicking on the context menu. I've created a backup.desktop file, which appears in the context menu in Dolphin. When clicking on the name for it ("Backup") the file sho