Check for firmware updates#45
Conversation
|
If this is the way to go we have to add |
|
|
||
| check_seconds_between_refreshes (); | ||
|
|
||
| Timeout.add_seconds (SECONDS_BETWEEN_REFRESHES, check_seconds_between_refreshes); |
There was a problem hiding this comment.
Should we be using SystemD timers for this?
There was a problem hiding this comment.
Do you have an example project where we use systemd timer?
There was a problem hiding this comment.
You basically need an helper executable to be run at intervals.
The ArchLinux documentation is quite good on it: https://wiki.archlinux.org/title/Systemd/Timers
There was a problem hiding this comment.
In the last commit I created a helper executable, a service and a timer. What is unclear to me is how I can trigger the action in the notification so that the firmware page can be opened in the settings, since the helper executable only runs for a short time. Is it possible to trigger an action from another application via a notification?
Co-authored-by: Danielle Foré <daniel@elementary.io>
|
Thanks to @Marukesu's idea everything works now as expected except for the notification icon: @elementary/desktop-developers has anyone an idea why the icon is not used? |
The notification server only search for desktop files in |
|
@Marukesu thank you very much for your feedback! It now works as expected. |

Supersedes elementary/appcenter#1806
Screen_record_from_2022-01-12_21.33.00.mp4