silver.bullet at zoho.com
Fri Nov 4 10:30:48 UTC 2016
You can't install gksudo, but need to run an editor with root
privileges? However, what should be the advantage of gksudo over sudo?
apt update && apt install gksu
Depending on the task, you anyway need to run xhost when either using
sudo or gksudo, apart from this you could temporarily override the HOME
I never run gksudo, I always use sudo.
In case gedit should cause an dconf issue run
sudo rm /run/user/1???/dconf/user
To get rid of annoying output you could run
sudo gedit <files you want to edit> 2>/dev/null
sudo gedit <files you want to edit> >/dev/null 2>&1
FWIW I prefer pluma over gedit
apt update && apt install pluma
More information about the ubuntu-users