Edit: BTW, I use the "Super" key as the modifier key for i3.
]]>$ xinit /usr/bin/ratpoison -- :1
works fine for me. This opens the server on the first freely available VT.
Specifying a VT number works just as well.
]]>Or just use one ~/.xinitrc that accepts parameters.
This is really easy if you do not use a graphical login manager. Just switch to an unused console Ctrl-Alf-F(1-6), login in, and use startx to start an X session,
In my case, I issue a command like: WM=kde startx
Here is my ~/.xinitrc:
setxkbmap -option ctrl:nocaps
case $WM in
openbox)
exec dbus-launch openbox-session
;;
gnome)
exec gnome-session
;;
e17)
enlightenment_start
;;
vb)
VirtualBox -startvm "Windows XP" -fullscreen
;;
xfce4)
exec startxfce4
;;
compiz)
.config/compiz/startup.sh&
exec dbus-launch fusion-icon
;;
kde)
conky &
exec startkde
;;
*)
exec dbus-launch openbox-session
# conky &
# exec startkde
;;
esac
You should be able to have multiple copies each named differently.
]]>Can I do something similar in Arch (I cannot find /etc/X11/xinit/xinitrc.* files)?
]]>