[Digikam-users] how to make sure that digikam is started only once

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Mar 24 12:25:20 GMT 2010


> Hi,
> 
> what is the best method to ensure that there is only one digikam instance
> started on a computer? Is there a signal to restore/maximise a running
> digikam application, that could be sent from a shell script?

Use qdbusviewer to browse the DBus interfaces available. You can get the winID 
from the org.kde.MainAppliction. I currently dont know how to show a window, 
seems KWin does not provide the via DBus.

> 
> Background: My father is organizing his images with digikam, but sometimes
> he overlooks a minimized digikam and starts a 2nd or 3rd instance. This
> seems to lead to crashes.

Give us backtraces...



More information about the Digikam-users mailing list