help-guix
[Top][All Lists]
Advanced

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

Re: open config.scm with sudo and gedit or emacs


From: Thanos Apollo
Subject: Re: open config.scm with sudo and gedit or emacs
Date: Sat, 11 Mar 2023 12:57:49 +0200
User-agent: mu4e 1.8.13; emacs 28.2

Hey Gottfried!


Gottfried <gottfried@posteo.de> writes:

[...]
> 1.
> I would like to open my config.scm file with emacs or gedit,
> because both show the matching parenthesis.
>
> How can I do that?
Not a Guix expert here either, but you might want to copy your
auto-generated config.scm as  ~/.config/guix/config.scm or something
like that so you will be able edit it as $USER and not just be owned by
root(and also keep your /etc/config.scm just in case you make a typo for
your filesystem as a backup).

> .....................................................
> 2.
> In emacs it opens the file only in read-able mode.
> How can I change this?
>
You should try out the `sudo-edit` package for editing
with root privileges in emacs ;)

Hope this helps!

-- 
Thanos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]