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