ActiveState Community

Perltray functionality for Linux

Posted by zipf on 2007-02-08 14:26
OS: All / Any

How can I get the functionality provided by Perltray for Windows in a Linux system?

kevinw | Fri, 2007-02-09 15:09

Hi,

There is nothing directly comparable (code-wise) to Windows' system tray on Linux. I would check the developers documentation for the facility you're using on Linux and see how it's done in other languages. I believe there is a common subset of functionality supported by KDE, GNOME, and WindowMaker, but it has been a while since I looked at this. In any case, it's not something that the Linux version of the PDK provides, unfortunately.

Cheers,

kjw

megagram | Sun, 2009-02-08 14:50

There are several Perl modules on CPAN that will let you use the same functionality. In fact, even for Windows, I don't use PerlTray and prefer to use the modules on CPAN instead. As an added benefit, you can even code your balloon events to trigger when you click the balloon (unlike PerlTray).

zipf | Sat, 2009-02-28 02:06

Hi

Could you please list the modules you mention?
I'm especially interested in ways of emulating the "RegisterHotkey" functionality in Linux and Mac OS X.

Thanks