You are not logged in.
When I boot to my Xfce 4.3.99.1 desktop there is always an error window titled "Trash Error". The error message reads: "Unable to connect to the Xfce Trash service. Make sure you have a file manager installed that supports the Xfce Trash service, such as Thunar." Clicking the close button gets rid of the error window and everything appears to be OK. I have Thunar installed. When I right click the Trash icon and click "open" I get the same error window. When I double click the Trash icon, Thunar opens with the Trash folder open, ready for browsing.
Does anyone know how to eliminate this annoying error message?
Thanks for any help, jimbo
Offline
You can have a "Thunar --daemon" instance run at startup, which will provide the trash service, at a cost of approximately 4.5 MB of RAM at startup.
If you use Thunar regulary though, this will not be a problem since this will be shared among all the instances you'll eventually open.
Offline
Go to /opt/xfce4/etc/xdg/xfce4-session/xfce4-session.rc (Might not be exact location but that is where I believe it is). Look for the lines where it has Commands and Thunar,--daemon and xfdesktop. xfdesktop starts before thunar in this setup. So, reverse the two, put xfdesktop where Thunar,--daemon is and vice versa. Then log out and log back in making sure to create a new session (not using anything from the old one). Also, make sure you have fam in /etc/rc.conf's DAEMONS.
Offline
Go to /opt/xfce4/etc/xdg/xfce4-session/xfce4-session.rc (Might not be exact location but that is where I believe it is). Look for the lines where it has Commands and Thunar,--daemon and xfdesktop. xfdesktop starts before thunar in this setup. So, reverse the two, put xfdesktop where Thunar,--daemon is and vice versa. Then log out and log back in making sure to create a new session (not using anything from the old one). Also, make sure you have fam in /etc/rc.conf's DAEMONS.
Thanks for the detailed help. I followed your suggestion, but the error window still shows up on every boot.
Thanks for any additional help, jimbo
Offline
Same problem here
Offline
I set "save session" checkbox, logged out and log in again. Message about "trash service" is not appear more...
Offline
I set "save session" checkbox, logged out and log in again. Message about "trash service" is not appear more...
That doesn't work for me. Same problem every time I log in. Must be some obscure bug.
Thanks, jimbo
Offline
Open Settings -> Autostart applications , and make a new entry to run the command 'thunar --daemon', and make sure it is checked.
Offline
Open Settings -> Autostart applications , and make a new entry to run the command 'thunar --daemon', and make sure it is checked.
That fixed half of the problem. Right click on desktop Trash icon, then select open now brings up Thunar with Trash open for browsing. I still get the error window on log in.
Thanks, jimbo
Edit: OK, problem solved. After a reboot, the pesky error window is gone. Previous message was the result of logging out and then logging in. The reboot was necessary for the "full" effect.
Thanks, jimbo
Offline
well problem is elsewhere. thunar is not there in ~/.cache/sessions/xfce4-session-bluehead:0 (bluehead is the name of my computer).
Here is my current file.
[Session: Default]
Client0_ClientId=117f000001000116393963600000025080000
Client0_Hostname=local/bluehead
Client0_CloneCommand=xfwm4,--sm-client-id,117f000001000116393963600000025080000,--display,:0.0
Client0_CurrentDirectory=/home/shantanu
Client0_Priority=20
Client0_Program=xfwm4
Client0_RestartCommand=xfwm4,--sm-client-id,117f000001000116393963600000025080000,--display,:0.0
Client0_UserId=shantanu
Client1_ClientId=117f000001000116393963700000025080002
Client1_Hostname=local/bluehead
Client1_CloneCommand=Thunar
Client1_DiscardCommand=rm,-f,/home/shantanu/.cache/sessions/Thunar-117f000001000116393963700000025080002
Client1_Priority=24
Client1_Program=Thunar
Client1_RestartCommand=Thunar,--sm-client-id,117f000001000116393963700000025080002,--daemon
Client1_UserId=shantanu
Client2_ClientId=117f000001000116393963800000025080003
Client2_Hostname=local/bluehead
Client2_CloneCommand=xfdesktop,--sm-client-id,117f000001000116393963800000025080003,--display,:0.0
Client2_CurrentDirectory=/home/shantanu
Client2_Priority=35
Client2_Program=xfdesktop
Client2_RestartCommand=xfdesktop,--sm-client-id,117f000001000116393963800000025080003,--display,:0.0
Client2_UserId=shantanu
Client3_ClientId=117f000001000116393963600000025080001
Client3_Hostname=local/bluehead
Client3_CloneCommand=xfce4-panel,--sm-client-id,117f000001000116393963600000025080001,--display,:0.0
Client3_CurrentDirectory=/home/shantanu
Client3_Priority=40
Client3_Program=xfce4-panel
Client3_RestartCommand=xfce4-panel,--sm-client-id,117f000001000116393963600000025080001,--display,:0.0
Client3_UserId=shantanu
Count=4
LegacyCount=0
Screen0_ActiveWorkspace=0
LastAccess=1163939864
The lines in red went missing somehow. What I did was
cd ~/.cache/sessions/
mv xfce4-session-bluehead:0 xfce4-session-bluehead:0.old
then restarted and logged in again. now, a new xfce4-session-bluehead:0 file was created with all the thunar stuff in there that were missing. Then I removed the xfce4-session-bluehead:0.old file as that was not required.
Offline
Can u guys see if adding a xfce4.conf to /etc/dbus-1/session.d/ fixes the problem?
This is just the gnome.conf in the same directory copied to xfce4.conf and the <servicedir> edited to replace /opt/gnome with /opt/xfce4 .
This works for me.
If it works for others then the maintainers can update the PKGBUILDs to install this file rather than everyone needing to add autostart entries.
Offline