summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorJordan Gong <jordan@inspiron-n4050.localdomain>2020-10-04 09:26:06 +0800
committerJordan Gong <jordan@inspiron-n4050.localdomain>2020-10-04 09:26:06 +0800
commita866f38601517257dfd5d6cc55e2d133e22105fb (patch)
treec9acba7e98370465f4390a1de110985444f6b51c /run.sh
parent39bb0d50ecbdd6d9669a01c7d2c170ed07291f76 (diff)
Add GNOME on Xorg support
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh4
1 files 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"
;;