Net::OpenVPN::TrayIcon - A simple GTK2 tray icon to start and stop OpenVPN
This is an unstable development release not ready for production!
Version 0.02.02
Net::OpenVPN::TrayIcon is a simple GTK2 tray icon that can be configured via config file.
Run ovpntray.pl to get a tray icon. When first run it will create the config directory in $HOME/.ovpntray including the default icons and a default config file.
You will most likely have to edit it and set the start and stop commands. Make sure you have the permission to run those commands.
Net::OpenVPN::TrayIcon currently has no configurable attributes.
my $trayicon = Net::OpenVPN::TrayIcon->new;
This builds everything needed to run. The config, the dispatch table, the tray icon object with menu, icon and tooltip.
$trayicon->run;
This is just a Gtk2->main; that starts the Gtk main loop.
Mugen Kenichi, <mugen.kenichi at uninets.eu>
<mugen.kenichi at uninets.eu>
Report bugs at:
Net::OpenVPN::TrayIcon issue tracker
https://github.com/mugenken/p5-Net-OpenVPN-TrayIcon/issues
support at uninets.eu
Technical support
To install Net::OpenVPN::TrayIcon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OpenVPN::TrayIcon
CPAN shell
perl -MCPAN -e shell install Net::OpenVPN::TrayIcon
For more information on module installation, please visit the detailed CPAN module installation guide.