Hi bp25, On Wed, Jan 08 2025, b...@riseup.net wrote:
> How can I disable gdm as the login manager I modify the Guix services [1] but there is probably an easier way in the manual or in the cookbook. Please note I worked off of %base-services. After login, I run the custom program below, which I named 'xinit' in my home folder. (Our official xinit executable should arguably be patched.) I configure xrandr in .xinitrc, further below, because I find EXWM's randr support a bit flaky. Then I start Emacs with EXWM configured. [2] Kind regards Felix [1] https://codeberg.org/lechner/system-config/src/commit/4335818ba8da818f21810b5b402db51c77d3b344/host/lechner-desktop/operating-system.scm#L278-L279 [2] https://codeberg.org/lechner/emacs-config/src/commit/b53e65000bf60902dbb7c8705b9f22b08026f03a/init.el#L97-L154 * * * #!/usr/bin/env -S guile --no-auto-compile -s !# (let* ((profile (string-append (getenv "HOME") "/.guix-profile")) (virtual-terminal (string-append "vt" (getenv "XDG_VTNR")))) (system* "xinit" "--" (string-append profile "/bin/Xorg") ":0" virtual-terminal "-keeptty" "-configdir" (string-append profile "/share/X11/xorg.conf.d") "-modulepath" (string-append profile "/lib/xorg/modules"))) * * * xrandr --output DP-5 --auto --primary xrandr --output DP-4 --auto --left-of DP-5 --rotate left xterm #emacs #emacsclient -c -a ""