Template:UbuntuFocalDesktop-Common

From FriendlyELEC WiKi
Revision as of 07:49, 11 May 2024 by Tzs (Talk | contribs) (updated by API)

Jump to: navigation, search

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.

4 Test Video Playback

  • mpv
mpv ~/Videos/demo.mp4
  • GStreamer Command Line
gst-play-1.0 ~/Videos/demo.mp4 --videosink=xvimagesink

For more details, please search and refer to the official documentation <<rockchip_user_guide_linux_gstreamer_en.pdf>>.