Hi Oleander,

On Sat, Sep 14 2024, Ian Eure wrote:

> Guix seems to have some unique difficulties with `startx'

I use the code below.

Kind regards
Felix

* * *

#!/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")))

Reply via email to