edit source list /etc/apt/sources.list

Alan Dacey GrokIt at ajinfosearch.com
Fri Dec 5 11:14:14 UTC 2008

>     You need to open the file as root. open konsole and type sudo kate
>     /etc/apt/sources.list

kate is a graphical program so you should *always* use kdesu (or kdesudo if 
kdesu is broken).  It is possible to run into problems later, I have.

 From _https://help.ubuntu.com/community/RootSudo_

Graphical sudo
You should never use normal sudo to start graphical applications as root. You 
should use gksudo (kdesudo on Kubuntu) to run such programs. gksudo sets 
HOME=~root, and copies .Xauthority to a tmp directory. This prevents files in 
your home directory becoming owned by root. (AFAICT, this is all that's special 
about the environment of the started process with gksudo vs. sudo).


"The second most satisfying thing in life is to totally understand a complicated 
concept.  If you are very lucky you may attain *the* most satisfying thing in 
life and actually grok it."
author unknown
Things I grok: 0

More information about the kubuntu-users mailing list