-
Notifications
You must be signed in to change notification settings - Fork 43
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
add an option to disable dragora-updater autostart #87
Comments
Just out of curiosity, is there a technical reason why you don't want to be informed on updates? I seem that most desktops (not all) have a notifier for that... |
I use a realtime kernel for music.
And during update check, I've got some clics and disabling some tools like packagekit and dnfdragora improve the situation.
I know this is a special case which will not appears if my laptop will be a little more powerful :)
…----- Mail original -----
De: "Angelo Naselli" <[email protected]>
À: "manatools/dnfdragora" <[email protected]>
Cc: "ycollet" <[email protected]>, "Author" <[email protected]>
Envoyé: Mercredi 10 Janvier 2018 10:21:47
Objet: Re: [manatools/dnfdragora] add an option to disable dragora autostart (#87)
Just out of curiosity, is there a technical reason why you don't want to be informed on updates? I seem that most desktops (not all) have a notifier for that...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or mute the thread .
|
Why not uninstall the updater then? You don't need it in that case. |
On Fedora Cinnamon 26, there is already such option but not from dnfdragora interface, but from: system setting, Startup Application, then there is "dnfdragora-updater" Best. |
what @Conan-Kudo tried to say is that there is no needs to have updater installed, if you are not meant to use it for notifications. Despite of the distro choice you can easily remove it, run your preferred gui rpm frontend (e.g dnfdragora :D) and uncheck dnfdragora-updater. Later, if you want to see if there are updates, just select "to update" from dnfdragora related list box and you are done. |
the autostart file can be copied to the user profile (~/.config/autostart) and once there, just include the command
as one more line and it should be disable. |
Disabling an updater autostart can be useful if the program is used to find out the name of an application package. The name of the package can be very different from the name of the application, for example, the package is called totem, and the application - Videos, and it is impossible to learn this without using Google, but using only the system tools - Gnome Software or terminal. It is convenient to run dnfdragora and not wait for the program to check for updates in repositories, but to immediately view a list of installed packages and their descriptions. |
I suppose in theory we could make it read the user's config and make it exit and do nothing if user sets to disable? @anaselli does that make sense as a thing we could do? |
All is possible, we just need to coding it :) Without looking at the code i could think that to disable the check we could consider (and manage) an update_interval value <=0 for instance such as an infinite time-out management. But which is the meaning of having updater running just to be used as menu? |
I would also like a simple way to disable update checking. I don't want an annoying and distracting popup on my screen all the time. I manage dnf update manually, when I wish to see it happen. Maybe what I'm looking for is : systemctl disable dnfdaemon I'm sure dnfdragona is fine for those who want a gui front end. |
If you don't want updater atm the workaround is to remove it from installed packages. Stopping dnfdaemon wold not prevent updater to try asking dnfdaemon new updates, and wold make dnfdragora giving errors on starting. |
Just for curiosity how long the updater time to check last? Should not be so frequent if not for testing purposes |
IIRC Fedora default is 760 seconds! PITA. There is a dnf.conf line to set metadata-expire so work out how many seconds there are in a week ;) Is that what the notifier is setting or does it have its own delay internval? In fact I want it to check repos when I ask it to. Stopping dnfdaemon wold not prevent updater to try asking dnfdaemon new updates So what starts update notifier ? Is it a service, a crond or what? |
Autostart... line 95 of cmakelists.txt but updater should be into a dedicated package iirc |
Thanks, I was just curious about what part of the system was causing this to be autostarted since I don't see it in boot services nor in the lxsession list of autostart services. You are correct there are separate packages for dragora and dragora-updater. dnf remove tidies it all up nicely. Many thanks. |
dragora autostart is only possible via removing:
/etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
Add a user option which allows to disable dragora autostart ...
The text was updated successfully, but these errors were encountered: