From 495ff025ebcf9e763c41f9b288fd934610319d66 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Fri, 2 Aug 2019 11:21:26 +0200 Subject: [PATCH] Add more logging during boot Signed-off-by: Severin Kaderli --- system/.config/X11/xinitrc | 2 +- system/.config/zsh/.zprofile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/.config/X11/xinitrc b/system/.config/X11/xinitrc index a667fbd..894c627 100644 --- a/system/.config/X11/xinitrc +++ b/system/.config/X11/xinitrc @@ -31,4 +31,4 @@ fi cat "${I3_SCREEN_CONFIG}" "${XDG_CONFIG_HOME}/i3/config.base" "${LOCAL_I3_CONFIG}" > "${XDG_CONFIG_HOME}/i3/config" -i3 \ No newline at end of file +i3 > "${XDG_LOG_HOME}/i3.log" 2>&1 \ No newline at end of file diff --git a/system/.config/zsh/.zprofile b/system/.config/zsh/.zprofile index c8e4f76..4d30ddd 100644 --- a/system/.config/zsh/.zprofile +++ b/system/.config/zsh/.zprofile @@ -27,10 +27,10 @@ crontab "${XDG_CONFIG_HOME}/cron/crontab" # If we are on tty1 we start the x-server if [ "$(tty)" = "/dev/tty1" ]; then - startx "${XDG_CONFIG_HOME}/X11/xinitrc" && exit + startx "${XDG_CONFIG_HOME}/X11/xinitrc" -- -keeptty > "${XDG_LOG_HOME}/xorg.log" 2>&1 && exit fi # If we are on tty2 we start the x-server using nvidia-xrun if [ "$(tty)" = "/dev/tty2" ]; then - nvidia-xrun && exit + nvidia-xrun > "${XDG_LOG_HOME}/nvidia-xorg.log" 2>&1 && exit && exit fi