第一步:sudo vi /etc/systemd/logind.conf   /*最好备份下再修改*/
把下面的参数改为ignore
HandleLidSwitch=ignore

第二步: sudo service systemd-logind restart



来源:http://www.jianshu.com/p/18ad8ded213d

相关文章:

  • 2021-06-26
  • 2021-09-17
  • 2021-07-21
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
猜你喜欢
  • 2021-07-28
  • 2021-11-28
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2021-04-24
  • 2021-12-31
相关资源
相似解决方案