-
-
Notifications
You must be signed in to change notification settings - Fork 6
Features System Tray
Deskbrid v0.11.0 includes a system tray icon that provides quick access to common features and update notifications.
The system tray icon appears in your desktop's notification area and provides:
- Visual indication that deskbrid is running
- Quick actions for common tasks
- Update notifications when a new version is available
- Access to the daemon's version and status
Right-clicking the tray icon reveals a menu with the following options:
- Show Version: Displays the current deskbrid version
- Check for Updates: Manually triggers an update check
- Open Web Dashboard: Opens the screen recording web dashboard (if active)
- Restart Daemon: Restarts the deskbrid daemon
- Quit: Stops the deskbrid daemon
When a new version is detected via the background update check, the tray icon shows a notification badge or tooltip indicating an update is available. Clicking the notification or selecting "Check for Updates" from the menu will show the update details.
If screen recording is active, the tray menu includes an option to open the web dashboard at http://localhost:4199 (or configured port).
The system tray feature is managed entirely by the daemon and does not have a direct protocol interface. However, you can interact with it indirectly through the available commands:
from deskbrid import Deskbrid
client = Deskbrid()
# Check for updates (triggers the same check as the tray menu)
update_info = client.update_check()
if not update_info['up_to_date']:
print(f"Update available: {update_info['latest_version']}")
# Restart the daemon (same as tray menu option)
client.system_power(action="restart") # Note: This is a system power action, not a direct tray control
# Note: There is no direct protocol to control the tray icon, but you can:
# - Use notification.send to show a custom notification
# - Use system.info to get version info
# - Use system.health to check daemon status- The system tray uses the
tray-iconcrate and is currently implemented for desktop environments that support system trays (GNOME, KDE, etc.) - On some minimal window managers or WMs without a tray, the icon may not appear
- The tray icon is designed to be lightweight and unobtrusive
- Update notifications are also broadcast as
update.availableevents for integration with other systems
- 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