! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
XFCE Needs Restart Plugin
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfce4-sample-plugin
Component:
General

Comments

Description Michael.Cordingley 2016-12-24 23:03:01 CET
Feature request for a new, hopefully simple plug-in. Sorry to file under the sample plugin, but Bugzilla wouldn't let me file an enhancement for a package that doesn't yet exist.

The idea is simple. Create a plug-in that monitors /var/run/needs-restart, or whatever equivalent file there is for the installed OS. If the file exists, display an icon informing the user. If it doesn't, either don't display the icon or display a different one.

The use case for this is in setting up automatic upgrades on a desktop system without configuring automatic reboots of said system, letting the user know that it's time for a reboot.

Thanks!
Comment 1 Andre Miranda editbugs 2020-05-18 22:05:07 CEST
I guess that's way too specific for plugin and can be accomplished with genmon-plugin.
The script would be something like [[ -f /var/run/needs-restart ]] && echo "Reboot now!" || echo ""
Comment 2 Git Bot editbugs 2020-05-19 23:15:52 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-sample-plugin/-/issues/2.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13255

Reported by:
Michael.Cordingley
Reported on: 2016-12-24
Last modified on: 2020-05-19

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information