EnglishFrenchSpanish

Ad


OnWorks favicon

gtrayicon - Online in the Cloud

Run gtrayicon in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gtrayicon that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gtrayicon - Generic tray icon for GNOME

DESCRIPTION


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'

--menu-file=menu-path
custom menu to display for right button

--activated
start in 'activated' state (default: 'deactivated' state)

EXAMPLE


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"

MENU


For an example on how to write a menu file,see
/usr/share/doc/gtrayicon/examples/sample.menu

Use gtrayicon online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad