Difference between revisions of "Template:UbuntuFocalDesktop-Common"
From FriendlyELEC WiKi
(updated by API) |
(updated by API) |
||
Line 27: | Line 27: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Reboot. | Reboot. | ||
+ | ===Test Video Playback=== | ||
+ | * mpv | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | mpv ~/Videos/demo.mp4 | ||
+ | </syntaxhighlight> | ||
+ | * GStreamer Command Line | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | gst-play-1.0 ~/Videos/demo.mp4 --videosink=xvimagesink | ||
+ | </syntaxhighlight> | ||
+ | For more details, please search and refer to the official documentation <<rockchip_user_guide_linux_gstreamer_en.pdf>>. |
Revision as of 07:49, 11 May 2024
Contents
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>>.