Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • D developer.puri.sm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • David Boddie
  • developer.puri.sm
  • Wiki
  • D Bus examples

D Bus examples · Changes

Page history
Show how to introspect with a method call. authored Feb 15, 2019 by David Boddie's avatar David Boddie
Hide whitespace changes
Inline Side-by-side
D-Bus-examples.md
View page @ 9847e7a4
......@@ -42,9 +42,13 @@ iface.EnumerateDevices()
This is how you call the same method using `gdbus`:
``` bash
gdbus call --system --dest org.freedesktop.UPower --object-path /org/freedesktop/UPower --method org.freedesktop.UPower.EnumerateDevices
gdbus call --system --dest org.freedesktop.UPower --object-path /org/freedesktop/UPower --method org.freedesktop.DBus.Introspectable.Introspect
```
You can also introspect with `gdbus` using a method call instead of the `introspect` command:
``` bash
gdbus call --system --dest
## Using Gio
......
Clone repository
  • Changing the Phosh Wallpaper
  • D Bus examples
  • Debugging Python applications in flatpaks
  • Developer Documentation Overview
  • Devkit I2C Notes
  • Devkit notes
  • Documenting Applications
  • PyGObject Development Notes
  • Home