Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Net::DBus find by object

by kamils (Initiate)
on Jun 23, 2013 at 08:58 UTC ( [id://1040319]=perlquestion: print w/replies, xml ) Need Help??

kamils has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I'd like to use Net::DBus to connect to a client of evince (pdf viewer) to make it sync to a document. My problem is that, being a client, it does not have a fixed name. It is just assigned a number such as ":1.10". I know how to get a list of all services, but I don't know how to find which one contains the "/org/gnome/evince/Window/0" object. Can you help me, please?

Replies are listed 'Best First'.
Re: Net::DBus find by object
by Khen1950fx (Canon) on Jun 23, 2013 at 15:48 UTC
      That's great, thanks a lot! However, with some clients (e.g. notification daemon), dump can take a very long time. Do you happen to know how I could skip services that do not respond within a certain time limit?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1040319]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-03-28 14:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found