If you are unable to suspend your laptop, here's the solution which I've tried & tested and it worked with my Lenovo Thinkpad T440.
Open your terminal and enter the following commands:
>> Steps 1: Create backup of the following file 'logind.conf':
sudo cp /etc/systemd/logind.conf /etc/systemd/logind-backup.conf
>> Steps 2: Depending upon the GUI based code editor you have, such as gedit, Geany etc or text based editor nano or the default vi enter the following command below. If you have & want to use Geany then you can replace vi with geany:
sudo vi /etc/systemd/logind.conf
>> Steps 3: Step 3: Carefully navigate and make sure the following lines are changed to look like shown below. If the lines are commented (Example: #HandleSuspendKey=suspend), uncomment them.
HandleSuspendKey=suspend
HandleLidSwitch=suspend
HandleLidSwitchDocked=suspend
>> Steps 4: Save the file.
>> Steps 3: Reboot & check. You can reboot from the terminal using the following command:
sudo reboot
thanks
ReplyDeleteDoes not solve the problem for me. Post a restart and log-in, tries to suspend again. all three displays blanked followed by getting the purple log-in screen again.
ReplyDeleteThis ruined my ubuntu, it can't boot anymore
ReplyDeleteThis ruined my ubuntu :( now i need to reinstall
ReplyDeletethanks work fine
ReplyDeletePlz provide your contact e mail id.
ReplyDeleteI want to resolve a problem related to a webpage
Cooldeep ji , plz provide your e mail for contact . I have a little bit of problem to be resolved for which your knowledge is helpful
ReplyDeleteHi! Sorry for the delayed reply. Just saw your comment. You can mail me at cooldeep.ventures[at]gmail.com
Delete