1 |
On Fri, Aug 23, 2013 at 01:39:45PM -0400, Penguin Lover Randy Westlund squawked: |
2 |
> - log in |
3 |
> - startx |
4 |
> - login on tty2 |
5 |
> - edit .xinitrc (shown below) |
6 |
> - startx -- :1 |
7 |
> |
8 |
> .xinitrc goes from: |
9 |
> |
10 |
> > exec xmonad |
11 |
> > #exec startxfce4 |
12 |
> |
13 |
> to: |
14 |
> > #exec xmonad |
15 |
> > exec startxfce4 |
16 |
> |
17 |
> 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? |
18 |
|
19 |
If you use xinit instead of startx, you can use the environmental |
20 |
variable |
21 |
|
22 |
~ $ XINITRC=".xinitrc-xmonad" xinit -- :1 |
23 |
|
24 |
should do what you want. Just keep the two different versions of |
25 |
.xinitrc-xmonad and .xinitrc-xfce and use aliases if you don't want |
26 |
too much typing. |
27 |
|
28 |
W |
29 |
-- |
30 |
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire |
31 |
et vice versa ~~~ I. Newton |