Ubuntu Focal Desktop
From FriendlyELEC WiKi
Contents
1 Work with Ubuntu 20.04 (Focal) Desktop
1.1 Introduction to Ubuntu 20.04 Desktop
Ubuntu 20.04 Desktop has the following features:
- Base on Xorg, using LXQT as the desktop environment;
- SDDM is the default display manager;
- Mali GPU-based OpenGL ES support;
- Support Rockhip MPP video hard coding and hard decoding;
- Pre-installed mpv, support video hardware decoding;
1.2 Account & Password
Regular Account:
User Name: pi
Password: pi
Root:
User Name: root
Password: fa
1.3 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
1.4 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.
1.5 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>>.