Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GUI Shutdown or Restart (Linux)
#3
(04-17-2023, 11:30 PM)mnrvovrfc Wrote: 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

I have a whole bunch of widgets i can add in eventually. the important thing is that i got as far as i did.
Now that a basic version is working i can start on improving it.
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 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: 3 Guest(s)