Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

System D-BUS and $DISPLAY: msg#00083

freedesktop.dbus

Subject: System D-BUS and $DISPLAY

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>
Google Custom Search

Free Magazines

Cisco News
Receive 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

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo