Difference between revisions of "Template:UbuntuFocalDesktop-Common/zh"
From FriendlyELEC WiKi
(updated by API) |
(updated by API) |
||
Line 8: | Line 8: | ||
用户名: root<br/> | 用户名: root<br/> | ||
密码: fa<br/> | 密码: fa<br/> | ||
+ | ===关闭自动休眠和屏幕保护=== | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | sed -i 's/enableIdlenessWatcher=true/enableIdlenessWatcher=false/g' .config/lxqt/lxqt-powermanagement.conf | ||
+ | echo "mode: off" > ~/.xscreensaver | ||
+ | sudo reboot | ||
+ | </syntaxhighlight> | ||
+ | ===设置自动登录=== | ||
+ | 创建目录与文件 | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | sudo mkdir /etc/sddm.conf.d | ||
+ | sudo vim /etc/sddm.conf.d/autologin | ||
+ | </syntaxhighlight> | ||
+ | autologin文件内容如下: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | [Autologin] | ||
+ | User=pi | ||
+ | Session=lxqt.desktop | ||
+ | Relogin=false | ||
+ | </syntaxhighlight> | ||
+ | 重启。 |
Revision as of 06:11, 19 January 2024
Contents
1 Account & Password
2 帐户与密码
普通用户:
用户名: pi
密码: pi
Root用户:
用户名: root
密码: fa
3 关闭自动休眠和屏幕保护
sed -i 's/enableIdlenessWatcher=true/enableIdlenessWatcher=false/g' .config/lxqt/lxqt-powermanagement.conf echo "mode: off" > ~/.xscreensaver sudo reboot
4 设置自动登录
创建目录与文件
sudo mkdir /etc/sddm.conf.d sudo vim /etc/sddm.conf.d/autologin
autologin文件内容如下:
[Autologin] User=pi Session=lxqt.desktop Relogin=false
重启。