Page 4 of 4
Re: Suspend command keyboard shortcut
Posted: Tue Sep 19, 2023 11:28 am
by PaulR
Just tried using a Linux Mint live USB I had lying around. Choosing 'Suspend' from the shutdown menu works as it should and when waking the system the (wireless) mouse and keyboard work as expected. I tried it about half a dozen times with no issues. I don't know how Mint suspends the system, I should have tried 'sudo pm-suspend' but didn't, will try later.
Re: Suspend command keyboard shortcut [Solved]
Posted: Tue Sep 19, 2023 1:28 pm
by Charlie Brown
PaulR wrote: Tue Sep 19, 2023 10:17 am... I wonder if it's possible to suspend from a live USB ...
Of course, you can try everything there, meanwhile wireless mouse is probably keeping it awake (retaining from suspend). On MX (the installed one) I would boot once with systemd and try
systemctl suspend .
The difference (with Mint) may be due to kernels: you may also try Liquorix kernels from MXPI.
Re: Suspend command keyboard shortcut
Posted: Tue Sep 19, 2023 3:55 pm
by PaulR
Charlie Brown wrote: Tue Sep 19, 2023 1:28 pm
Of course, you can try everything there, meanwhile wireless mouse is probably keeping it awake (retaining from suspend). On MX (the installed one) I would boot once with systemd and try
systemctl suspend .
Thanks again. I've only just started using the wireless mouse today so that's not the problem. I'll try booting with systemd as you suggest, see what that does.
Re: Suspend command keyboard shortcut
Posted: Wed Sep 20, 2023 3:27 am
by PaulR
Booted with systemd and tried suspend maybe 15 times, using either 'systemctl suspend' in a terminal or the power button. Both work properly ie the computer suspends and the mouse and keyboard work when it wakes. I also noticed that boot time is significantly quicker.
Is there a downside to using systemd from an 'end user' perspective? I've read a tiny bit about the systemd controversy and I don't have an ideological standpoint, I just want my computer to work properly which it has for the last three years using MX Linux. I might update to MX23 and try it with the default boot system, if that doesn't work switch it to systemd.
Re: Suspend command keyboard shortcut
Posted: Wed Sep 20, 2023 4:57 am
by Charlie Brown
You can even make it default (as you might already know) : MX Boot Options => "Boot to" ..select any kernel you like with systemd option.
Just, there's no systemd on live session, so the only con may be using your snapshots ..
Re: Suspend command keyboard shortcut
Posted: Wed Sep 20, 2023 6:06 am
by PaulR
Charlie Brown wrote: Wed Sep 20, 2023 4:57 am
You can even make it default (as you might already know) : MX Boot Options => "Boot to" ..select any kernel you like with systemd option.
Just, there's no systemd on live session, so the only con may be using your snapshots ..
Thanks again, I think I can mark this solved now (fingers crossed!).
Re: Suspend command keyboard shortcut
Posted: Wed Sep 20, 2023 11:07 am
by PaulR
@Charlie Brown Just for info, I installed MX 23 and the same issue pertains unless I use systemd.
Re: Suspend command keyboard shortcut
Posted: Wed Sep 20, 2023 1:23 pm
by Charlie Brown
Thank you for the feedback.
Can you just try 2 suspends with systemd ?
One with either the menu/button or with:
and the other with
sudo pm-suspend.
(These may be useful for devs).
Say, these also work perfectly on systemd, then it's completely due to init.
(Meanwhile, did you try on live session? Just out of curiosity)
Re: Suspend command keyboard shortcut
Posted: Wed Sep 20, 2023 3:39 pm
by PaulR
I can confirm both of those work properly. I have systemd set as default for boot now and back to using my hotkey :D. I didn't try suspend on the MX23 live USB I'm afraid.
Re: Suspend command keyboard shortcut
Posted: Wed Sep 20, 2023 3:49 pm
by Charlie Brown
Ok, thank you for trying and the feedback :)