Xfce Forum

Sub domains
 

You are not logged in.

#1 2006-09-03 23:32:58

mbokil
Member
Registered: 2004-11-24
Posts: 9
Website

Trash service error on startup

I recently upgraded to XFCE 4.4 RC1 and it completely rocks! I have one small problem. When XFCE4 starts up I get a dialog box telling me the "Trash service could not be connected to" or something very similar to that. I am using Fedora Core 5. Thunar works correctly and I can delete items to the trash. How can I get rid of the Trash service warning?


Author of: MenuX Firefox extension, MonkeyMenu Seamonkey extension, SeaFox GTK theme, and Volume Desklet
Cats rule!

Offline

#2 2006-09-04 09:50:50

bmeurer
Member
From: Siegen, Germany
Registered: 2003-10-18
Posts: 8
Website

Re: Trash service error on startup

I guess you are using either the trash panel applet or xfdesktop's trash can, but didn't Xfce with D-Bus support. Rebuild with D-Bus support (D-Bus 0.50 if you want to be safe), be sure to have the devel packages for both dbus and dbus-glib installed, and the warning will go away and you'll be able to use the full trash functionality.

Offline

#3 2006-09-04 12:57:24

mbokil
Member
Registered: 2004-11-24
Posts: 9
Website

Re: Trash service error on startup

Thanks I will give that a try. I installed using the GUI installer and let it install with the default settings.


Author of: MenuX Firefox extension, MonkeyMenu Seamonkey extension, SeaFox GTK theme, and Volume Desklet
Cats rule!

Offline

#4 2006-09-04 13:14:08

mmassonnet
Moderator
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: Trash service error on startup

Another guess is that Xfdesktop runs before Thunar (daemonized) on log in.  At least that's what is happening here.


Mike

Offline

#5 2006-09-04 14:33:24

mbokil
Member
Registered: 2004-11-24
Posts: 9
Website

Re: Trash service error on startup

Where's that script that starts up the XFCE4 components? Could I just place Thunar before xfdesktop so that the trash service is started first?


Author of: MenuX Firefox extension, MonkeyMenu Seamonkey extension, SeaFox GTK theme, and Volume Desklet
Cats rule!

Offline

#6 2006-09-05 01:20:12

mmassonnet
Moderator
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: Trash service error on startup

Look at ~/.cache/sessions/


Mike

Offline

#7 2006-09-05 21:54:12

systemx
Member
From: ~/
Registered: 2004-06-11
Posts: 67

Re: Trash service error on startup

change the order in said file - /$prefix$/etc/xdg/xfce4-session/xfce4-session.rc

example:

Count=4
Client0_Command=xfwm4
Client0_PerScreen=False
Client1_Command=xfce4-panel
Client1_PerScreen=False
Client2_Command=Thunar,--daemon
Client2_PerScreen=False
Client3_Command=xfdesktop
Client3_PerScreen=False

Offline

#8 2006-09-06 00:08:41

mbokil
Member
Registered: 2004-11-24
Posts: 9
Website

Re: Trash service error on startup

Thanks for the fix. So it must be a bug since I installed XFCE4 on a fresh install of FC5 and I selected all the default install options in the installer GUI. I thought it was a problem with order of loading since I have Thunar starting up on login.


Author of: MenuX Firefox extension, MonkeyMenu Seamonkey extension, SeaFox GTK theme, and Volume Desklet
Cats rule!

Offline

#9 2006-09-14 14:32:39

bmeurer
Member
From: Siegen, Germany
Registered: 2003-10-18
Posts: 8
Website

Re: Trash service error on startup

This is fixed for RC2 now. Thunar will register with a higher priority to the session manager, so it is restarted before xfdesktop. Still, it is suggested to setup D-Bus appropriately to enable service auto activation.

Offline

#10 2006-09-18 13:28:47

outlaw
Member
Registered: 2005-02-06
Posts: 21

Re: Trash service error on startup

Tried the suggested fixes for this Trash error ... no luck

If at first you don't succeed try try again.

Here are the details history of my enviroment.

distro is MEPIS (basically Ubuntu -Dapper Dan)

Previously compiled B1& B2 using GUI installer.

Uninstalled B2 using GUI uninstaller.

First attempt to compile RC1 failed beacuse of dbus dependency

Installed libdbus-glib-1-dev package

... second attempt no problem.

When I login I get the following error message:

Trash Error

Unable to contact the Xfce Trash service.

Make sure you have a file manager installed that
supports the Xfce Trash service such as Thunar.

Tried changing client load order in xfce4-session.rc as suggested and deleting all $HOME/.cache/sessions files.

Nothing works .... is there an error log I can check.

Offline

#11 2006-09-18 18:47:57

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Re: Trash service error on startup

I had the same problem. It turns out the old Thunar that didn't support trash was in /usr/bin, while the new one was in /usr/local/bin.  On startup it ran the old one.

What I did was

cd /usr/bin
sudo mv Thunar Thunar.backup
sudo mv thunar thunar.backup
sudo ln -s /usr/local/bin/Thunar Thunar
sudo ln -s Thunar thunar

Offline

#12 2006-09-19 03:32:14

outlaw
Member
Registered: 2005-02-06
Posts: 21

Re: Trash service error on startup

I checked thunar is not present in /usr/bin
(and never was as far as I know ... always compiled with GUI installer using default .... /usr/local)

Must be something else ...

Created a "test" user  to get a "clean" home directory ... thought maybe a old xfce config file
was the problem ... nope.

Back to drawing board.

Offline

#13 2006-10-06 18:29:56

npizzigati
Member
Registered: 2006-10-06
Posts: 1

Re: Trash service error on startup

I was in your same boat and this worked for me:

From: http://turkey.fvdh.net/~hanumizzle/xfce4-review/

The only other problem was locating the DBus service files: I added this line to /etc/dbus-1/session.conf, right next to the other <servicedir>  tag: <servicedir>/opt/xfce4/share/dbus-1/services</servicedir>. Adjust this according to your installation, of course.

My line was this: <servicedir>/usr/local/share/dbus-1/services</servicedir>
(/usr/local is the default RC1 installer location.)

Good luck!

Offline

#14 2006-12-16 14:58:56

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Re: Trash service error on startup

I ran into that problem.  The cause was that the old version of Xfce was installed in a different location, so that it was running a hybrid of both versions.

Offline

#15 2008-12-29 13:36:09

socyno
Member
Registered: 2008-12-15
Posts: 1

Re: Trash service error on startup

npizzigati wrote:

I was in your same boat and this worked for me:

From: http://turkey.fvdh.net/~hanumizzle/xfce4-review/

The only other problem was locating the DBus service files: I added this line to /etc/dbus-1/session.conf, right next to the other <servicedir>  tag: <servicedir>/opt/xfce4/share/dbus-1/services</servicedir>. Adjust this according to your installation, of course.

My line was this: <servicedir>/usr/local/share/dbus-1/services</servicedir>
(/usr/local is the default RC1 installer location.)

Good luck!


just it

Offline

Board footer

Powered by FluxBB