On 11/17/23 21:28, ToddAndMargo via users wrote:
Create a .desktop file that runs "poweroff" or "reboot" depending on
what you're wanting to do.
Thank you!
That will work perfectly.
I can easily work this into a bash script.
$ Xdialog --icon
"/usr/share/icons/hicolor/48x48/actions/xfsm-shutdown.png" --wrap
--title "Power Off" --yesno 'Power off?' 8 40; echo $?
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue