When xfce has loaded the 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" This appears before any apps have loaded. I have Thunar installed with "trash-plugin" enabled. No other errors were noticed.
I fixed this by creating: /etc/dbus-1/session-local.conf containing the lines <busconfig> <servicedir>/usr/share/dbus-1/services</servicedir> </busconfig> this file was not created during the emerge of dbus
Can't reproduce this at all. Do you have dbus running? Which dbus version? emerge --info?
(In reply to comment #2) > Can't reproduce this at all. Do you have dbus running? Which dbus version? > emerge --info? > I am running dbus 1.0.2-r2 This issue was resolved by creating service-local.conf as described above. I made no other changes to fix this.
(In reply to comment #3) > (In reply to comment #2) > > Can't reproduce this at all. Do you have dbus running? Which dbus version? > > emerge --info? > > > > I am running > dbus 1.0.2-r2 > > This issue was resolved by creating service-local.conf as described above. > I made no other changes to fix this. I am sorry, I did not mean to click commit, here is the rest of the reply. Dbus is not added to default runlevel. I did not start it either. All I did was make the above file. >
That file doesn't need to exist because /etc/dbus-1/system.conf exists with the following in it: <standard_system_servicedirs/> Which evaluates to /usr/share/dbus-1/services/ But the problem stems from the fact that you didn't start the D-Bus init script and the D-Bus init script isn't in your runlevel, which means you ignored the instructions for emerging D-Bus. elog "To start the D-Bus system-wide messagebus by default" elog "you should add it to the default runlevel :" elog "\`rc-update add dbus default\`" This means currently you're running with only a session bus and not a system bus. A session bus can not by default start any services that are located in /usr/share/dbus-1/services/ because those are system level services. Merely add D-Bus to the proper runlevel and start it up and you'll have a system bus which will start system level services.
dbus was installed as a dep of xfce4 not as a direct choice by me I had nothing to do with installing it and the xfce4 guide I did follow, gave no mention other than adding dbus to USE. http://www.gentoo.org/doc/en/xfce-config.xml I saw no use for hald based on the doc's description of what it was for. As a result I did not add hal or dbus to USE. If I had consciously installed dbus I would have followed the dbus guide, I promise. :) Thanks for clarifying the situation Doug. I removed the session-local.conf file, started dbus (/etc/init.d/dbus start) and started xfce. I am getting the same error about trash again. Is this due to hal not being installed?
Nope. HAL has nothing to do with it. This is purely xfce using D-Bus to communicate via the system bus. To be perfectly honest, I'm not sure why it's not a session activated app, why it's a system service but that's how the xfce programmers have done this.
Since I had dbus out of USE when I orig emerged xfce4, I re-emerged thunar with USE="dbus". I also do NOT have the file I had created in the dbus-1 directory. With dbus running I started xfce and I no longer have the message.w00t!! The Gentoo xfce guide does say to have dbus in global USE, but it does not say anything about starting dbus nor adding it to default runlevel. I am glad to have learned what happened but the knowledge was not in the xfce doc. Thanks again Doug