[emacs-berlin] Changed user name - emacs can't find .emacs.d

Hlöðver Sigurðsson hlolli at gmail.com
Tue Jan 24 16:24:56 UTC 2023

you could set
(setq user-emacs-directory "/new/path")

from the new account .emacs.d folder, but Im not sure if it will load the
path, worth trying

On Tue, 24 Jan 2023 at 16:30, Asalle <asalle.kim at gmail.com> wrote:

> Hi all!
> I changed my username via `usermod -l newname oldname` and I also changed
> my home folder name accordingly. However, now when I start emacs, it says
> `/home/oldname/.emacs.d does not exist. Create it?`. I removed the whole
> `/home/newname/.emacs.d/.cache` folder. And I tried to find any env vars
> that contain `/home/oldname` via `apropos-value` - couldn't find anything
> that stands out.
> How do I make it work with my new username without removing the whole
> `/home/newname/.emacs.d`?
> --
> Best regards,
> Asa
> _______________________________________________
> emacs-berlin mailing list
> emacs-berlin at emacs-berlin.org
> https://mailb.org/mailman/listinfo/emacs-berlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailb.org/pipermail/emacs-berlin/attachments/20230124/6cea38e5/attachment.htm>

More information about the emacs-berlin mailing list