Hello Mike,
V Tue, 16 Aug 2011 14:14:34 +0200 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> napsáno:
Thanks for your input on this!!! Fixed in latest Debian package and in X2go Git (Ubuntu packages will follow some time during the next 24h automatically).
I have further looked on git on the x2go*bindings and it seems that the default file manager for handling the shared (sshfs) mounted directory is hardcoded - i.e. nautilus for GNOME, pcmanfm for LXDE.
How about using xdg-open for that? While it might make sense to expect that GNOME users have nautilus installed, users of less-fat environments usually prefer various file managers (thunar, pcmanfm) and not neccessarily the default one.
I tried to edit /usr/bin/x2gopcmanfm and replace the command:
system( "pcmanfm $dir" );
with
system( "xdg-open $dir" );
and it seems to work just fine.
What do you think?
(If it is fine, then the command could actually be named more neutrally, like x2gofilemanager and also the corresponding x2gofilemanager.desktop file and also the definition of mime type sshfs-x2go.xml - which would lead to unification of the code across desktop environments.)
http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování