Speed up Emacs Startup
Emacs is a fantastic editor for developers with many features. Unfortunatelly emacs boot time is not good enough and it takes a while to load server and client services.
To solve this issue, try to apply these steps:
Add this line in
Relogin again to start the daemon.
Now you can edit your files with
emacsclient command like so:
$ emacsclient sample.cpp
If you want to run emacsclient in gui mode, run this command:
$ emacsclient -c sample.cpp
To make your default emacs application to run emacsclient instead of emacs command,
/usr/share/applications/emacs.desktop file and change
Exec line to this:
.. Exec=emacsclient -c %F ..
Try variable, change that too.
Note: if your emacsclient gui doens’t load your theme or config, just load it via
All contents are under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.
Top banner picture by Unsplash.