Introduction:
The Gnome2 is a complete, free and easy-to-use desktop environment and a powerful application framework. Gnome2 is the successor for the current version Gnome 1.4 and build upon the GTK2 library and therefore supports anti-aliased fonts and other nifty features. Installing Gnome2 doesn not interfere with a previous install of Gnome 1.4.
Required
In order to install Gnome2 on your YDL system, you need to have the following tools and libraries.
Complete install of Gnome 1.4 (YDL or Ximian)Compiling the Gnome2 Desktop
GNU development tools (gcc, make, ...)
- Get the Garnome distribution tool from
www.gnome.org/~jdub/garnome/download/garnome-0.15.0.tar.gz
- Extract the package to a directory with a lot of free space (>1GB)
I will use the /usr/tmp directory
$ cd /usr/tmp/
$ tar -zxvf garnome-0.15.0.tar.gz
$ cd garnome-0.15.0 - Choose a place to install the Gnome2 desktop to, by adding
a prefix definition to the top of the configuration file
gar.conf.mk. For example:
prefix = /opt/gnome2 [ENTER]
That's it.
- Compile Gnome2. Garnome will automatically fetch the new
software from the internet and compile it on your system, if
you execute:
$ cd meta/gnome-desktop/
If you experience problems like missing libraries or headers take a look at the compilation FAQ at http://www.gnome.org/~jdub/garnome/#faq
$ make install
- Compiling can take a really long time, if possible start the process at the evening and check results at morning ;)
1a. If you are using KDM as your login manager, do the following
- Go to the KDM session directory
$ cd /etc/kde/kdm
- Adjust the Xsession and kdmrc file.
- Find the definition of "SessionTypes" in the kdmrc file
and add "gnome2".
- Open the Xsession file, find the line containing
"gnome)" and add the following shell code before this
line: gnome2)
export PATH=/opt/gnome2/bin:$PATH [ENTER]
;;
exec -l $SHELL -c "/opt/gnome2/bin/gnome2-session" [ENTER]
Adjust the path /opt/gnome2 accordingly.
- Go to the GDM session directory
$ cd /etc/X11/gdm/Sessions
- Create a Gnome2 script by copying the old Gnome script
$ cp Gnome Gnome2
- Adjust the Gnome2 script
- Replace "nome" with "nome2" throughout the complete file.
- Replace "/usr/bin/startgnome2" with the path to the
Gnome2 start script, in this example
"/opt/gnome2/bin/gnome2-session"
- Change to the GDM directory
$ cd /etc/X11/gdm
- Create an executable file called "gnome2rc" containing
the lines
export PATH=/opt/gnome2/bin:$PATH
exec /opt/gnome2/bin/gnome-session
Log into the Gnome2 Desktop and have fun. You can tune your
desktop by using themes for GTK2 and Metacity from
http://themes.freshmeat.net
This HOWTO was written by Konrad Rieck





