[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: edit text files as root



On Sun, 2006-04-09 at 18:01 -0400, kamaraju kusumanchi wrote:
> According to http://kudos.berlios.de/kf/kisimlar/tipsntrix.html#rootedit 
> , In Ubuntu one can edit the text files as root using the "Edit as Root" 
> option. But I could not find this option in Debian unstable KDE 3.5.2 .  
> How can I achieve this behavior in Debian as well?

kdesu kate <name of file> from the command line should work. However, if
you are looking for a context menu option, you may have to add that
yourself. I'm not a KDE user, so I forget how to do this offhand. If you
right click on the file you are attempting to edit, I'm guessing you'll
see an "open with" option that may allow you to specify a command to use
to open that type of file. If you specify 'kdesu kate %f' it might work.
This is a lot of assumption and guesswork, so take these suggestions as
inspiration rather than gospel.

-davidc
-- 
gpg-key: http://www.zettazebra.com/files/key.gpg

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: