Take the 2-minute tour ×

I have a application running a gtk window. When the user exit the app I just want to hide the window but keep the process running. So when the app is started I want to check

if app already running: show window, else create new window...

Is there a way to do this without using DBus?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I chose to use libunique, for gtk3 apps GtkApplication can be used.

share|improve this answer
libunique and GtkApplication/GApplication use D-Bus. –  nemequ May 26 '12 at 19:56
Besides DBus is the preferred method for desktop IPC, dbus is even approved in fdo. –  erick2red May 27 '12 at 5:42
libunique has several backends - not all of them use D-Bus. –  ptomato May 27 '12 at 13:30

Your Answer


