[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Start Xorg server using xinit manually

From: Gary Johnson
Subject: Re: Start Xorg server using xinit manually
Date: Mon, 22 Mar 2021 12:49:17 -0400

> March 21, 2021 6:31 PM, "Bone Baboon" <> wrote:
> I am trying to manually run `xinit` so that I can use Emacs X Window
> Manager (EXWM). I have EXWM configured in my Emacs configuration file.
> I have a small number of important graphical applications I want to
> run in EXWM (web browser, Jami, qTox, ...).

Hi Bone,

  I run EXWM under Guix System. You don't need to manually start Xorg
with xinit, startx, or any other command. First, make sure that you are
installing emacs and emacs-exwm into your packages list. Also make sure
that your services list includes %desktop-services. Here's a skeleton
operating-system definition to build off of:

 (packages (cons* nss-certs   ; HTTPS access

 (services (cons* whatever-else

Start by installing this operating-system definition with the usual
`sudo guix system reconfigure my-config.scm`.

Then update your $HOME/.xsession file to include this at the end:

# Start Emacs with the script here: /run/current-system/profile/bin/exwm

Finally, update $HOME/.exwm to include all your EXWM-specific Emacs Lisp

When you reboot your machine, you'll be presented with a simple
graphical login screen. Just type in your username and password for the
user account with the updated $HOME/.xsession and $HOME/exwm files and
log in. X will start up, your $HOME/.xsession file will be read, which
will launch exwm. This will start up a full screen emacs instance that
evaluates your $HOME/.exwm file and then your $HOME/.emacs.d/init.el

That's all there is to it. Now you've got a fully graphically enabled
Emacs instance running as a tiling window manager over X.

Have fun and happy hacking!

GPG Key ID: 7BC158ED
Use `gpg --search-keys lambdatronic' to find me
Protect yourself from surveillance:
()  ascii ribbon campaign - against html e-mail
/\   - against proprietary attachments

Why is HTML email a security nightmare? See

Please avoid sending me MS-Office attachments.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]