The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::OpenVPN::TrayIcon - A simple GTK2 tray icon to start and stop OpenVPN

WARNING

This is an unstable development release not ready for production!

VERSION

Version 0.02.02

SYNOPSIS

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.

ATTRIBUTES/CONSTRUCTION

Net::OpenVPN::TrayIcon currently has no configurable attributes.

Contruction

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.

METHODS

run

$trayicon->run;

This is just a Gtk2->main; that starts the Gtk main loop.

AUTHOR

Mugen Kenichi, <mugen.kenichi at uninets.eu>

BUGS

Report bugs at:

SUPPORT

  • Technical support

    <mugen.kenichi at uninets.eu>