GUI Shutdown or Restart (Linux)
#2
This is working in Slackel, however I have neutralized the "SHELL" statements. Wanted to see the dialog box in action. Smile

I guess you'll be working on the input box to ask for time in seconds. Having the user type an entry and press [ENTER] could be unsettling for somebody quite used to GUI programs.

You might consider replacing the zero-time with "now", as in:

Code: (Select All)
shutdown -h now
Reply


Messages In This Thread
GUI Shutdown or Restart (Linux) - by Keybone - 04-17-2023, 10:05 PM
RE: GUI Shutdown or Restart (Linux) - by mnrvovrfc - 04-17-2023, 11:30 PM
RE: GUI Shutdown or Restart (Linux) - by Keybone - 04-18-2023, 12:24 AM
RE: GUI Shutdown or Restart (Linux) - by bplus - 04-19-2023, 03:33 PM
RE: GUI Shutdown or Restart (Linux) - by Keybone - 04-19-2023, 09:10 PM



Users browsing this thread: 1 Guest(s)