Closed bdantas closed 5 years ago
is the behavior with dbus the same for other types of yad dialog or dbus started only for notifications?
Behavior is the same for other types of dialog. Sorry for the misleading issue title (I almost always use yad for notification icons).
Interestingly, yad works fine if I uninstall dbus. So it's puzzling why yad consistently starts dbus if dbus is installed but not already running.
looks like this is gsettings issue. you can try to build yad with --enable-standalone configure option, but i'm not sure that this will helpful, because gtk3 itself already uses gsettings features for file and color dialogs
I rebuilt latest git with --enable-standalone
and it made no difference.
Using this application (https://github.com/jonhoo/mktrayicon) (compiled against gtk3) to create a notification icon does not cause dbus to start, so I don't think it's a gtk3 issue.
Also, I substituted /usr/local/bin/dbus-launch
with a shell script that logs PID and PPID, then launched yad. The log shows me that the parent of dbus-launch is yad, proving that at some point yad itself is calling dbus-launch for some reason.
try to do "export NO_AT_BRIDGE=1" before running yad
Yes, now yad runs without starting dbus. Great! Thank you.
I'm trying to get rid of dbus on my system. I'm almost there but yad (one of my very favorite utilities) starts dbus when it creates notification icon:
Is it possible for yad to create notification icons without starting dbus?