Check for $HOMEDIR/.vnc/config
This should get your started:
use Config::Tiny; my $CONFIGFILE = "$ENV{HOME}/.vnc/config"; if (-f $CONFIGFILE) { my $cfg = Config::Tiny->read($CONFIGFILE); $geometry = $cfg->{_}{geometry} if exists $cfg->{_}{geometry}; # ... etc. }
In reply to Re^3: Like to modify /usr/bin/vncserver to parse a config file
by Anonymous Monk
in thread Like to modify /usr/bin/vncserver to parse a config file
by gsky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |