oscartheduckin’ around

July 19, 2007

enlightenment on freebsd

Filed under: Uncategorized — Tags: , , — oscartheduck @ 1:52 pm

This one was pretty easy, but a newbie wouldn’t work it out quickly.

First, make gnome2 and enlightenment, which is called e16 I think.

The instructions for making gnome2 work are as follows:

echo “exec gnome-session” >> ~/.xinitrc

This is because gnome-session doesn’t call x.org itself, but needs to be called after x has already started. XFCE4 doesn’t work this way, it’s enough to install it and type startxfce4 and it does everything, but you can’t have everything (I’m told; in fact, this makes me want to read the startxfce4 script and see what it does).

Now, the instructions for enlightenment claim that you just run their starte16 script and everything will work. Well, it doesn’t. I was wondering why this was the case, so I read the script. It tries to set the WINDOW_MANAGER environment variable to e16, which is all well and good, then immediately execute gnome-session.

That doesn’t work. Because gnome-session needs to be called after x.org has already started.

The solution is relatively painless. Open up ~/.xinitrc and make sure it reads as follows:

export WINDOW_MANAGER=e16
exec gnome-session
Boom! Enlightenment is now your window manager in gnome instead of Metacity. And it looks lovely.

Advertisements

4 Comments »

  1. I think that it’s ~/.xinitrc and not ~.xinitrc!

    Comment by Troback — July 24, 2007 @ 5:49 am

  2. It is .xinitrc file located in your home directory (e.g. /home/troback/.xinitrc).

    Comment by valdiic — July 24, 2007 @ 8:49 am

  3. Yes I know but try:

    echo “exec gnome-session” >> ~.xinitrc

    That don’t work in my world:-)

    Comment by Troback — July 24, 2007 @ 10:05 am

  4. Jeez, I can’t believe I missed that one. Give me a minute, I’ll correct it. Sorry about that, everyone for whom that didn’t work. Whoops!

    Comment by oscartheduck — July 25, 2007 @ 2:28 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: