Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-14-2016, 05:37 AM   #1
Kim Gu
LQ Newbie
Registered: Jun 2016
Posts: 6

Rep: Reputation: Disabled
When I use dbus-send, How can I get destination(program)'s information?

dbus-send --print-reply --system --dest=org.hell.Disks \
        /org/hell/Disks org.hell.Disks.Mount \
        string:$my_device string:"" array:string:"ro"
in this situation...

How can I get DEST and STRING 's information?

Should I analyze the source code of destination program?
Old 09-17-2016, 11:27 AM   #2
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
I think you have to use a command to get the destination information.

dbus commands have four important elements: Destination, path, method, and message.
See the examples given on this page.

Should I analyze the source code of destination program?
I've never tried it so I'm not sure.
It can't hurt to analyze it if anything it will give you more information than what you had.

There are a handful of dbus Tutorials online so you might want to look at them.

Good Luck:-



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dbus-send question. HarryBoy Linux - Newbie 3 02-03-2010 12:39 AM
problem:Dbus Reject send message! minge.zu Linux - Software 2 08-31-2009 05:05 PM
Unable to send packet to the destination kamranysf Programming 0 02-07-2009 10:21 AM
SELinux: dbus: Can't send to audit system xpucto Linux - Newbie 1 07-05-2007 05:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration