From 7411e60529186dc177c2e915056699dbfadca3c0 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Tue, 8 Dec 2020 03:13:52 -0700 Subject: Finally configure autostarting x to get rid of lightdm --- .config/shell/profile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.config/shell') diff --git a/.config/shell/profile b/.config/shell/profile index 1196694..e7cd55f 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -50,3 +50,14 @@ export TEXMFHOME=$HOME/.local/share/texmf ## qBittorrent. export QT_AUTO_SCREEN_SCALE_FACTOR=0 + +##--Start X automatically--## + +# More on autologin and autostarting x without a DM: +# https://forums.bunsenlabs.org/viewtopic.php?id=5544 +# Also LS's config could be important here: +# ttps://github.com/LukeSmithxyz/voidrice/blob/master/.config/shell/profile + +if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then + exec startx +fi -- cgit v1.2.3-54-g00ecf