Add new common function to launch applications, and get the env variable set by lxsession when launching them
Set some env variable before reading configuration file, to be able to find configuration file in xdg folders