Hi Milan,
On Di 16 Aug 2011 17:25:09 CEST Milan Knížek wrote:
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.)
This is basically a very good idea, maybe we should put that on the
post-Baikal todo list (ping@Morty: do you have that already somewhere?).
What do others think (as post-Baikal stuff...)?
o src package x2godesktopbindings
-> binary packages: x2godesktopbindings-common,
x2godesktopbindings-gnome,
x2godesktopbindings-lxde, ...
o + x2goplasmoid as it works very different from the others (and is actually
not a real binding but a plasmoid for KDE4)
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...