From e4a362c9f08d8418fe79393ebaacedf819883416 Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Fri, 29 Nov 2024 16:27:43 +0800 Subject: [PATCH] VIMS: update fan_setup.sh and tone2.sh scripts adjust window size and unset WAYLAND_DISPLAY to use software rendering Signed-off-by: Ivan Li --- .../filesystem/special/VIM-COMMON/usr/local/bin/fan_setup.sh | 2 ++ archives/filesystem/special/VIM-COMMON/usr/local/bin/tone2.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/archives/filesystem/special/VIM-COMMON/usr/local/bin/fan_setup.sh b/archives/filesystem/special/VIM-COMMON/usr/local/bin/fan_setup.sh index 2757ae5a..a443326d 100755 --- a/archives/filesystem/special/VIM-COMMON/usr/local/bin/fan_setup.sh +++ b/archives/filesystem/special/VIM-COMMON/usr/local/bin/fan_setup.sh @@ -5,6 +5,8 @@ if [ "${XDG_SESSION_TYPE}" == "tty"]; then exit fi +WAYLAND_DISPLAY= + FAN="/usr/local/bin/fan.sh" LINUX_VER=`uname -r` diff --git a/archives/filesystem/special/VIM-COMMON/usr/local/bin/tone2.sh b/archives/filesystem/special/VIM-COMMON/usr/local/bin/tone2.sh index 533ef445..08cff795 100755 --- a/archives/filesystem/special/VIM-COMMON/usr/local/bin/tone2.sh +++ b/archives/filesystem/special/VIM-COMMON/usr/local/bin/tone2.sh @@ -5,6 +5,8 @@ if [ ! -d /usr/share/desktop-base ]; then exit fi +WAYLAND_DISPLAY= + source /etc/fenix-release if [ "$BOARD" == "VIM1S" ]; then