文章标题

Ubuntu默认关闭的系统自带的休眠模式,要开启的话只要三步

  1. /etc/polkit-1/localauthority/50-local.d/目录下面创建com.ubuntu.enable-hibernate.pkla文件
  2. com.ubuntu.enable-hibernate.pkla文件中写入


    [Enable Hibernate in logind]
    Identity=unix-user:*
    Action=org.freedesktop.login1.hibernate
    ResultActive=yes

  3. 重启系统或重启 indicator 会话killall indicator-session-service

    顺利的话应该可以看到“休眠”按钮了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章