From a866f38601517257dfd5d6cc55e2d133e22105fb Mon Sep 17 00:00:00 2001 From: Jordan Gong Date: Sun, 4 Oct 2020 09:26:06 +0800 Subject: Add GNOME on Xorg support --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index c0889d3..cc4bb57 100755 --- a/run.sh +++ b/run.sh @@ -3,7 +3,7 @@ set_proxy() { case "$XDG_SESSION_DESKTOP" in - "gnome" | "ubuntu") + "gnome" | "gnome-xorg" | "ubuntu") gsettings set org.gnome.system.proxy mode "manual" gsettings set org.gnome.system.proxy.socks host "127.0.0.1" gsettings set org.gnome.system.proxy.socks port "10808" @@ -23,7 +23,7 @@ set_proxy() { unset_proxy() { case "$XDG_SESSION_DESKTOP" in - "gnome" | "ubuntu") + "gnome" | "gnome-xorg" | "ubuntu") gsettings set org.gnome.system.proxy mode "none" ;; -- cgit v1.2.3