I was previously using Ubuntu 16.04 Unity. I changed to gnome. Earlier it used to lock the screen when I closed the lid. I could listen to music without any trouble. Now on closing the lid it suspends the system(music stops). I tried editing the /etc/systemd/logind.conf (changing HandleLidSwitch=lock) but it didnt work. I also tried using Tweak Tool, that too didnt work.
Asked
Active
Viewed 670 times
systemctl restart systemd-logind.service
? – j-money Aug 14 '18 at 18:40