Giter Club home page Giter Club logo

Comments (6)

v1cont avatar v1cont commented on August 16, 2024

is the behavior with dbus the same for other types of yad dialog or dbus started only for notifications?

from yad.

bdantas avatar bdantas commented on August 16, 2024

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.

from yad.

v1cont avatar v1cont commented on August 16, 2024

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

from yad.

bdantas avatar bdantas commented on August 16, 2024

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.

from yad.

v1cont avatar v1cont commented on August 16, 2024

try to do "export NO_AT_BRIDGE=1" before running yad

from yad.

bdantas avatar bdantas commented on August 16, 2024

Yes, now yad runs without starting dbus. Great! Thank you.

from yad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.