(¿Could anybody please bounty this? I have been having this issue since march)
As title says; I recently installed Ubuntu Studio 19.10 Eoan (Now upgraded to Ubuntu Studio 20.04 Focal Fossa, still having the same exact issue) on my Toshiba Satellite laptop.
I was using Ubuntu 19.10 regularly since it came out, and it worked fine, but when I switched to Studio this happened.
What happens is that after I close and open the lid and then everything but the mouse is unresponsive.
Edit: Changed settings using this terminal sudo gedit /etc/systemd/logind.conf
(had to install gedit, because Ubuntu Studio doesn't have by default somehow); still the same problem. Formatted the laptop and reinstalled Ubuntu Studio 19.10, still no change. Again changed the settings on sudo gedit /etc/systemd/logind.conf
to
#HandleLidSwitch=ignore
#HandleLidSwitchExternalPower=ignore
#HandleLidSwitchDocked=ignore
Still no change.
I'm desperate to find a solution.
Also it's a bother to receive only notifications from someone just to tell me that I wrote something wrong instead of giving me any answer to my issue; specially since it's been many days since I've posted this issue.
EDIT 2: XFCE settings are "lock screen" at lid close; but all options give me the same problem.
Googled it, no solution found online gives me an answer or it's meant for regular Ubuntu and are not applicable to Ubuntu Studio.
Edit 3: If I set XFCE to "Presentation mode" I can't even move the mouse after closing or opening the lid; it's not that it won't move, it's that it's gonna be incredibly lagged.
Edit 4: It only happens if I close the lid and in any given time while the lid was closed the laptop runs on battery, or if I close the lid with laptop unplugged. I can still use ctrl+alt+F1, sign in, and use ctrl+alt+F7 and go back to where I was. But otherwise clicking or using the keyboard won't change anything (If a video was paused before closing the lid, the video would start when the lid opens)
Edit 5: Upgraded the system to Ubuntu Studio 20.04, the difference now, is that it happens every time, regardless of the laptop being plugged or not.
This is a really bothersome issue, because I have to go to "ctrl+alt+F1" and reboot the system, because nothing else -that I know of- works; and I have to lose every unsaved work that it's currently open.
This seemed to work for me:
Remove
xfce4-screensaver
:Install
light-locker
:Reboot and test. Xfce power settings are all suspend on lid close.
The solution described in comment #16 on Bug #1866686 “20.04 Xubuntu does not resume from suspend” : Bugs : xfce4-power-manager package : Ubuntu posted by Arham Amouei worked flawlessy for me. Excerpt from that comment:
I've also encountered this strange problem and I found a possible workaround, at least it worked for me. I found "where" the problem is, but I don't know "why" it happens, so this is only a workaround, not a true solution.
Open System Settings (
xfce4-settings-manager
), click Power (this is equal toxfce4-power-manager-settings
in Terminal), go to Display tab. On the right side you'll see an on/off switch (on
by default). Switch it off. (Rebooting is not needed but I would recommend to reboot.)I've made some tests by switching it on again, and the problem was predictably returning; finally I switched it off, it worked, but after a while a freeze occured once again. So please don't rely on it too much.
By using this method you'll miss power saving functions, but I think it isn't a big price in this case. First, when power saving is important, you can quickly switch your laptop to sleep mode; and second, you can always perform these steps and turn this on again - then just don't forget to keep the lid open.
P.S. A few years ago I've read about a similar problem and I was surprised by the fact that it was linked somehow to GRUB settings. But now I can't remember exactly what was the solution.
Here is a solution:
logind.conf
:Save/Overwrite.
Reboot.