On Tue, Dec 4, 2012 at 1:58 PM, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> wrote:
I see a push for this patch is still pending. I have two comments on the patch (belated, sorry):
It would be fine to have the default/preferred applications configurable system-wide and on a per-user basis. Can you add that?
Err, the "system-wide" is currently hardcoded in the binary. Do you want to source additionally from some file in /etc/x2goserver/applications? What file should have precedence, the system-wide file or the file in the user home? And why?
Then: the name applications in ~/.x2go and /etc/x2go is already reserved. Expected is a directory or dir-symlink that contains / points to a folder with .desktop files. This is used in the x2gogetapps script and is part of the X2Go Published Applications feature.
Where is the specification/documentation for that? What would be the best place for this configuration setting?
Please consider using another name instead of ,,applications'' for the proposed environment file.
For instance X2GO_DEFAULT_APP_WWWBROWSER?
Isn't that a bit too verbose?
-- regards, Reinhard