ubuntu 14.04 closes all programs upon awakening

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/*).

0
задан 12 January 2016 в 11:56

1 ответ

Я нашел этот ответ работать на меня. Я сделал это ранее сегодня, и это, кажется, работает на меня (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, и Ваша проблема должна быть решена.

0
ответ дан 29 September 2019 в 14:20

Другие вопросы по тегам:

Похожие вопросы: