On Fri, Aug 23, 2013 at 01:39:45PM -0400, Penguin Lover Randy Westlund squawked:
> - log in
> - startx
> - login on tty2
> - edit .xinitrc (shown below)
> - startx -- :1
>
> .xinitrc goes from:
>
> > exec xmonad
> > #exec startxfce4
>
> to:
> > #exec xmonad
> > exec startxfce4
>
> Then I can switch between tty7 and tty8 at will. Usually I don't start xfce
> at all, but for the times when I do, I'd be nice to do this without editing a
> file. Can I simplify this process? Is there anyone else who uses multiple
> WMs? How do you manage them?
If you use xinit instead of startx, you can use the environmental
variable
~ $ XINITRC=".xinitrc-xmonad" xinit -- :1
should do what you want. Just keep the two different versions of
.xinitrc-xmonad and .xinitrc-xfce and use aliases if you don't want
too much typing.
W
--
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
et vice versa ~~~ I. Newton