Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PCManFM issues (GVFS, daemon mode)[Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Fri Sep 02, 2011 9:57 am    Post subject: PCManFM issues (GVFS, daemon mode)[Solved] Reply with quote

Hello,

As my test machine has few RAM, I don't want to use Gnome.

I choose to use OpenBox and PCManFM as PCManFM is about to handle GVFS ... but the problem is how.
I googleing but didn't found any documentation but for Ubuntu or Arch and always mentioning Gnome.

What I'm looking for is to use some URI like sftp://me@myserver.chez.moi or such as I did in Nautilus. Which steps I have to follows for that ?

[Edit] the deamon mode is not working as well
Thanks

Laurent


Last edited by destroyedlolo on Sat Nov 05, 2011 2:23 pm; edited 3 times in total
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 534

PostPosted: Fri Sep 02, 2011 12:39 pm    Post subject: Reply with quote

From what I have seen, enabling gvfs doesn't involve that many Gnome dependencies. You might also want to read http://wiki.lxde.org/en/PCManFM_Roadmap.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Fri Sep 02, 2011 1:50 pm    Post subject: Reply with quote

Hi Keet and thanks for your attention.

keet wrote:
From what I have seen, enabling gvfs doesn't involve that many Gnome dependencies.


I know and it's what I did : installing gvfs with only flags I'm looking for, and, indeed, there are only few dependancies ...

The only problem is as per http://wiki.lxde.org/en/PCManFM, "Full gvfs support with seamless access to remote filesystems (Able to handle sftp://, webdav://, smb://, ...etc when related backends of gvfs are installed.)" ... but how can I install those backend ?

I emerged gvfs with "archive cdda fuse gphoto2 http udev bash-completion" as flags.

  • first of all, as per emerge -vp gvfs, there is no ssh or sftp flags so I guess they are enabled by default :)
  • even installed, I can't see any difference in PCManFM and trying sftp://... doesn't work.


So all in all, I think I'm missing something. So my request for a todo list (at least for GVFS).

Best regards,

Laurent
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 534

PostPosted: Fri Sep 02, 2011 2:07 pm    Post subject: Reply with quote

This is going to be a quick reply because I have little time here today, but are we confusing gvfs and gnome-vfs? They're separate packages, but maybe it's actually gnome-vfs that you want.

After a quick search, I found http://blog.colovirt.com/2009/12/07/linux-filesystem-gnome-virtual-file-system-gvfs-remote-connectivity-cli/. Sorry if it doesn't help, but I figured it was worth a try.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Fri Sep 02, 2011 2:14 pm    Post subject: Reply with quote

keet wrote:
This is going to be a quick reply because I have little time here today, but are we confusing gvfs and gnome-vfs? They're separate packages, but maybe it's actually gnome-vfs that you want.

Do note, that gnome-vfs has been marked deprecated by it's upstream long ago and was replaced by gvfs.
Google a bit better.

@destroyedlolo: check for /usr/libexec/gvfsd-sftp - if it's there, you'll need to still install ssh.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Fri Sep 02, 2011 4:59 pm    Post subject: Reply with quote

VoidMage wrote:
@destroyedlolo: check for /usr/libexec/gvfsd-sftp - if it's there, you'll need to still install ssh.


It is here.
But how it is started ?
Idem with gvfsd which is I guess the governor : who is starting it ?
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Fri Sep 02, 2011 9:14 pm    Post subject: Reply with quote

Hum, I just found : this tips that may help at least for plugable devices.

Testing ...
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Sat Sep 03, 2011 10:45 am    Post subject: Reply with quote

So, I'm able to mount USB keys ... but trying to do
Code:
sftp://laurent:mypasswd@myserver.chez.moi
crash PCManFM :
Code:
laurent@dell ~ $ pcmanfm
** (pcmanfm:1920): DEBUG: (NULL) message

(pcmanfm:1920): Gtk-CRITICAL **: IA__gtk_entry_get_text: assertion `GTK_IS_ENTRY (entry)' failed
Segmentation fault


I was able to mount my remote file system from the shell :
Code:
gvfs-mount sftp://laurent@chose.chez.moi
, I can see it in PCManFM's "computer:///", be able to do some copy past ...

Last edited by destroyedlolo on Sat Sep 03, 2011 11:50 am; edited 1 time in total
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sat Sep 03, 2011 11:47 am    Post subject: Reply with quote

destroyedlolo wrote:
It is here.
But how it is started ?
Idem with gvfsd which is I guess the governor : who is starting it ?

It should start automatically. How do you start your environment? Do you have both a system and a user dbus session?
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Sat Sep 03, 2011 11:54 am    Post subject: Reply with quote

Gusar wrote:
It should start automatically. How do you start your environment? Do you have both a system and a user dbus session?

Yes, it's ok :D

Now my only problem is I have to mount remote sessions from the shell as specifying the URI in PCManFM itself crashes.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Sat Sep 03, 2011 4:37 pm    Post subject: Reply with quote

In fact, deamon mode is not working as well :

I'm launching from openbox's autostart.sh the following command :
Code:
pcmanfm --desktop --daemon-mode &

but in X, I'm not able at all to start pcmanfm : If I'm launching it from a shell, it exits without any problem but no window appears :?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Sat Sep 03, 2011 6:38 pm    Post subject: Reply with quote

Once it's started as a daemon (though likely it doesn't need to be), try i.e. 'pcmanfm /'.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Sun Sep 04, 2011 12:45 pm    Post subject: Reply with quote

Thanks : I've put : pcmanfm 'computer:///' and it's working well now.

My only concern is now to make "sftp://" working.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Sun Sep 04, 2011 9:30 pm    Post subject: Reply with quote

Hum, I think it's a but in PCManFM or in gvfs :

  • if I'm launching from the shell
    Code:
    pcmanfm sftp://chose.chez.moi
    , it's working, and I can open other sftp directly from PCManFM.
  • if I initially opening directly from PCManFM : crash.


So I'm creating an OpenBox menu 'till it's solved.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Sat Nov 05, 2011 2:23 pm    Post subject: Reply with quote

After my last emerge, and after installed lxde, I don't have problem anymore.

bye
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum