From Gentoo Wiki
Jump to:navigation Jump to:search

Spacemacs is a sophisticated and polished Emacs set-up focused on ergonomics, mnemonics and consistency.


The use of Emacs 26.x is advised due to compatibility with Spacemacs layers.

USE flags

Ensure Emacs is built with the xft USE flag[1][2]:

FILE /etc/portage/package.use
app-editors/emacs xft


Reinstall Emacs:

root #emerge --ask app-editors/emacs


Install Spacemacs:

user $git clone ~/.emacs.d
Backup or delete ~/.emacs.d if the directory already exists. If old settings are to be archived, backup ~/.emacsm

Start Emacs and follow the install prompt at the bottom of the screen.

user $emacs &

After finishing the first startup process, press ESC -> SPACE -> f -> f -> .spacemacs . The font can be changed under dotspacemacs-default-font and layers can be enabled or disabled under dotspacemacs-configuration-layers among many other options. The settings are written in Lisp.


  1. Konstantinos Tsardounis. Unable to use Source Code Pro fonts?, Spacemacs GutHub, January 16th, 2018. Retrieved on March 19th, 2019.
  2. Wiki authors. Xft support for GNU Emacs, Gentoo Wiki, July 11th, 2013. Retrieved on March 19th, 2019.