in reply to Re^2: Like to modify /usr/bin/vncserver to parse a config file
in thread Like to modify /usr/bin/vncserver to parse a config file

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. }