From f2ee4c36a482bea1896207e79b916a0ada037900 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Thu, 5 Sep 2024 16:49:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20environment=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- .../LubanCat2/LubanCat2_Linux_Lite_配置.md | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Ecology/LubanCat2/LubanCat2_Linux_Lite_配置.md b/Ecology/LubanCat2/LubanCat2_Linux_Lite_配置.md index 8308c13..a329ab1 100644 --- a/Ecology/LubanCat2/LubanCat2_Linux_Lite_配置.md +++ b/Ecology/LubanCat2/LubanCat2_Linux_Lite_配置.md @@ -243,3 +243,29 @@ sudo ./XiaYu -platform linuxfb:fb=/dev/fb0:mmsize=1024x600 -plugin evdevtouch:/d sudo systemctl start haoan-xiayu sudo systemctl enable haoan-xiayu ``` + +/etc/environment: + +```bash +PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" +XDG_RUNTIME_DIR="/run/user/0" +DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/0/bus" +RUNLEVEL=3 +WESTON_DISABLE_ATOMIC=1 +WESTON_DRM_MIRROR=1 +WESTON_DRM_KEEP_RATIO=1 +WESTON_FREEZE_DISPLAY=/tmp/.freeze_weston +WAYLAND_DISPLAY=wayland-0 +PREFERED_VIDEOSINK=waylandsink +QT_GSTREAMER_WINDOW_VIDEOSINK=waylandsink +QT_GSTREAMER_WIDGET_VIDEOSINK=waylandsink +QT_GSTREAMER_PLAYBIN=playbin3 +GST_VIDEO_CONVERT_PREFERRED_FORMAT=NV12:NV16:I420:YUY2 +GST_VIDEO_FLIP_USE_RGA=1 +GST_VIDEO_CONVERT_USE_RGA=1 +PIXMAN_USE_RGA=1 +QT_OPENGL=desktop +QT_QPA_EGLFS_KMS_CONFIG=/home/cat/haoan/kms_config.json +QT_QPA_PLATFORM=eglfs +QT_QPA_EGLFS_INTEGRATION=eglfs_kms +```