|
|
Choosing A Webhost: |
System D-BUS and $DISPLAY: msg#00083freedesktop.dbus
Hi, Is there any "good" current solution for telling a GUI application activated through the system D-BUS which $DISPLAY it should use? There was recently a discussion[1] on the bluez-devel mailing list about how this should be handled with the bluetooth pin-code dialog. The conclusion was that the best way currently is not to use activation at all, but to have the application running all the time in the background. I can think of a couple of possible solutions to the problem, but it would be interesting to hear the opinions of D-BUS developers on this issue: 1. Have some well known D-BUS service started by X which can answer the question "which display should I use?" for activated applications. 2. Have some method for X to tell the D-BUS daemon a default $DISPLAY while the daemon is running. Before activating services the daemon would then set the DISPLAY variable accordingly. 3. Don't use activation with system D-BUS (at least not for GUI apps) br, Johan [1] http://sourceforge.net/mailarchive/forum.php?thread_id=4946573&forum_id=1881
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: dbus - comments requested, here's one, Havoc Pennington |
|---|---|
| Next by Date: | Re: dbus - comments requested, here's one, Tako Schotanus |
| Previous by Thread: | [Fwd: Notes on D-BUS specification], Havoc Pennington |
| Next by Thread: | Re: System D-BUS and $DISPLAY, Havoc Pennington |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|