Difference between revisions of "Template:UbuntuFocalDesktop-Common"
From FriendlyELEC WiKi
(updated by API) |
(updated by API) |
||
Line 7: | Line 7: | ||
User Name: root<br/> | User Name: root<br/> | ||
Password: fa<br/> | Password: fa<br/> | ||
+ | ===Turn off auto-sleep and screen saver=== | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | sed -i 's/enableIdlenessWatcher=true/enableIdlenessWatcher=false/g' .config/lxqt/lxqt-powermanagement.conf | ||
+ | echo "mode: off" > ~/.xscreensaver | ||
+ | sudo reboot | ||
+ | </syntaxhighlight> | ||
+ | ===Set up auto login=== | ||
+ | Create dir and file: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | sudo mkdir /etc/sddm.conf.d | ||
+ | sudo vim /etc/sddm.conf.d/autologin | ||
+ | </syntaxhighlight> | ||
+ | The contents of the autologin file: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | [Autologin] | ||
+ | User=pi | ||
+ | Session=lxqt.desktop | ||
+ | Relogin=false | ||
+ | </syntaxhighlight> | ||
+ | Reboot. |
Revision as of 06:11, 19 January 2024
1 Account & Password
Regular Account:
User Name: pi
Password: pi
Root:
User Name: root
Password: fa
2 Turn off auto-sleep and screen saver
sed -i 's/enableIdlenessWatcher=true/enableIdlenessWatcher=false/g' .config/lxqt/lxqt-powermanagement.conf echo "mode: off" > ~/.xscreensaver sudo reboot
3 Set up auto login
Create dir and file:
sudo mkdir /etc/sddm.conf.d sudo vim /etc/sddm.conf.d/autologin
The contents of the autologin file:
[Autologin] User=pi Session=lxqt.desktop Relogin=false
Reboot.