-
-
Notifications
You must be signed in to change notification settings - Fork 6
Features Services
coe0718 edited this page May 23, 2026
·
3 revisions
Manage systemd services.
deskbrid services list
deskbrid services list --type running
deskbrid services list --type enabledResponse:
{
"type": "response",
"status": "ok",
"data": [
{
"name": "nginx.service",
"status": "active",
"enabled": true,
"type": "service"
}
]
}Protocol:
{"action": "service.list", "unit_type": "service"}Unit types:
-
service- Regular services -
socket- Socket-activated services -
timer- Scheduled timers -
all- All unit types
deskbrid services status nginxProtocol:
{"action": "service.status", "name": "nginx.service"}deskbrid services start nginx
deskbrid services stop nginx
deskbrid services restart nginxProtocol:
{"action": "service.start", "name": "nginx.service"}deskbrid services enable nginx
deskbrid services disable nginx
deskbrid services enable --runtime nginx # Only for this bootProtocol:
{"action": "service.enable", "name": "nginx.service", "runtime": false}deskbrid services timers # List all timers
deskbrid services timer start daily-apt # Start a timer
deskbrid services timer stop daily-apt # Stop a timerProtocol:
{"action": "timer.start", "name": "daily-apt.timer"}deskbrid journal query --since 1h --unit nginx --tail 100
deskbrid journal query --since 2024-01-01 --priority 3 # Errors onlyProtocol:
{
"action": "journal.query",
"since": 3600,
"unit": "nginx.service",
"tail": 100
}from deskbrid import Deskbrid
client = Deskbrid()
# Check nginx status
status = client.service_status("nginx")
print(f"nginx: {status['status']}")
# Get recent logs
logs = client.journal_query(unit="nginx", tail=50)
for line in logs:
print(line)- 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