Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Inhibit/pause GNOME localsearch #494

Open
emansom opened this issue Sep 12, 2024 · 0 comments
Open

[Feature Request] Inhibit/pause GNOME localsearch #494

emansom opened this issue Sep 12, 2024 · 0 comments

Comments

@emansom
Copy link

emansom commented Sep 12, 2024

Is your feature request related to a problem? Please describe.
When running under GNOME as DE, it could be busy indexing via GNOME's localsearch.

This'd negatively impact framerate consistency as it'd lead to more context switching for the scheduler and consume processor and I/O resources.

Describe the solution you'd like
For GameMode to interact with GNOME's localsearch via D-Bus and tell it to pause its indexing when GameMode is active and vice-versa.

Additional context
GNOME's localsearch can be inhibited/paused using the following command for testing. Programatically using the D-Bus API is the better route.

$ localsearch daemon --miner 'org.freedesktop.Tracker3.Miner.Files' --pause GameMode
$ localsearch daemon --miner 'org.freedesktop.Tracker3.Miner.Files' --resume 1
@emansom emansom changed the title [Feature Request] Inhibit GNOME localsearch [Feature Request] Inhibit/pause GNOME localsearch Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant