Hi All,
Fedora 39 MATE 1.26
I have been tasked to set up a kiosk at a cusomter's site with Fedroa: The users their are walk in customer's wanting to pay bills, etc.. So Firefox, Brave, LibreOffice, gcals, etc.. The users will be very, very, very low skill users.
I was going to install MATE on it because it is danged simple to operate.
The only issues is that the "system" shutdown/reboot is hard to find for such a low skill user(s).
I would like a desktop icon to shutdown/reboot/sleep their computer. My own system is dual Xfce/MATE. A search of the MATE app installed does not show one or I can not find it.
I see qshutdown on the web, but not in the Fedora repo. And it is a bit too complicated for low skill users.
I do see kshutdown and gshutdown in the repo, but still a bit too complicated.
Any ideas about a utility that would allow me to create really, really low skill user shutdown icon for their desktop?
I may have to compromise on gshutdown. Be cool if I could locate what MATE calls from the system menu.
Many thanks, -T
On 11/17/23 19:53, Samuel Sieb wrote:
On 11/17/23 19:48, ToddAndMargo via users wrote:
I may have to compromise on gshutdown. Be cool if I could locate what MATE calls from the system menu.
Create a .desktop file that runs "poweroff" or "reboot" depending on what you're wanting to do.
Thank you!
That will work perfectly.
I was also thinking of substituting the desktop icon for LibreOffice Writer and Calc with the M$ Word and Excel icons.
A company once had me switch everyone over from Internet Explorer to Firefox. One of the users griped and griped and griped. So I switched his Firefox icon over to the Internet Explorer icon. The next week he got in my face and announced he could do everything with Internet Explorer that could be done in Firefox. He even demonstrated it to me. Uhhh ... that ain't Internet Explorer, but he did not know the difference. Yes, I had a hard time not laughing. And no, I never told him.
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 $?
On 11/19/23 14:32, ToddAndMargo via users wrote:
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 $?
Okay, I might have gotten a little silly here, but this will work for low skill users.
<PowerOff.sh> #!/usr/bin/bash
# pop up dialog to power off the computer
Icon="/usr/share/icons/hicolor/48x48/actions/xfsm-shutdown.png" Title="Power Off" Msg="Power off?" InfoBox="Powering off / shutting down the computer\n\n NNNNOOOOOOooooooo....." Help="\ YES powers off the computer (Shutdown)\n\ NO cancels the operation\n\ HELP give you this silly message"
# Xdialog: --yesno <text> <height> <width> # Xdialog: --yesno: : 0 = yes; 1 = no; 255 = "X" in the upper right corner Xdialog --icon "$Icon" --left --help "$Help" --title "$Title" --yesno "$Msg" 12 60 ReturnNum=$? # echo $ReturnNum
if [ $ReturnNum == 0 ]; then echo "Power Off initiated"
# Xdialog: --infobox <text> <height> <width> [<timeout in milliseconds>] Xdialog --title "$Title" --infobox "$InfoBox" 10 75 4000 poweroff
else echo "Power off operation cancelled" fi </PowerOff.sh
On Sat, 2023-11-25 at 14:37 -0800, ToddAndMargo via users wrote:
Okay, I might have gotten a little silly here, but this will work for low skill users.
Well, to emulate some systems, you need:
Are you sure? Y/N
Are you really sure? Y/N
On 11/26/23 00:09, Tim via users wrote:
On Sat, 2023-11-25 at 14:37 -0800, ToddAndMargo via users wrote:
Okay, I might have gotten a little silly here, but this will work for low skill users.
Well, to emulate some systems, you need:
Are you sure? Y/N
Are you really sure? Y/N
I had seriously thought about it, but I thought I'd give them enough of a heart attack with the "NNNNNOOOOooooo".
:-)