Re: [kde-linux] Storage media icon



On Monday 29 January 2007 12:04 pm, Alain M. wrote:

How can I insert an icon in the system tray from a script?

You can use ksystraycmd to create system tray icons for any
application. Here is one I use for running kcalc from the
system tray: ksystraycmd --window 'Calculator' --startonshow
--quitonhide --icon kcalc --tooltip 'Calculator' kcalc --caption
'Calculator'

I placed this command in a .desktop file and placed that in my
Autostart folder, but you can adapt it to create icons on the
fly from a shell script. Documentation for the command is in
your kde manual and command-line options can be shown with
ksystraycmd --help.
--
73, AC7ZZ
http://counter.li.org/
Linux User #246504
___________________________________________________
This message is from the kde-linux mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.