Ubuntu 18.04 / 20.04 自定义锁屏时间

Ubuntu 18.04 / 20.04 自定义锁屏时间

GUI 方法:

设置->电源->blank screen

命令行方法:

方法一

设置自动锁屏时间为1小时(3600 秒)

gsettings set org.gnome.desktop.session idle-delay 3600

方法二

安装dconf-editor

sudo apt install dconf-editor

然后运行 dconf-editor 

在GUI界面搜索  idle-delay 

自定义锁屏时间

 

 

 

 

 参考:

https://blog.csdn.net/G_66_hero/article/details/71598021

https://askubuntu.com/questions/1320111/edit-newly-added-lock-time-in-ubuntu-20-04

posted @ 2021-03-15 19:06  Jerry_Jin  阅读(4308)  评论(0编辑  收藏  举报