! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Trash error when logging in
Status:
RESOLVED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description Martin Zecher 2006-10-17 23:25:31 CEST
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
Comment 1 Benedikt Meurer editbugs 2006-10-28 13:23:18 CEST
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.

Comment 2 Bj 2006-11-03 22:19:10 CET
uhm.. isn't there a typo?
i think it should be "Thunar --daemon", not "Thunar,--daemon"
Comment 3 Benedikt Meurer editbugs 2006-11-03 22:21:04 CET
Nope, the argv's in the session files are separated by comma instead of space.
Comment 4 Bj 2006-11-03 22:26:24 CET
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.
Comment 5 Benedikt Meurer editbugs 2006-11-03 22:30:36 CET
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.
Comment 6 Bj 2006-11-03 22:32:40 CET
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.
Comment 7 Benedikt Meurer editbugs 2006-11-03 22:35:53 CET
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.

Bug #2447

Reported by:
Martin Zecher
Reported on: 2006-10-17
Last modified on: 2009-07-14

People

Assignee:
Benedikt Meurer
CC List:
1 user

Version

Attachments

Additional information