On Tue, Nov 26, 2013 at 11:39:42AM +0100, David Henningsson wrote: > Hi, > > I talked to Tanu and Arun last week about my what-did-you-plugin-dialog, > and got some push back about my way of popping up the dialog. > > So, instead, what do you think of this solution - does this provide a > good separation between PulseAudio and the GUI process: > > * The dialog will be popped up through DBus activation. We define some > DBus name, e g org.pulseaudio.WhatDidYouPlugIn - and when accessing this > name, the process will be started by DBus. > * There will be DBus methods for popping up and killing the dialog, and > a signal back when the user selects something in the dialog (or cancels it). > > Second, we will create a new pulseaudio sub-project, pa_popup_dialogs or > something. This will contain the current dialog (it's designed by > Canonical, but it's nothing Ubuntu specific about it), and our > recommended solution by upstream. If gnome, kde, or some other DE wants > to write their own themed dialog, they will just install their own > solution instead, which we will communicate with through the > org.pulseaudio.WhatDidYouPlugIn name/interface. (I have some test code > using zenity too, but that will be dropped.) > > Thankful for a quick ack/nak on this. > Hi David. Did you take a look at the "Desktop Notifications Specification"[1]. It seems to somewhat overlap with your idea. The standard only mandates passive notification support in the notification server but most of them will probably support active notifications as well. I don't know if this helps or not but to me it seems like a good idea. Regards, Damir. [1] https://developer.gnome.org/notification-spec/