Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PCManFM problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
saz
n00b
n00b


Joined: 14 Jul 2006
Posts: 45

PostPosted: Fri Sep 24, 2010 3:01 pm    Post subject: PCManFM problems Reply with quote

Hi,

I was looking for a Thunar alternative and PCManFM is perfect, however I'm getting some errors/problems.

The "Trash" bookmark (trash:///) is not working I get a "Operation not supported" error and the folder is empty:
Code:
** (pcmanfm:15147): DEBUG: FmJob error: Operation not supported
** (pcmanfm:15147): DEBUG: FmJob error: Operation not supported

And I found out it uses ~/.local/share/Trash folder.

The "Applications" bookmark (menu://applications) is also empty.

For both this bookmarks if I click on "Properties" I get segmentation fault...

Is there a solution for this?
Can I re-route those bookmarks for the correct folders, like ~/.Trash and my ~/Software?
Can I at least delete those bookmarks?

Thanks
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Sat Sep 25, 2010 2:23 am    Post subject: Reply with quote

I use Fluxbox and I've been assuming these things don't work because they were meant for integration with XFCE, Gnome and KDE. I don't know this, I'm just guessing, since these DE's use "Trash" but Fluxbox does not.

Personally, I'd rather just do away with the Trash and Applications bookmarks.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
saz
n00b
n00b


Joined: 14 Jul 2006
Posts: 45

PostPosted: Sat Sep 25, 2010 10:36 am    Post subject: Reply with quote

audiodef wrote:
Personally, I'd rather just do away with the Trash and Applications bookmarks.


Yeah same, I guess it's about the DE but there should at least be an option to remove those bookmarks... whatever it's not like it's troublesome, its just dumb.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sat Sep 25, 2010 3:51 pm    Post subject: Reply with quote

I could be mistaken, but I think you need gvfs for trash to work in pcmanfm.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Mon Sep 27, 2010 12:58 pm    Post subject: Reply with quote

I have gvfs and the trash function still doesn't work for me in pvmanfm.

Not that I really care about it anyway... :P
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
chias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2009
Posts: 77
Location: everywhere

PostPosted: Fri Feb 25, 2011 9:04 am    Post subject: Reply with quote

I experience the same issues, although I do care about the resolution of at least the trash thing.

The issue is that pcmanfm will *put* things in my trash when I delete them. But then to delete / restore them I need to actually trek into .local/share/Trash/files with a terminal, and this is bothersome...
(I am using pcmanfm-9999 but experienced the same behavior in 0.9.7)
Back to top
View user's profile Send private message
V10lator
Apprentice
Apprentice


Joined: 11 Jul 2004
Posts: 207

PostPosted: Fri May 13, 2011 12:03 pm    Post subject: Reply with quote

Any news about this?
I tried to start /usr/libexec/gvfsd-trash manually but it didn't help. :(

//EDIT: I'm using IceWM. When I put the folowing in my .xinitrc:
exec ck-launch-session dbus-launch icewm-session
and start it with "startx" everything is working fine.

If I start IceWM with the help of LXDM and then start pcmanfm with:
ck-launch-session dbus-launch pcmanfm
it's working, too.

Now I'm searching for a way to start icewm with ck-launch-session and dbus-launch from LXDE.
I tried to put a shellskipt executing this in /usr/bin and edited my /etc/lxdm/lxdm.conf to use this by default (session=/usr/bin/starticeWM.sh) but this doesn't work (if I try to login I'm getting back to the login screen).

P.S. Sorry for my bad english.


Last edited by V10lator on Fri May 13, 2011 1:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Fri May 13, 2011 1:18 pm    Post subject: Reply with quote

chias wrote:
I experience the same issues, although I do care about the resolution of at least the trash thing.

The issue is that pcmanfm will *put* things in my trash when I delete them. But then to delete / restore them I need to actually trek into .local/share/Trash/files with a terminal, and this is bothersome...
(I am using pcmanfm-9999 but experienced the same behavior in 0.9.7)


You could turn off using trash.

.config/libfm/libfm.conf -> use_trash



Whether gvfs is needed depends on which version of pcmanfm/libfm you are using.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
V10lator
Apprentice
Apprentice


Joined: 11 Jul 2004
Posts: 207

PostPosted: Fri May 13, 2011 1:23 pm    Post subject: Reply with quote

Anon-E-moose wrote:
You could turn off using trash.
That's not the right solution (see the EDIT in my previous post).
But I still need the solution for LXDM + IceWM.

//EDIT: Got it!
Code:
--- /etc/lxdm/Xsession.bkup   2011-05-13 15:37:30.149176695 +0200
+++ /etc/lxdm/Xsession   2011-05-13 16:17:11.955372162 +0200
@@ -34,7 +34,8 @@
       . /etc/lxdm/xinitrc
    fi
    if ! [ -z "$XDG_SESSION_COOKIE" ]; then
-      CK_XINIT_SESSION=
+      CK_XINIT_SESSION="/usr/bin/ck-launch-session dbus-launch --exit-with-session"
+
    elif [ -x /usr/bin/ck-launch-session ]; then
       CK_XINIT_SESSION="/usr/bin/ck-launch-session"
    fi
Does the trick! Should work with any WM. :)
Back to top
View user's profile Send private message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Mon May 30, 2011 6:20 pm    Post subject: Reply with quote

