Gedit - disabling "untitled document 1"

Chris Green cl at isbd.net
Sun Feb 1 09:40:45 UTC 2015


On Sun, Feb 01, 2015 at 09:40:39AM +1100, Karl Auer wrote:
> On Sat, 2015-01-31 at 12:23 -0800, rikona wrote:
> > I was going to try the edits as you suggested, but in the bug reports
> > listed by NoOp, it said one should not try to run gedit as root, so
> > I'm postponing this temporarily.
> 
> You don't need to run gedit as root to make those edits. Run some other
> editor as root. vi is on every Linux system in some form - use that. Or,
> if you are up to it, use sed :-) Check the file paths first - someone
> was talking about KDE using a slightly different path, so perhaps do a
> search on your drive for "gedit.desktop" first. Or just copy the file
> from the system directory to your home directory under .local/whatever
> and edit that without needing root access at all - it will override the
> system version.
> 
Alternatively you can of course open up the permissions on the files
to be edited and edit them using gedit as a normal user, then tighten
up the file permissions again.

-- 
Chris Green




More information about the ubuntu-users mailing list