Difference between revisions of "Template:UbuntuFocalDesktop-Common"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
Line 7: Line 7:
 
&nbsp;&nbsp;&nbsp;&nbsp;User Name: root<br/>
 
&nbsp;&nbsp;&nbsp;&nbsp;User Name: root<br/>
 
&nbsp;&nbsp;&nbsp;&nbsp;Password: fa<br/>
 
&nbsp;&nbsp;&nbsp;&nbsp;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.