-
-
Notifications
You must be signed in to change notification settings - Fork 6
Features D Bus
Tuck edited this page Jun 28, 2026
·
1 revision
Make arbitrary D-Bus method calls on the system or session bus. Use this for deep integration with desktop services that aren't exposed through Deskbrid's higher-level actions.
Call a D-Bus method on a specific service, path, and interface.
| Parameter | Type | Description |
|---|---|---|
bus |
string? | Bus type: system or session (default: session) |
service |
string | D-Bus service name (e.g., org.freedesktop.NetworkManager) |
path |
string | Object path (e.g., /org/freedesktop/NetworkManager) |
interface |
string | Interface name (e.g., org.freedesktop.DBus.Properties) |
method |
string | Method name to call |
args |
JSON? | Arguments to pass to the method |
deskbrid d_bus.call '{
"bus": "session",
"service": "org.freedesktop.Notifications",
"path": "/org/freedesktop/Notifications",
"interface": "org.freedesktop.Notifications",
"method": "GetCapabilities"
}'{
"type": "d_bus.call",
"bus": "session",
"service": "org.freedesktop.Notifications",
"path": "/org/freedesktop/Notifications",
"interface": "org.freedesktop.Notifications",
"method": "GetCapabilities"
}Response:
{
"type": "response",
"status": "ok",
"data": {
"result": ["action-icons", "actions", "body", "body-hyperlinks", "body-images"]
}
}from deskbrid import Deskbrid
client = Deskbrid()
result = client.dbus_call(
bus="session",
service="org.freedesktop.Notifications",
path="/org/freedesktop/Notifications",
interface="org.freedesktop.Notifications",
method="GetCapabilities",
)
print(result["result"])D-Bus calls bypass most of Deskbrid's safety layer — use with caution.
Some methods can perform destructive system operations. Consider adding
rate limits and confirmation requirements for d_bus.* actions.
- Requires
dbusorzbuson the system - Works with both system and session buses
Stable — arbitrary D-Bus method calls supported.
- Accessibility
- Apps
- Audio
- Backlight (LED driver)
- Bluetooth
- Clipboard
- Color Picker
- Desktop Portal
- Desktop Settings
- Files
- Hotkeys
- Input
- Keyboard Layouts
- Media (MPRIS)
- Monitors
- Network
- Notifications
- Print (CUPS)
- Screenshots
- Screen Recording
- Screencast
- Self-Update
- System
- System Tray
- Systemd Units & Timers
- Terminals (PTY)
- Windows & Workspaces