Невозможно установить действие кнопки питания в спящий режим

Я использую Ubuntu 19.04 Desktop на своем ноутбуке с версией Gnome 3.32.

Я хочу установить «power-button-action» на «hibernate» и соответственно изменил файл /etc/systemd/logind.conf:

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
HandlePowerKey=hibernate
HandleSuspendKey=hibernate
#HandleHibernateKey=hibernate
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
#HandleLidSwitchDocked=ignore
PowerKeyIgnoreInhibited=yes
SuspendKeyIgnoreInhibited=yes
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192

, но нажатие кнопки питания по-прежнему показывает сброс / выключение!

Чего мне не хватает? Как включить режим гибернации при нажатии кнопки питания?

0
задан 8 July 2019 в 13:22

0 ответов

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

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