Hi Reinhard, On Di 04 Dez 2012 14:03:40 CET Reinhard Tartler wrote:
On Tue, Dec 4, 2012 at 1:58 PM, Mike Gabriel <mike.gabr...@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?
As a file name: /etc/x2go/rootless-commands? ~/.x2go/rootless-commands?Or ,,default-applications'' at same locations? Your choice. Only ,,applications'' is already reserved. Config folders are either /etc/x2go or ~/.x2go.
About precedence: the common behaviour is that user configs supersede system-wide configs, isn't it? So let's go that way...(?)
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
ENO specs yet, or rather: they are inside the code... :-(
best place for this configuration setting?
see above...
Please consider using another name instead of ,,applications'' for the proposed environment file.For instance X2GO_DEFAULT_APP_WWWBROWSER?
prepending X2GO is surely a good idea. Actually, I like those variable names...
Mike -- DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgphI1WlImt4U.pgp
Description: Digitale PGP-Unterschrift
_______________________________________________ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev