-
Notifications
You must be signed in to change notification settings - Fork 160
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
[Next] Add system reboot ability to mintUpdate when reboot is needed #905
base: master
Are you sure you want to change the base?
[Next] Add system reboot ability to mintUpdate when reboot is needed #905
Conversation
reboot button will present yes/no dialog box asking for user confirmation
…into feature/restart-button # Conflicts: # usr/lib/linuxmint/mintUpdate/mintUpdate.py
Marking as Next because it's too late to get in 22.1. I'm not mad about the confirmation dialog... the DE is much better at handling this kind of things. For instance, cinnamon-session-quit will monitor and warn about session idlers (i.e. opened unsaved documents etc..). We might be able to call for a reboot via systemd and have the DE dialog triggered instead of calling reboot directly. |
Thanks for pointing me to |
Why not just run |
Yeah either way, as long as it works everywhere. |
@mtwebster That's ultimately what I ended up doing instead of re-inventing wheels. Cinnamon and XFCE had apps that trigger a reboot in their respective session. MATE's |
Implements fix for #749
Rationale:
When a kernel update is installed, users need to reboot their system outside of mintUpdate. This adds a way for users to reboot their system from within mintUpdate.
Reboot button will present a yes/no modal dialog asking for confirmation of reboot. This can be tweaked as needed.
Before:
After:
Note: screenshots below were created from manually after temporarily disabling
reboot_required
condition check to trigger the infobar.