lubuntu-desktop team mailing list archive
-
lubuntu-desktop team
-
Mailing list archive
-
Message #01173
Re: Modifying files in Lubuntu
You do NOT edit the grub.cfg ile. That file is generated using config files
and scripts. You can edit the file but next time:
sudo update-grub
is ran the changes will be completely lost.
LXDE is a GTK based DE so 'gksudo leafpad' is what you will need (you can
install gedit if you like but leafpad is a lot leaner and default in LXDE.
If you want your changes to grub.cfg to stick you must either:
1. *Never* upgrade the kernel OR
2. Edit Grub2 the correct way so that grub updates get applied and your
changes stay
The grub.cfg file is marked as read only (even to root) and the file says
"Do not edit this file" for a reason. I suggest you read:
https://help.*ubuntu*.com/community/*Grub2*
*
*
*
*
On Wed, Apr 21, 2010 at 2:48 PM, Goh Lip <g.lip@xxxxxxx> wrote:
>
> I need to modify /boot/grub/grub.cfg in lubuntu that I've set up in usb
> drive.
> But I found that it is not possible through lubuntu.
> I had to boot up kubuntu to edit it.
>
> What is the equivalent in Lubuntu for 'kdesudo kate' or 'gksudo gedit' ?
>
> --
> Regards - Goh Lip
>
> _______________________________________________
> Mailing list: https://launchpad.net/~lubuntu-desktop
> Post to : lubuntu-desktop@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~lubuntu-desktop
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References