Luca Di Maio wrote:
Ludwig Nussel wrote:
as discussed on the matrix channel, there is the need for MicroOS Desktop users to be notified about needed reboots for updates. Brainstorming about it one of the solutions could be: 1 - reintroduce transactional-update.timer 2 - set up rebootmgr to work well with desktop workloads 3 - notify the user that the system is updated and a reboot is needed 4 - nice-to-have: if I click the notification it calls the native reboot prompt of the installed DE. Earlier this year I refactored logind a bit with exactly that use case in mind :-) logind already has means to schedule shutdowns and exposes
Luca Di Maio wrote: the time via dbus properties. It also sends notifications. So far only via wall message though. Doesn't take much to extend that to also have dbus signals I suppose.
Thanks Ludwig so you suggest to go t-u -> logind?
This could also come handy, but we need to work on logind to allow graphical notifications right?
Can you point me to the docs for those signals? thanks!
Sorry for the late reply, I actually didn't read the list folder for a while :-) There are no such signals yet. Would have to be implemented upstream still. Meanwhile logind logs to to the journal at least though https://github.com/systemd/systemd/pull/23870 cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Software Solutions Germany GmbH, GF: Ivo Totev HRB 36809 (AG Nürnberg)