A request came in saying that if Asunder is configured to start automatically when an audio CD is inserted - often multiple instances of asunder end up running and competing for access to the drive. This is more likely to happen when the user uses multiple desktops.
It probably makes sense to add a pid file to prevent Asunder from starting twice, though I have to figure out if that's enough or I should rather open a socket or something.
See GtkApplication here:
for one way to do it.
(libunique is the old way, and should be avoided now).
Looks like GtkApplication is a GTK3 thing, and libunique is "strongly discouraged". I'd rather not risk using that.