I’m trying to suspend the Jetson Nano using a push switch. So far I’ve disabled the auto power-on (jumper between J50 pins 5 and 6) and, using a jumper to mimic a push switch by momentarily connecting PWR_BTN* (J50 pin 12) and GND (J50 pin 11), I can trigger a shutdown.
My question is, is it possible to change the default behaviour so that rather than shutdown, instead the board enters suspend?
I’ve tried the suggestion on this thread https://superuser.com/a/1058386 and changed /etc/systemd/logind.conf file as follows:
but I suspect the GNOME desktop may be overriding it.