From: Mekeor Melire <mekeor@posteo.de>
To: Disseminate Dissent <disseminatedissent@protonmail.com>
Cc: help-guix@gnu.org
Subject: Re: Need help with Xmonad setup and login from tty
Date: Sat, 30 Oct 2021 19:22:09 +0000 [thread overview]
Message-ID: <87fssiwbmq.fsf@posteo.de> (raw)
In-Reply-To: <gGd_UfivStB5BgTiuqoYjoq_ZBVo6gFcBQMfbI9D_QI2EY8-lynPhO-1p9bfahAamPxjMlgS53B42gjAacHIjZVXZ9InYpuK9WCUef5APxM=@protonmail.com>
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
next prev parent reply other threads:[~2021-10-30 19:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-27 22:02 Need help with Xmonad setup and login from tty Disseminate Dissent via
2021-10-28 18:10 ` jbranso
2021-10-30 19:22 ` Mekeor Melire [this message]
2021-10-30 19:35 ` Mekeor Melire
2021-10-31 16:23 ` Mekeor Melire
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fssiwbmq.fsf@posteo.de \
--to=mekeor@posteo.de \
--cc=disseminatedissent@protonmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).