Jpe230 / SonicPad-Debian

Port of Debian for the SonicPad (Allwinner R818)
GNU General Public License v3.0
115 stars 16 forks source link

Host shutdown and reboot from the fluidd menu #45

Closed sahuddy closed 4 months ago

sahuddy commented 5 months ago

Is there a way to enable the host shutdown and reboot buttons in the fluidd ellipsis menu?
When I click them after a fresh installation, nothing happens. Thanks in advance!

sahuddy commented 5 months ago

Please disregard. The solution is here: https://docs.fluidd.xyz/faq#the-host-reboot--shutdown-commands-dont-work

Brakisshuro commented 4 months ago

Please disregard. The solution is here: https://docs.fluidd.xyz/faq#the-host-reboot--shutdown-commands-dont-work

i tried that command and no luck, says command not found.

sahuddy commented 4 months ago

Hmmm....maybe moonraker needs to be updated? I'm at v0.8.0-317 and it worked for me.

Check the ./moonraker/scripts/ directory to see if sudo_fix.sh is present.

Brakisshuro commented 4 months ago

Hmmm....maybe moonraker needs to be updated? I'm at v0.8.0-317 and it worked for me,

You copied and pasted That exact command and hit enter? Everything I have is 100% updated

sahuddy commented 4 months ago

I sure did. If it is there though, after changing into the directory, try ./sudo_fix.sh

Brakisshuro commented 4 months ago

I sure did. If it is there though, after changing into the directory, try ./sudo_fix.sh

Are you cd /klipper/ or are you doing it from the root prompt

sahuddy commented 4 months ago

When connecting, I land in /home/sonic. From there the provided path works: ./moonraker/scripts/sudo-fix.sh, because I can also cd to ./moonraker/scripts/ run ls (list) and see the sudo-fix.sh script. Maybe your install is at a different path than the home directory. Try running: find / -name sudo-fix.sh to see if it's on your system and where (may need sudo).

Brakisshuro commented 4 months ago

When connecting, I land in /home/sonic. From there the provided path works: ./moonraker/scripts/sudo-fix.sh, because I can also cd to ./moonraker/scripts/ run ls (list) and see the sudo-fix.sh script.

I found the script I try to run it and it says command not found. Very weird. I'm in the Moonraker directory right now

sahuddy commented 4 months ago

From that directory, try: sudo ./sudo-fix.sh

sahuddy commented 4 months ago

Ug. So just: ./sudo_fix.sh then

Brakisshuro commented 4 months ago

Ug. So just: ./sudo_fix.sh then

lol deleted my response before i tried removing sudo. you are a saint my man.

sahuddy commented 4 months ago

Cool...sounds like you're good to go. Have a great night!