Synopsis
Being a person that likes to manage updates on my own schedule, rather than being reminded, and also not liking processes running that don't need to be, I searched around to find how to disable the DNF Dragora application.
This application is a Fedora GUI application and the background task is not a systemd task, but an autostart task.
Locations
Autostart directories are located in 1 of 2 places:
- /etc/xdg/autostart
- $HOME/.config/autostart
The first is system wide since it is under /etc, where as the other is personal to you and things that you have decided you want to be running once you've logged into the GUI.
You should always start by checking your home version first and renaming the file if you're not sure if you want it stopped, or deleting it if you want it permanently gone. In most cases you can also deal with start up applications through gnome-tweaks.
Finding DNF Dragora
Having check my home directory $HOME/.config/autostart for dnfdragora as follows:
grep -ri drag ~/.config/autostart
I found no files containing the dnfdragora command.
Locating other autostart folders with:
sudo find / -name autostart
We find the /etc/xdg/autostart folder.
Using the following grep command we find the following file:
grep -ri drag /etc/xdg/autostart
/etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
Disabling DNF Dragora
To disable it (rather than removing it, if you change your mind) you simply do the following:
cd /etc/xdg/autostart
mv org.mageia.dnfdragora-updater.desktop org.mageia.dnfdragora-updater.desktop.old
Simply making sure that .desktop is not the last part of the file name will prevent the file being seen.
Log out and back in and DNF Dragora should no longer be there.