help-guix
[Top][All Lists]
Advanced

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

Re: Need help with Xmonad setup and login from tty


From: Mekeor Melire
Subject: Re: Need help with Xmonad setup and login from tty
Date: Sat, 30 Oct 2021 19:22:09 +0000

Hello :)

I also start XMonad from the terminal/TTY. I use the following command
which I found in some Guix mailing list:

--8<---------------cut here---------------start------------->8---
xinit -- ~/.guix-profile/bin/Xorg :0 vt1 \
  -keeptty \
  -configdir ~/.guix-profile/share/X11/xorg.conf.d \
  -modulepath ~/.guix-profile/lib/xorg/modules
--8<---------------cut here---------------end--------------->8---

I then have a ~/.xsession file which in particular contains this line:

--8<---------------cut here---------------start------------->8---
exec ~/.xmonad/xmonad-x86_64-linux
--8<---------------cut here---------------end--------------->8---

I'm not sure but I think these were the packages which I installed as
user in order to make XMonad work/compile:

--8<---------------cut here---------------start------------->8---
gcc-toolchain
ghc
ghc-xmonad-contrib
glibc
ld-wrapper
libxinerama
xf86-input-libinput
xf86-video-fbdev
xf86-video-intel
xinit
xorg-server
--8<---------------cut here---------------end--------------->8---

I also have a ~/.xmonad/build script with the following content:

--8<---------------cut here---------------start------------->8---
#!/bin/sh
ghc -dynamic "$HOME/.xmonad/Main.hs" -i"$HOME/.xmonad" -o "$1"
--8<---------------cut here---------------end--------------->8---

Hope this helps!

Goodbye
Mekeor



2021-10-27 / 22:02 / help-guix@gnu.org:

> To whom this may concern,
>
> Hello, I have a relatively good understand of GNU/Linux. Just moved from Arch 
> after using it for several months, looking for more GNU. However, I'm having 
> some serious difficult with two things that I imagine are simple.
>
> During installation I opted out of setting up the default DEs and display
> managers since I prefer to login through TTY. I'm also using xmonad but am
> having trouble with getting it up and running. When invoking `startx` the 
> screen
> goes black and then I'm unable to back out or even switch to another TTY. How
> would I go back solving these two issues?
>
> Thanks for any help in advance.
> All the best




reply via email to

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