From 0aa216ca833da10b0f53d0db56c9f9e8f210bc4a Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Wed, 13 May 2020 15:56:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20Weston=20=E5=9F=BA?= =?UTF-8?q?=E6=9C=AC=E9=85=8D=E7=BD=AE.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- .../Modules/Display/Weston/Weston_基本配置.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Software/Development/OperatingSystem/Linux/User/Modules/Display/Weston/Weston_基本配置.md diff --git a/Software/Development/OperatingSystem/Linux/User/Modules/Display/Weston/Weston_基本配置.md b/Software/Development/OperatingSystem/Linux/User/Modules/Display/Weston/Weston_基本配置.md new file mode 100644 index 0000000..9c9eb72 --- /dev/null +++ b/Software/Development/OperatingSystem/Linux/User/Modules/Display/Weston/Weston_基本配置.md @@ -0,0 +1,22 @@ +# Weston 基本配置 + +Weston 系统默认配置文件为:/etc/xdg/weston/weston.ini + +各账户的 Weston 配置文件为:~/.config/weston.ini + +```sh +[core] +repaint-window=34 + +[v4l2-renderer] +device=/dev/media1 +device-module=vsp2 +``` + +通过 weston-launch 启动,weston-launch 可以作为 systemd service 运行。 + +为 weston-launch 指定 --log=\ 可以将 weston-launch 的日志记录到文件中。 + +weston-terminal 为 Weston 的终端程序。 + +有些情况下必须为 display 指定至少一个 input device,此时需要外接一个鼠标或者键盘才能正确启动 weston-launch。