Hi Milan, hi all,
On So 14 Aug 2011 20:32:48 CEST Milan Knížek wrote:
V Sun, 14 Aug 2011 19:50:01 +0200 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> napsáno:
On So 14 Aug 2011 19:31:44 CEST Milan Knížek wrote:
(I use PCmanFM in LXDE on Arch linux for managing the Desktop and that file is just displayed as any other ordinary text file.)
There used to be a project called ,,x2golxdebindings'' that addressed your reported issue. However, after closer introspection, I discovered that this project adds some files that the ,,x2gognomebindings'' package also adds to a system.
However, I will add the current status of the x2golxdebindings project to our Git site, though it conflicts with x2gognomebindings currently.
Okay, no need to hurry.
I have added the project x2golxdebindings to X2go Git:
http://code.x2go.org/gitweb?p=x2golxdebindings.git;a=summary
Code is yet untested, Debian packages are available in the nightly
builds. Ubuntu packages will follow on PPA x2go/ppa.
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...
Hello Mike,
V Sun, 14 Aug 2011 21:47:34 +0200 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> napsáno:
I have added the project x2golxdebindings to X2go Git:
http://code.x2go.org/gitweb?p=x2golxdebindings.git;a=summary
Works pretty well for the shared folders, just pls update the following line in share/applications/x2gopcmanfm.desktop as follows:
MimeType=application/sshfsdisk-x2go-lxde;application/sshfscdrom-x2go-lxde;application/sshfsremovable-x2go-lxde
Also, there are no icons for the device.
I do not understand much how these things are supposed to work so that multiple icon themes are supported, nevertheless I solved that for my installation only: by creating links to my chosen icon theme in my PKGBUILD script:
$ ls pkg/usr/share/icons/dropline-neu/scalable/mimetypes/
application-sshfscdrom-x2go-lxde.svg -> /usr/share/icons/dropline-neu/scalable/devices/drive-cdrom.svg
application-sshfsdisk-x2go-lxde.svg -> /usr/share/icons/dropline-neu/scalable/devices/drive-harddisk.svg
application-sshfsremovable-x2go-lxde.svg -> /usr/share/icons/dropline-neu/scalable/devices/drive-removable-media.svg
http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování
Hi Milan, hi devs,
On Di 16 Aug 2011 00:12:27 CEST Milan Knížek wrote:
Hello Mike,
V Sun, 14 Aug 2011 21:47:34 +0200 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> napsáno:
I have added the project x2golxdebindings to X2go Git:
http://code.x2go.org/gitweb?p=x2golxdebindings.git;a=summary
Works pretty well for the shared folders, just pls update the following line in share/applications/x2gopcmanfm.desktop as follows:
MimeType=application/sshfsdisk-x2go-lxde;application/sshfscdrom-x2go-lxde;application/sshfsremovable-x2go-lxde
Also, there are no icons for the device.
I do not understand much how these things are supposed to work so that multiple icon themes are supported, nevertheless I solved that for my installation only: by creating links to my chosen icon theme in my PKGBUILD script:
$ ls pkg/usr/share/icons/dropline-neu/scalable/mimetypes/
application-sshfscdrom-x2go-lxde.svg -> /usr/share/icons/dropline-neu/scalable/devices/drive-cdrom.svg
application-sshfsdisk-x2go-lxde.svg -> /usr/share/icons/dropline-neu/scalable/devices/drive-harddisk.svg
application-sshfsremovable-x2go-lxde.svg -> /usr/share/icons/dropline-neu/scalable/devices/drive-removable-media.svg
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).
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...
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í
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...
On 2011-08-16 18:11, Mike Gabriel wrote:
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?).
http://wiki.x2go.org/roadmap#somewhen
Cheers Morty
-- Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen
Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : struebe@informatik.uni-erlangen.de WWW : http://www4.informatik.uni-erlangen.de/~morty