QtSingleApplication http://doc.qt.digia.com/solutions/4/qtsingleapplication/ Does GTK+ has such functionality?