Search code examples
ubuntuemacsdebiandesktop-application

Emacs build & install without emacsclient


When installing Emacs from source, I run ./configure which generates some Makefiles, which in turn install Emacs along with emacsclient and a daemon(?) after running make install.

Is there a way to exclude emacsclient and daemon from the installation procedure and leave only Emacs itself?

I've checked the options available when running ./configure --help and read the readme file and haven't found anything that could help

Thanks

Edit: The problem is that it creates 2 separate desktop apps: Emacs and Emacs (Client). And in my view it is not the best UX. I would rather have only one of them installed, preferably Emacs. Are there any other options apart from deleting the desktop entry file? The OSes are Debian 12 (Gnome) and Ubuntu 20.04


Solution

  • I think you'll have to (a) manually remove the existing unwanted desktop files from your current system, and (b) delete the equivalent *.desktop files from the PATH/TO/CODEBASE/etc directory in the emacs codebase before you next make install Emacs. I don't think there's any config option to pick and choose which of them get installed.