Violator, I have fluxbox+pcmanfm, but dont know where to put that your config. PLease could explain it?
Back to top
View user's profile Send private message
V10lator
Apprentice
Apprentice


Joined: 11 Jul 2004
Posts: 207

PostPosted: Wed Jun 01, 2011 8:32 am    Post subject: Reply with quote

rado3105 wrote:
PLease could explain it?
Okay, my solution is only yours if you are using LXDM to log into your X-Session.
If you use another DM try to figure out how it's starting fluxbox and try to change it (if it's starting it like that:
Code:
fluxbox &
try to change it to:
Code:
/usr/bin/ck-launch-session dbus-launch --exit-with-session fluxbox &
for exapmle).


Alternatively try to start pcmanfm like this:
Code:
/usr/bin/ck-launch-session dbus-launch --exit-with-session pcmanfm
Which isn't the best solution but should work.
Back to top
View user's profile Send private message
blackrook
n00b
n00b


Joined: 16 Jun 2011
Posts: 2

PostPosted: Thu Jun 16, 2011 3:14 pm    Post subject: Reply with quote

V10lator wrote:
//EDIT: Got it!


I say... wow.

In my case emerging gvfs with "samba" USE-flag set was enough to get it to work.
Back to top
View user's profile Send private message
V10lator
Apprentice
Apprentice


Joined: 11 Jul 2004
Posts: 207

PostPosted: Fri Jun 17, 2011 11:07 am    Post subject: Reply with quote

blackrook wrote:
In my case emerging gvfs with "samba" USE-flag set was enough to get it to work.
That sound's like a (hard) bug to me!
Samba shouldn't have to do anything with this issues and enabling samba shouldnt solve this.

The original problem is a security problem (polkit/consolekit) and you are bypassing the security with samba? As I sayed: This shouldn't be possible and is a security risk. But I'm not willing to reproduce it right now.
Back to top
View user's profile Send private message
zzxop
n00b
n00b


Joined: 26 Mar 2004
Posts: 5

PostPosted: Sat Oct 29, 2011 1:57 am    Post subject: Re: PCManFM problems Reply with quote

saz wrote:
Hi,
The "Applications" bookmark (menu://applications) is also empty.

you can link /etc/xdg/menus/lxde-applications.menu to /etc/xdg/menus/applications.menu, and empty the files under ~/.cache/menus. Then open your pcmanfm

Good luck!
Back to top
View user's profile Send private message
geol
n00b
n00b


Joined: 18 Dec 2018
Posts: 11

PostPosted: Sat Feb 09, 2019 6:54 pm    Post subject: Reply with quote

So it is 2019 now. pcmanfm's "Trash Can", "Applications", "Devices", "Network" and MOST IMPORTANTLY (for myself) "sftp" still do not work.

Still no perfect solutions for these so far? Or is there a better alternative of pcmanfm with "sftp" feature?

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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