Re: Firefox 126.0 with DBus service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/15/24 12:55, Vitaly Zaitsev via devel wrote:
On 15/05/2024 10:52, Ian McInerney via devel wrote:
What if I don't use GNOME search? I don't use the GNOME desktop, so I don't want to have a random Firefox process running on my machine that is doing absolutely nothing and just hogging resources. Is this process only created when something tries to talk to it on the DBus socket, or is it always there listening?

Yes, it should be moved to a separate package and installed only if the gnome-shell is installed.

Let's me explain it a bit:

Gnome search service is provided by running Firefox application itself. It's because it searches and publishes results from recent live user profile.

Gnome search provider needs to be 'activable' DBus service so you need to set DBusActivatable=true at .desktop file and the application needs to provide org.freedesktop.Application.

Activable service also means (from my testing) that the application itself it not run by 'Exec' specified at .desktop file but by DBus service. If DBus service is missing it's run first and then org.freedesktop.Application is queried.

So if we have Firefox without Gnome search service / DBus service we'd need different .desktop file with 'DBusActivatable=false' for it (as AFAIK rpm doesn't allow to overwrite file owned by different package).

If there's DBusActivatable=true at .desktop file but the DBus service is missing the applications fails to launch.

So it's a bit complicated situation here. I think it's clumsy to have firefox-gnome and firefox-non-gnome rpm with different desktop files but I don't see any other option (beside to remove gnome search or implement it as different app and broker the search results).

--
Martin Stransky
Software Engineer / Red Hat, Inc
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux