You are not logged in.
Good day, everyone!
I've been using i3wm for a long time and recently i decided to try dwm. I have dwm installed but regardless of what I do with the .xintitrc file, i3 starts up (even if I comment "exec i3" AND "exec dwm"). I have no idea what is causing this behavior and will be grateful for any help.
My .xintitrc file:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec i3
exec dwm
Last edited by Arden (2020-05-30 13:23:39)
Offline
How do you start X11? startx or xinit?
Offline
This is a manjaro system?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
How do you start X11? startx or xinit?
I realized that I had to check my shell profile file. Changing "exec startx /usr/bin/i3" for "exec startx dwm" in .zprofile solved the problem.
Thank you for the hint!
Offline
Starting "startx anything" is a bad idea to begin with.
This is a manjaro system?
Offline
This is a manjaro system?
No, I'am using Arch.
Offline
If you want to use an ~/.xinitrc you should not have anything after `exec startx` in your shell profile.
I am curious, though, where that xinitrc came from. That is the default skeleton xintirc used in manjaro, parabola, and perhaps some other spin offs, but arch's has been quite different for a long time.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline