https://bugzilla.xfce.org/show_bug.cgi?id=15149
Bug ID: 15149
Summary: Thunar does not provide org.xfce.FileManager dbus
service
Classification: Xfce Core
Product: Thunar
Version: 1.8.4
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: 1.8.5
Created attachment 8311
--> https://bugzilla.xfce.org/attachment.cgi?id=8311&action=edit
patch tested by downstream reporter
This is the downstream bug report -
https://bugzilla.redhat.com/show_bug.cgi?id=1665577
Problem description quoted from downstream bug report
Thunar-1.8.2-1.fc30 (currently installed on my machine) has two dbus files:
/usr/share/dbus-1/services/org.xfce.Thunar.service
[D-BUS Service]
Name=org.xfce.Thunar
Exec=/usr/bin/Thunar --gapplication-service
SystemdService=thunar.service
/usr/share/dbus-1/services/org.xfce.FileManager.service
[D-BUS Service]
Name=org.xfce.FileManager
Exec=/usr/bin/Thunar --gapplication-service
SystemdService=thunar.service
My reading of the second file is that it is intended to provide
org.xfce.FileManager service, either via systemd or dbus.
However, it appears to only work over systemd. If you do not run systemd, it
tries to but does not work over dbus, I guess because Thunar does not actually
register "org.xfce.FileManager" service, only "org.xfce.Thunar" one.
Here how it fails:
# time dbus-send --print-reply --session --dest=org.freedesktop.DBus
/org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName
string:org.xfce.FileManager uint32:0
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible
causes include: the remote application did not send a reply, the message bus
security policy blocked the reply, the reply timeout expired, or the network
connection was broken.
real 0m25.010s
user 0m0.004s
sys 0m0.002s
Starting "org.xfce.Thunar" service works:
# dbus-send --print-reply --session --dest=org.freedesktop.DBus
/org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName
string:org.xfce.Thunar uint32:0
method return time=1547237509.405417 sender=org.freedesktop.DBus ->
destination=:1.4218 serial=3 reply_serial=2
uint32 2
The symptom of this problem is that applications such as Ristretto (image
viewer) and Thunderbird (mail reader) have a 25 second delay on startup.
Patch used to fix this issue provided by downstream reporter is attached.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs