From 7182be921dea89e57f2b5ab5d6eb626b7cc9a0a3 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Wed, 19 Mar 2025 10:04:06 +0800 Subject: [PATCH] Update proxy_set_linux_sh https://github.com/2dust/v2rayN/issues/6937 --- v2rayN/ServiceLib/Sample/proxy_set_linux_sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/v2rayN/ServiceLib/Sample/proxy_set_linux_sh b/v2rayN/ServiceLib/Sample/proxy_set_linux_sh index a1caae53..c22b383d 100644 --- a/v2rayN/ServiceLib/Sample/proxy_set_linux_sh +++ b/v2rayN/ServiceLib/Sample/proxy_set_linux_sh @@ -84,6 +84,11 @@ detect_desktop_environment() { echo "gnome" return fi + + if [[ "$XDG_CURRENT_DESKTOP" == *"XFCE"* ]] || [[ "$XDG_SESSION_DESKTOP" == *"XFCE"* ]]; then + echo "gnome" + return + fi local KDE_ENVIRONMENTS=("KDE" "plasma") for ENV in "${KDE_ENVIRONMENTS[@]}"; do