You are not logged in.
On my Slackware box I can start up another window manager or desktop environment like this (for KDE for example): startx /etc/X11/xinit/xinitrc.kde -- :2 vt8.
Can I do something similar in Arch (I cannot find /etc/X11/xinit/xinitrc.* files)?
Offline
Arch Linux has a /etc/skel/.xinitrc file. You could copy it to your home folder and edit it to launch whatever environment you want.
You should be able to have multiple copies each named differently.
Offline
Or just use one ~/.xinitrc that accepts parameters.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
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
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Doing
$ 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.
Offline
@ewaller, you know that you can put that "setxkbmap" setting in your /etc/X11/xorg.conf.d/10-evdev.conf? In the keyboard catchall grouping, I just put 'Option "XKBOptions" "caps:super"' in teh end of that section, and blamo! no more pesky caps lock!
Edit: BTW, I use the "Super" key as the modifier key for i3.
Last edited by WonderWoofy (2013-05-18 05:37:07)
Offline
Modifying /etc/X11/xorg.conf.d/10-evdev.conf means one more .pacnew to deal with ;P
Offline