I tried using some code to reset my proxy back to all 0's. It seems that I didn't put in the proper variables and now my environment won't load
if [ $(id -u) -ne 0 ]; then
echo "This script must be run as root";
exit 1;
fi
gsettings set org.gnome.system.proxy mode 'none' ;
grep PATH /etc/environment > lol.t;
cat lol.t > /etc/environment;
printf "" > /etc/apt/apt.conf.d/95proxies;
rm -rf lol.t;
I put this code in and now after I login all I get is a nice long look at my background, but nothing else. What do?
gsettings
withsudo
has caused some personal settings files to become root-owned: try runningfind ~ \( -user root -o -group root \) -ls
from a terminal (using Ctrl-Alt-F1 etc. to obtain a virtual terminal if you can't use a GUI terminal emulator) to identify any such – steeldriver Mar 19 '19 at 00:11root
owns some files in/home/user
should I be concerned? – steeldriver Mar 19 '19 at 02:54