You are not logged in.
Pages: 1
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
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
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
Another guess is that Xfdesktop runs before Thunar (daemonized) on log in. At least that's what is happening here.
Mike
Offline
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
Look at ~/.cache/sessions/
Mike
Offline
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
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
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
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
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
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
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
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
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
Pages: 1
[ Generated in 0.024 seconds, 7 queries executed - Memory usage: 571.13 KiB (Peak: 587.98 KiB) ]