Created
June 17, 2022 08:37
-
-
Save D4R4/d86771f7fab7beee74bd980fc2af45ba to your computer and use it in GitHub Desktop.
Kill and disable gnome trackers in rhel
This file contains hidden or 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
### VERY careful here... point is to surgically remove tracker processes | |
kill $(ps aux | grep 'tracker' | awk '{print $2}') | |
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