Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: managing multiple window managers
- To: tlug@example.com
- Subject: Re: managing multiple window managers
- From: SL Baur <steve@example.com>
- Date: 04 Oct 2000 15:46:53 +0900
- Content-Type: text/plain; charset=US-ASCII
- In-Reply-To: "Stephen J. Turnbull"'s message of "Wed, 4 Oct 2000 13:02:29 +0900 (JST)"
- Mail-Copies-To: never
- References: <39DAA4E31AE.D289AKAMINE@example.com> <20001004124439.A12044@example.com> <14810.43989.947561.530418@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <7EAhB.A.xzB.oUt25@example.com>
- Resent-Sender: tlug-request@example.com
Stephen J Turnbull <turnbull@example.com> writes in tlug@example.com: >>>>>> "Hector" == Hector Akamine <akamine@example.com> writes: Hector> 1) Is there a way to make .xinitrc able to work with both? Hector> (for example that it recognizes the computer in which I am Hector> running startx, or if it's possible to pass any parameter Hector> to tell it which window manager I want to start). How Hector> should the format of .xinitrc would be like? > You shouldn't need a ~/.xinitrc. Yes, but some distros provide one for you by default. This is Unix so there are many ways of doing it. The best answer is a matter of taste. Something like the following code snippet should do it: case `hostname | cut -d. -f1` in host1) WMANAGER=/usr/X11R6/bin/wmaker ;; host2) WMANAGER=/usr/bin/gnome-session ;; # ... esac ... #START_WINDOWMANAGER eval exec $WMANAGER #END_WINDOWMANAGER If you are always running X manually, ie. by typing `startx' you can put parameters in your .zshenv, or whatever. If you are sometimes running X via XDM, then you will need to do it in .xinitrc. I don't recommend changing system files as you will tend to lose any changes when you upgrade the system. Another possible solution is to use a Window Manager switching program and call that instead of a Window Manager. I used to have one installed when I rolled my own distro. You should be able to find it on Freshmeat.
- References:
- managing multiple window managers
- From: Hector Akamine <akamine@example.com>
- Re: managing multiple window managers
- From: Christopher Sekiya <wileyc@example.com>
- Re: managing multiple window managers
- From: "Stephen J. Turnbull" <turnbull@example.com>
Home | Main Index | Thread Index
- Prev by Date: RE: Open Source
- Next by Date: RE: Open Source
- Prev by thread: Re: managing multiple window managers
- Next by thread: Re: managing multiple window managers
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links