Solved PCManFM - Trash support - Operation not supported

Hi,

i use x11-wm/openbox as window manager (standalone, no desktop) and installed x11-fm/pcmanfm as file manager. Problem is that i can't get the trash working. It says "Operation not supported".

I've read that i have to install devel/gvfs in order to enable trash support (and i even gnome_enable="YES" in rc.conf), but this doesn't help.

System is FreeBSD 12.1-RELEASE-p2.

Any advice?
 
I was never able to get trash working until I added this in my .xinitrc file:

Code:
#Start DBUS session bus:
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
   eval $(dbus-launch --sh-syntax --exit-with-session)
fi
 
I was never able to get trash working until I added this in my .xinitrc file:
Thank you very much! It works now.

I now use
exec ck-launch-session dbus-launch --exit-with-session openbox-session
instead of
exec openbox-session
in
.xinitrc.

In addition to dbus i hald_enable="YES" in rc.conf too. Don't know if it's neccessary, but since it's a dependency of gvfs i thought it can't hurt.

Again, thanks a lot!
 
Thank you very much! It works now.

I now use
exec ck-launch-session dbus-launch --exit-with-session openbox-session
instead of
exec openbox-session
in
.xinitrc.

In addition to dbus i hald_enable="YES" in rc.conf too. Don't know if it's neccessary, but since it's a dependency of gvfs i thought it can't hurt.

Again, thanks a lot!

No problem. I was always told you don't need hald anymore because devd replaced it but I experienced no adverse effects having it in there.
 
In addition to dbus i hald_enable="YES" in rc.conf too. Don't know if it's neccessary, but since it's a dependency of gvfs i thought it can't hurt.
sysutils/hal is now been deprecated so you don't need him, unless you want to have mount icons on your desktop for example. Starting with 12.1 devd is replaced by udev which means in the future devd will also become obsolete too.
 
I removed hald_enable="YES" from rc.conf and ck-launch-session from .xinitrc and trash still works.
Checking docs for udev now...

Thanks!
 
Yes, gvfs is required to get trash working. It's an additional download of ~330MB so this kinda sucks if you want a small system.
 
Yeah, I saw that - it's not that I want a small system, it's just that using packages, it pulls in a ton of utterly pointless apps like gnome online accounts. No worries, I have a small script that empties the trash. I did leave the dbus entry in my .xinitrc though - probably benefits in some way.
 
sysutils/hal is now been deprecated so you don't need him, unless you want to have mount icons on your desktop for example. Starting with 12.1 devd is replaced by udev which means in the future devd will also become obsolete too.
Maybe I'm wrong, but I don't think devd is being replaced at all. The updated xorg port uses udev through devel/libudev-devd which in turn uses devd as its backend...
I understand devd is the only native FreeBSD solution and therefore the one that's gonna continue being officially supported.
HAL is indeed dead though ;)
 
Back
Top