Tuesday, March 01, 2011

Gnome-Shell 2.91.91 on KahelOS

I remember the last time I did install gnome-shell 2.91.90 on top of my KahelOS[1], on my Acer Aspire One laptop then.

I was impressed at the window manager though that version of gnome-shell has a lot of needed improvements at that time so to suffice my productivity then, i purposely shifted to my gnome+compiz desktop.
Months later, Allan Caeg shared to me the nearing release of gnome 3.0 hence upon reading the Gnome-shell release notes [2], this gave me an idea to try again the latest version of gnome-shell.

So last saturday, I attempted to install the new gnome-shell version to find out for myself the works - Mutter (the window manager for GNOME 3) in action.

Prior to my actual installation on my Lenovo x201 on KahelOS, i made myself familiar through lots of reading at the following sites:

http://www.gnome3.org/
http://www.gnome.org/
http://en.wikipedia.org/wiki/GNOME_Shell
http://live.gnome.org/GnomeShell
http://live.gnome.org/GnomeShell#building
http://lwn.net/Articles/344734/

And for those who wishes to leave the reading to me and trust my steps, here are the things that i did when i installed the gnome-shell desktop.

1.First, I upgraded my KahelOs using pacman -Syu (the magic command).This
command may take a while depending on the number of packages that needs upgrading.

$sudo pacman -Syu

2.Next, is to install all the dependencies that i need for smooth installation of gnome-shell.

$sudo pacman -S gettext cvs git pkgconfig autogen automake gtk-doc flex bison intltool clutter autorun gnome-common gnome

3.Then, download setup script:

$curl -O http://git.gnome.org/browse/gnome-shell/plain/tools/build/gnome-shell-build-setup.sh

3.Run the setup script provided by the Gnome team.

$chmod +x gnome-shell-build-setup.sh
$./gnome-shell-build-setup.sh

4.Add build scripts to path::

$export PATH=$PATH:/home/mmara/bin

or edit /etc/profile and add entry to the default path

# Set our default path by editing /etc/profile
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/mmara/bin/:/home/mmara/gnome-shell/install/bin/"

5) Then build gnome-shell. To kick off the build script type:

$jhbuild build

Note: JHBuild is a tool designed to ease building collections of source
packages, called "modules" [3]

6.Run gnome-shell and cross your fingers =P

$/home/mmara/gnome-shell/install/bin/gnome-shell --replace

I have encountered some concerns but here are some tips to get you through:

1.When you get this error when starting gnome-shell from the terminal,
"Gtk-Message: Failed to load module "gnomesegvhandler":
libgnomesegvhandler.so: cannot open shared object file: No such file or
directory"

From the directory stated below, just delete ibcanberra-gtk-module.so and you should be fine. In my case, i deleted it from my directory:

$sudo rm -fR /home/mmara/gnome-shell/install/lib64/gtk-3.0/modules/libcanberra-gtk-module.so

2.I also noticed that GnomeShell does NOT support Python3, then i tried using
python2.7

$sudo mv /usr/bin/python /usr/bin/python.backup
$sudo ln -s /usr/bin/python2.7 /usr/bin/python

And from the looks of it. KahelOS+Gnome Shell works! So Fast...So Good!

Also, visit us at KahelOS website. I did upload some pictures of KahelOS+Gnome-shell at our Gallery.











































Legend:
[1] http://www.kahelos.org
[2] http://mail.gnome.org/archives/gnome-announce-list/2011-February/msg00061.html
[3]http://library.gnome.org/devel/jhbuild/ and http://live.gnome.org/Jhbuild

No comments: