Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2009 18:21:36 -0400
From:      mv <mrkvrg@acm.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Desktop environments
Message-ID:  <200903261821.36616.mrkvrg@acm.org>
In-Reply-To: <2e3ffd230903252017l26cbc450l6d671d43eb0c410a@mail.gmail.com>
References:  <2e3ffd230903252017l26cbc450l6d671d43eb0c410a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Jesse,

This message is an elaboration of Polytron's comment about starting different desktop environments/window managers using ~/.xinitrc.  I like this particular approach as DE/WM can have its own customized setup which will not interfere with the other environments.  Also it is very easy to add or delete DE/WM as needed.  The default environment is the last DE/WM used.  I've succesfully used this simple hack for the last three years:

#!/bin/sh
# Name: ~/bin/stx
# Created: 2006-02-09

cd ~
while true
do
    clear
    echo -n '
        Choice of Desktops:

            G)nome
            K)DE
            T)WM

            '$error_message'

        Select above letter (or "q" to quit): '

    read choice

    case "$choice"
        in
        g|G)
           cp .xinitrc.gnome .xinitrc
           break ;;
        k|K)
           cp .xinitrc.kde .xinitrc
           break ;;
	t|T)
           cp .xinitrc.twm .xinitrc
           break ;;
	q|Q)
           exit 2 ;;
	*)
           error_message="        Invalid Selection!"
           echo "^G" ;;
    esac
done

startx
exit 0

#EoF

Hope this may help.

Cheers...

Marek

On Wed, 25 March 2009 23:17:51 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. The primary purpose for this is to gain complete
> functionality over the system utilizing all possible tools and also
> to evaluate the different environments to determine which one works
> best for me.
>
> 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.
>
> Thank you for your time,
> Jesse Feinman
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903261821.36616.mrkvrg>