From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 04:11:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FFF3106564A for ; Thu, 26 Mar 2009 04:11:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id E2FD38FC0C for ; Thu, 26 Mar 2009 04:11:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-37-253.dynamic.qsc.de [92.196.37.253]) by mx01.qsc.de (Postfix) with ESMTP id 97A6D3CDC7; Thu, 26 Mar 2009 05:11:34 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n2Q4BR5W003153; Thu, 26 Mar 2009 05:11:27 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 26 Mar 2009 05:11:27 +0100 From: Polytropon To: Jesse Feinman Message-Id: <20090326051127.e3e8dbaf.freebsd@edvax.de> In-Reply-To: <2e3ffd230903252017l26cbc450l6d671d43eb0c410a@mail.gmail.com> References: <2e3ffd230903252017l26cbc450l6d671d43eb0c410a@mail.gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Desktop environments X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 04:11:45 -0000 On Wed, 25 Mar 2009 23:17:51 -0400, Jesse Feinman wrote: > I am planning on using FreeBSD on a new computer i am building but i would > like to know if there is a way that i can install multiple desktop > environments and easily switch between them, preferably without restarting. That's no problem. First of all, install the desktop environments and window managers that you want. As far as I know, the "big two", KDE and Gnome, come with a means to select what DE / WM to use at login time through their kdm and gdm. Additionally, wdm offers you to choose the DE / WM at login time. This simply requires a login / logout procedure, no restarting of the computer. You can even have it more simple: Don't start X along with the system, login at the console. Modify the "exec " statement in your ~/.xinitrc and type "startx" to perform the DE / WM startup you have in this file (you can put comment signs infront of those you don't like, "enabling" the one you want to run). Or you could have several aliases / commands to start X with the DE / WM you want, each with a specific ~/.xinitrc file to fit your needs. > The primary purpose for this is to gain complete functionality over the > system utilizing all possible tools [...] In principle it's not required to run a specific DE in order to run a program that comes with this DE. For example, you can perfectly run K3B within WindowMaker, as long as all the dependencies of K3B are installed on your system. You can run Gmplayer without Gnome, you can run Koffice in XFCE and so forth... > [...] and also to evaluate the different > environments to determine which one works best for me. Then, if you won't change the DE / WM every five minutes, you can go with the ~/.xinitrc approach. Short example: #!/bin/sh [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc xsetroot -solid rgb:3b/4c/7a xset b 100 1000 15 & xset r rate 250 30 & xset s off & xset -dpms & #exec gnome-ession #exec fvwm #exec startkde #exec xfwm exec wmaker This will start WindowMaker. > Lastly, i am wondering how Compiz-fusion would interact in this case because > to my knowledge Compiz is essentially an add on to the KDE and Gnome > environments and i am wondering as to how it would function if i were to > switch desktops constantly. It would be no problem, as far as I know. I'm not very familiar with Compiz because I'm already tired of eye-candy. :-) You can even use Compiz with XFCE, or use its own compositing functionalities. As far as I understood, Compiz is an addition to the respective DE / WM, and while the DE / WM will run happily without Compiz, those that don't utilize it won't have problems. If Compiz needs specific settings in ~/.xinitrc, you can put some kind of conditional into this file, loading Compiz only with the DE / WM you want. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...