Ubuntu关闭熄屏

# 关闭息屏,最后0是代表关闭锁屏,将0替换为60代表60s后自动息屏,以此类推。
gsettings set org.gnome.desktop.session idle-delay 0
  
   
# 关闭锁屏
gsettings set org.gnome.desktop.screensaver lock-enabled false

分享