1.
|
How do I get GNOME 2.0 for FreeBSD?
|
|
There are two ways to install GNOME 2.0 on FreeBSD. One way is to use
packages, and the other way is to use
ports.
To install GNOME 2.0 from packages, use the command:
# pkg_add -r gnome2
This will download the latest GNOME 2.0 packages from the
FreeBSD FTP site, and proceed to install them on your system.
Note: Currently, building GNOME 2.0 from packages is
broken. GNOME 2.0 is still new, and work is being done to
improve the package installation process. You should instead
use the ports method below.
To build and install GNOME 2.0 from ports, you should first
cvsup the latest ports tree. Then:
# cd /usr/ports/x11/gnome2
# make clean
# make install clean
|
|
2. |
GNOME 2.0 is failing to build from ports. What do I do?
|
|
The majority of GNOME 2.0 compilation problems can be solved
by making sure all the necessary GNOME 2.0 components are
up-to-date. You may see compiler errors relating to pthreads
(POSIX threads), such as:
undefined reference to 'strerror_r'
To fix thread related errors, make sure you have the following
compiled into your kernel:
options P1003_1B
options _KPOSIX_PRIORITY_SCHEDULING
- And make sure if you're tracking -stable or -current, that you
+ And make sure if you are tracking -stable or -current, that you
do not have NOLIBC_R set in
/etc/make.conf. If you do, remove it, then rebuild world.
If you still have trouble, please send email to
&email;@FreeBSD.org with the output of the failed compilation.
It is also helpful to include the config.log from the port's
work directory.
Ports such as devel/pth and devel/ngpt can
also cause pthread-related problems when compiling GNOME 2.0.
If you do not need these ports installed, it is recommended
you remove them.
|
|
3. |
- I installed GNOME 2.0, but I'm missing application foo.
+ I installed GNOME 2.0, but I am missing application foo.
What gives?
|
|
Only the core components, and a few extras, are included in the
gnome2 package. Since GNOME 2.0 is so new, there
- haven't been a great deal of applications ported over to it.
+ have not been a great deal of applications ported over to it.
As more applications become available, they will be ported
over. In the meantime, you can, however, run
GNOME 1.4.1 applications under GNOME 2.0.
|
|
4. |
- What's the best way to upgrade from GNOME 1.4.1 to GNOME 2.0?
+ What is the best way to upgrade from GNOME 1.4.1 to GNOME 2.0?
+
|
|
Right now, the GNOME project is still very much in flux.
Work still must be done to the GNOME ports infrastructure in
order to get things working cleanly. However, if you have
GNOME 1.4.1, and you want to upgrade to GNOME 2.0, first
familiarize yourself with the official upgrade instructions from
the GNOME site. Next, make sure your GNOME 1.4.1 ports are
up-to-date, then remove the following GNOME 1.4.1 packages from
the system:
gnomecore
sawfish
gnomeapplets
gnomemedia
gtop
libgtop
nautilus
glade
gedit
xalf
bugbuddy
gnomegames
gnomeutils
gdm
eog
After those packages are removed, you can build GNOME 2.0 per the
instructions listed above.
|
|
5. |
How do I keep my GNOME 2.0 components and applications
up-to-date?
|
|
I find that /usr/ports/sysutils/portupgrade works really
well. For example:
# portupgrade -r pkgconfig
This will upgrade pkgconfig and every other port that depends
on it (that needs updating).
However, sometimes so much changes that it becomes
necessary to do a little housekeeping first. In that case, this
usually works:
# pkg_delete -r pkgconfig\*
# cd /usr/ports/x11/gnome2
# make clean
# make install clean
These steps will remove all the GNOME 1 and 2 components
and applications from your machine, but only reinstalls the
GNOME 2 desktop. You should be aware, that if it comes to
this, you will need to reinstall your applications after
reinstalling the desktop. Fortunately, this extreme measure
is only rarely needed.
|
|
6. |
Can I install GNOME 1.4.1 applications under GNOME 2.0 and vice
versa?
|
|
Sure! Right now, the FreeBSD GNOME team is in the process or
migrating all GNOME 1.4.1 ports to a new build infrastructure.
This new infrastructure, called GNOMENG, will allow
GNOME 2 users to install GNOME 1.4.1 ports without overwriting
their GNOME 2 desktop.
Before building a GNOME 1.4.1 port under GNOME 2, take a
look at the port's Makefile, and check that it contains:
USE_GNOMENG= yes
If it does, you can safely build this port under GNOME 2.
If the Makefile contains the following, do not build it
as it will overwrite your GNOME 2 desktop:
USE_GNOME= yes
In that case, send email to
&email;@FreeBSD.org
mention the name of the port, and we will convert it to the
new layout. Alternatively, you are free to convert the port
yourself, and submit a PR.
NOTE! You must have a current
/usr/ports/Mk directory in order to make use
of the new GNOMENG framework. If you do not have a current
Mk directory, you will still overwrite your GNOME 2 desktop
even when USE_GNOMENG is defined. To update your Mk directory,
make sure your ports supfile is set to retrieve the
ports-base tag. This is done automatically if your
supfile contains the ports-all tag.
To run GNOME 2.0 applications under GNOME 1.4.1, you will need
to make sure your GNOME 1.4.1 components are up-to-date, then
install the gnome2-devel port. To install this port
do the following:
# cd /usr/ports/devel/gnome2-devel
# make clean
# make install
After installing the gnome2-devel port, you will
be able to install non-desktop GNOME 2.0 applications
(e.g. math/gcalctool).
|
|
7. |
Where can I get more themes for GNOME 2.0?
|
|
The website
Sunshine in a Bag has been setup as a general GNOME theme
repository. They offer some gtk+-2.0, metacity, sawfish,
nautilus, and gdm themes, as well as some backgrounds.
+ A new theme site called
+ The Theme Depot has just been launched. This site contains
+ themes for GNOME 2 as well as KDE and quite a few window
+ managers.
+
+
See the instructions on the website for installing the themes.
If you feel inclined to port a few of them, you will not be
turned away ;-).
|
|
8. |
What window managers work well with GNOME 2.0?
|
|
The gnome2 meta-port installs the
sawfish and
metacity window managers by default. Both
work quite well in GNOME 2.0. A lot of people prefer metacity
since it is lighter weight. However, sawfish will be used as
the default Window manager.
- To switch between sawfish and metacity in GNOME 2, you'll need
+ To switch between sawfish and metacity in GNOME 2, you will need
to do the following:
killall sawfish; sleep 5; metacity &
To switch back, simply reverse sawfish and metacity. In
an upcoming release of gnomecontrolcenter2, there will be
a more user-friendly way of doing this.
|
|
9. |
Does GNOME 2.0 support anti-aliased fonts?
|
|
Yes! Anti-aliasing requires XFree86 4.x with
freetype2 support. To add freetype2 support to X, make
sure you have the following modules loaded in your
XF86Config file under the Modules section:
Load "freetype"
Load "type1"
Then, simply set the environment variable
GDK_USE_XFT to 1 before starting GNOME.
If you use gdm, you can add it to your ~/.gnomerc
file (make sure this file is executable!). If you use startx,
then add it to your ~/.xinitrc file.
If you have any questions, please send them to
&email;@FreeBSD.org.
|
|