Template:UbuntuFocalDesktop-Common/zh

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

2 帐户与密码

普通用户:
    用户名: pi
    密码: pi

Root用户:
    用户名: root
    密码: fa

3 关闭自动休眠和屏幕保护

sed -i 's/enableIdlenessWatcher=true/enableIdlenessWatcher=false/g' .config/lxqt/lxqt-powermanagement.conf
echo "mode:           off" > ~/.xscreensaver
sudo reboot

4 设置自动登录

创建目录与文件

sudo mkdir /etc/sddm.conf.d
sudo vim /etc/sddm.conf.d/autologin

autologin文件内容如下:

[Autologin]
User=pi
Session=lxqt.desktop
Relogin=false

重启。

5 测试视频播放

  • mpv
mpv ~/Videos/demo.mp4
  • gsteamer命令行
gst-play-1.0 ~/Videos/demo.mp4 --videosink=xvimagesink

详请可搜索并参考官方文档<<rockchip_user_guide_linux_gstreamer_en.pdf>>

6 切换成中文语言

菜单进入 "Preferences" -> "Locale",在 "Region" 处选择 "中国 - 简体中文(zh_CN)" 保存,然后注销或者重启系统即可。