The xfce4-session.rc still has the old lines which causes the trash error when logging in. Client2_Command=xfdesktop Client2_PerScreen=False Client3_Command=Thunar,--daemon They should be Client2_Command=Thunar,--daemon Client2_PerScreen=False Client3_Command=xfdesktop
Fixed with revision 23542. 2006-10-28 Benedikt Meurer <benny@xfce.org> * xfce4-session.rc: Be sure to start Thunar prior to xfdesktop on first login to avoid the trash error from xfdesktop if the session bus is not configured properly. Bug #2447.
uhm.. isn't there a typo? i think it should be "Thunar --daemon", not "Thunar,--daemon"
Nope, the argv's in the session files are separated by comma instead of space.
i see. well, i just tried both versions, but both still give me the "trash error" as before. in fact, i get complains about thunar or dbus missing whenever i try to open the file manager preferences via the settings manager or set desktop icons to "files and launchers" and i haven't manually started a thunar session. when i don't have thunar running, i get the errror messages, when i have a thunar window running, everything works. when i have Thunar --daemon running in a terminal but no thunar window open, both work fine too.
The change affects only the default session, so you need to delete your current session first. BTW: You won't see the error if the message bus is configured properly, that is, if the $datadir/dbus-1/services dir is in the message bus service directories path. I.e. if Thunar is installed in /opt/local, your dbus session config should include: <busconfig> <servicedir>/opt/local/share/dbus-1/services</servicedir> </busconfig> This should probably be added to the FAQ.
ok, i found that no thunar --daemon was running in my saved session. the funny thing is, i can't remember stopping it at any point. maybe thunar --daemon should be started when it's not running when you change desktop icons to files/launchers or try to get the file manager prefs.
It would suffice if people would have working D-BUS setups, esp. since Xfce is not the only D-BUS user. Thunar tries to work around broken setups to a certain degree, but... yeah, well.