1. sudo vim /etc/systemd/logind.conf   //打开配置文件
  2. 找到 #HandleLidSwitch=suspend  改为 HandleLidSwitch=ignore 
  3. 重启服务 service systemd-logind restart

最新文章

  1. mac linux 删除一个文件下边所有文件和文件夹
  2. Eclipse:Dubug快捷键
  3. Oracle 数据库对象
  4. UIFont 设置字体
  5. 二、java中的基本数据类型
  6. Driver Signing changes in Windows 10
  7. PL/SQL简单实现数据库的连接
  8. 03--STL序列容器(Deque)
  9. sklearn 岭回归
  10. Ubuntu下安装Google浏览器
  11. redis初使用
  12. Should I expose asynchronous wrappers for synchronous methods?
  13. Intel微处理器学习笔记(三) 不可见寄存器
  14. 使用vs2015编辑c++模板程序报错2019
  15. Android控件之HorizontalScrollView 去掉滚动栏
  16. css3 伪元素 ::before ::after
  17. 搭建samba 共享openstack开发环境
  18. window.open()的所有参数列表
  19. 基于jQuery的时间轴鼠标悬停动画插件
  20. hdu-2685 I won't tell you this is about number theory---gcd和快速幂的性质

热门文章

  1. 设计模式(二)Adapter模式
  2. Redis(九)哨兵:Redis Sentinel
  3. Handler的postDelayed(Runnable, long)
  4. Text 尺寸获取
  5. Rest_Framework之认证、权限、频率组件源码剖析
  6. vue引入css文件报错Unrecognised input
  7. 可爱精灵宝贝 DP/爆搜
  8. 关于js中函数的一点总结
  9. 考试T3麻将
  10. m74 考试反思