LINUX.ORG.RU

История изменений

Исправление intelfx, (текущая версия) :

Ах да.

systemd-inhibit(1):

systemd-inhibit may be used to execute a program with a shutdown, sleep or idle inhibitor lock taken. The lock will be acquired before the specified command line is executed and released afterwards.

Поэтому:

systemd-inhibit --what=handle-lid-switch /bin/sleep infinity &

Ну и отправь это куда-нибудь в скрипт инициализации иксовой сессии (какой — зависит от DM). При завершении сессии само прибьётся.

Исправление intelfx, :

Ах да.

systemd-inhibit(1):

systemd-inhibit may be used to execute a program with a shutdown, sleep or idle inhibitor lock taken. The lock will be acquired before the specified command line is executed and released afterwards.

Поэтому:

systemd-inhibit --what=handle-lid-switch /bin/sleep infinity &

Ну и отправь это куда-нибудь в скрипт инициализации иксовой сессии (какой — зависит от DM).

Исходная версия intelfx, :

Ах да.

systemd-inhibit(1):

systemd-inhibit may be used to execute a program with a shutdown, sleep or idle inhibitor lock taken. The lock will be acquired before the specified command line is executed and released afterwards.

Поэтому:

systemd-inhibit --what=handle-lid-switch /bin/sleep infinity