Created
April 5, 2022 11:30
-
-
Save rexlx/22b86afa9ce64f8c48152e8a2acaa5ef to your computer and use it in GitHub Desktop.
disable tracker daemon for redhat, fedora and centos (and presumably rocky and alma linux as well)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Hidden=true" >> /etc/xdg/autostart/tracker-extract.desktop | |
echo "Hidden=true" >> /etc/xdg/autostart/tracker-miner-apps.desktop | |
echo "Hidden=true" >> /etc/xdg/autostart/tracker-miner-fs.desktop | |
echo "Hidden=true" >> /etc/xdg/autostart/tracker-miner-user-guides.desktop | |
echo "Hidden=true" >> /etc/xdg/autostart/tracker-store.desktop | |
dbus-launch --exit-with-session gsettings set \ | |
org.freedesktop.Tracker.Miner.Files crawling-interval -2 | |
dbus-launch --exit-with-session gsettings set \ | |
org.freedesktop.Tracker.Miner.Files enable-monitors false | |
yes | LANG=C tracker reset --hard | |
sed -i 's/X-GNOME-Autostart-enabled=.*/X-Gnome-Autostart-enabled=false/' \ | |
/etc/xdg/autostart/tracker-store.desktop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment