You are not logged in.

#1 2006-10-15 00:13:49

jimbo-62
Member
From: Utah
Registered: 2005-07-31
Posts: 72

[Solved] Xfce Trash Service???

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

#2 2006-10-15 01:01:03

stavrosg
Member
From: Rhodes, Greece
Registered: 2005-05-01
Posts: 330
Website

Re: [Solved] Xfce Trash Service???

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

#3 2006-10-15 02:48:31

yankees26
Member
From: Connecticut, USA
Registered: 2006-09-29
Posts: 190

Re: [Solved] Xfce Trash Service???

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

#4 2006-10-15 14:37:54

jimbo-62
Member
From: Utah
Registered: 2005-07-31
Posts: 72

Re: [Solved] Xfce Trash Service???

yankees26 wrote:

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

#5 2006-10-15 22:56:59

hotsauce
Member
From: Ann Arbor
Registered: 2005-12-28
Posts: 125

Re: [Solved] Xfce Trash Service???

Same problem here

Offline

#6 2006-10-16 07:07:18

PavelZh
Member
From: Russia
Registered: 2006-08-04
Posts: 31

Re: [Solved] Xfce Trash Service???

I set "save session" checkbox, logged out and log in again. Message about "trash service" is not appear more...

Offline

#7 2006-10-16 12:30:25

jimbo-62
Member
From: Utah
Registered: 2005-07-31
Posts: 72

Re: [Solved] Xfce Trash Service???

PavelZh wrote:

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

#8 2006-10-16 12:35:58

stavrosg
Member
From: Rhodes, Greece
Registered: 2005-05-01
Posts: 330
Website

Re: [Solved] Xfce Trash Service???

Open Settings -> Autostart applications , and make a new entry to run the command 'thunar --daemon', and make sure it is checked.

Offline

#9 2006-10-16 14:26:22

jimbo-62
Member
From: Utah
Registered: 2005-07-31
Posts: 72

Re: [Solved] Xfce Trash Service???

stavrosg wrote:

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

#10 2006-11-19 12:48:04

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: [Solved] Xfce Trash Service???

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

#11 2006-11-19 21:47:54

basilburn
Member
Registered: 2005-12-09
Posts: 35

Re: [Solved] Xfce Trash Service???

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

Board footer

Powered by FluxBB