Computer Shutdown

More
29 Dec 2016 22:47 #84883 by babinda01
Computer Shutdown was created by babinda01
Hello
I am just commencing a retrofit of a milling machine. I am trying to decide on a UI to use - at the moment I am tossing up between Gmoccapy and a custom GScreen.
My first question......is there a way to shut down the pc when you exit Linuxcnc. For example, if I am using Gmoccapy, and I click the exit button in the lower right corner, it would be great if it could shut down Linuxcnc and then shut down the PC.

Thanks
Andrew

Please Log in or Create an account to join the conversation.

More
29 Dec 2016 23:07 #84885 by newbynobi
Replied by newbynobi on topic Computer Shutdown
I can imagine two solutions

1. Change gmoccapy code to execute the shutdown command.
2. Use a bash script to start ljnuxcnc and wait until linuxcnc stops and send then the shutdown command.

But i have never done that.

Norbert

Please Log in or Create an account to join the conversation.

More
29 Dec 2016 23:19 #84886 by babinda01
Replied by babinda01 on topic Computer Shutdown
Hi Norbert

Thanks - I will try the bash script first, as I am a little more comfortable doing that.

Andrew

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum