rsjudka / intelligent-auto

41 stars 15 forks source link

Add an Exit button and Power button #11

Closed robert5974 closed 4 years ago

robert5974 commented 4 years ago

Could it be possible to add a button that exits the IA app and possibly a button for power options (Shutdown, reboot)?

rsjudka commented 4 years ago

yep so I added these in when I was making the other change, also available in the develop branch.

In the main window, you'll see a save button (which saves the state of the app), a power button (which shuts down the system on click and reboots the system when you click and hold for 2 seconds), and an exit button.

robert5974 commented 4 years ago

Sounds good. I'll build IA again shortly after my clean image finishes updating. I'll report back.

robert5974 commented 4 years ago

Built with the develop branch and I like the clean implementation of the additional buttons. It shutdown really quickly. The exit button worked well. I forgot you said rebooting was to hold it for 2 secs. I'll give that a try once I fix whatever I've done with the xserver.

robert5974 commented 4 years ago

I tried the reboot function and that worked. Closing the issue. Thanks!👍