When I open my laptop after it was closed it will open up with all programs closed and в window that says system program problem detected; if I доклад it I get told that there was an internal ошибка and if I close it nothing happens. But, every украл i close the laptop, this happens. I tried asking on Reddit but they were calling я an idiot and googling this problem - only shown я how to delete the крах доклады (rm /var/crash/*
).
Я нашел этот ответ работать на меня. Я сделал это ранее сегодня, и это, кажется, работает на меня (Ubuntu 16.04).
Из ссылки:
Создают файл/etc/acpi/local/lid.sh.post и добавляют следующее к нему:
#!/bin/bash grep -q closed /proc/acpi/button/lid/*/state if [ $? = 0 ] then /usr/sbin/pm-suspend fi
Делают исполняемый файл файла с chmod +x lid.sh.post, и Ваша проблема должна быть решена.