gtrayicon1
Generic tray icon for gnome
Overview
Generic tray icon for GNOME is a small utility which allows to add a icon to the system tray that can be used to trigger customized enable/disable actions.
Options
-
--tooltip=string -
string to appear as tooltip
-
--activate=cmd -
activate command
-
--deactivate=cmd -
deactivate command
-
--activate-icon=icon-path -
icon to show for 'activate' action
-
--deactivate-icon=icon-path -
icon to show for 'deactivate'
-
--activated -
start in 'activated' state (default: 'deactivated' state)
Examples
Activate action: start webfs (web server) setting a pid file
Deactivate action: kill that webfs instance
- gtrayicon \
-
--activate="/usr/bin/webfsd -k /tmp/pid.file -r /var/www" \
--deactivate="cat /tmp/pid.file | xargs -ipid kill -TERM pid"
Releases
Unchanged in 5 releases since Debian 6.0 (Squeeze).