On 5/17/24 10:28, Vitaly Zaitsev via devel wrote:
On 17/05/2024 08:05, Martin Stransky wrote:
Gnome search service is provided by running Firefox application
itself. It's because it searches and publishes results from recent
live user profile.
Why can't GNOME Search engine just parse Firefox's *.sqlite databases
like everyone else does (like KDE Plasma)? It's more simple and easy.
Hm, does really KDE Plasma access Firefox profile and searches it for
anything? That's interesting. Can you point me to any info about it?
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).
W should start providing it as a separate desktop file, since Firefox is
now always running in the background and consuming more than 1GB of RAM.
User can't even easily terminate this process without disabling the
service. If you SIGKILL, systemd will spawn it again. And the service
can't be disabled/masked too because Firefox doesn't start.
I see it takes 24064 bytes only as it's just a simple and small DBus
service. Does it really take 1GB on your box?
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).
1. Provide a standard shortcut without DBusActivatable and with
NotShowIn=gnome for all other DEs in the firefox package.
2. Create a separate package with gnome-search related files (including
a .service file and a special shortcut with OnlyShowIn=gnome).
3. Install this package only if the gnome-shell is installed.
Will look at the NotShowIn keyword, Thanks.
--
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