I installed Emacs 26 on Ubuntu using snap.

Where to find the Emacs configuration file in this context ?

1 Answer 1


Once you have opened Emacs you can see what is your emacs directory by checking the value of the variable user-emacs-directory.

Just: C-hv user-emacs-directory.

Inside that directory an init.el should be the configuration file. If that doesn't work, you should check ~/.emacs or ~/.emacs.el files.

You can also find more details in the manual.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.