GNOME Configuration Guide

Source: Internet
Author: User
Tags gtk

1. What is gnome.

Project

Gnome is a unix/linux desktop suite and development platform, and the GNOME project is a free software project focused on GNOME development. The GNOME Foundation is responsible for coordinating GNOME project development and other related issues.

Software

Gnome is a desktop environment and a development platform. This free software is the preferred desktop for many industry leaders. He also targets business users, home users, and developers.

Community

Like any large free software project, GNOME has a wide range of users and development groups. Footnotes provides users with news on the GNOME desktop, gnomeplanet for enthusiasts/contributors, and DEVELOPER.GNOME.ORG for GNOME developers.

2. Install Gnome

What you need.

Important: First, please install X in accordance with the X Server Configuration Guide.

Before you start installing GNOME, you may want to edit the use variable. Make sure that the use variables listed in your/etc/make.conf include X, GTK, and Gnome. If you want to support the hald--hardware Abstraction Layer daemon, add the HAL to your use tag. There is also Dbus, a widely used system message bus for GNOME. If you do not want to support KDE (another large desktop environment), remove QT4 and KDE.

Code 2.1: use example in/etc/make.conf

Use= "-qt4-kde X dbus GTK gnome Hal"

You can add the brandinguse tag to get a nice "gentoo" splash screen instead of the default GNOME splash screen:

Code 2.2: Enable the Gentoo brand

# echo "Gnome-base/gnome-session branding" >>/etc/portage/package.use

When you are done, begin installing Gnome via emerge gnome:

Code 2.3: Installing GNOME

# emerge Gnome

You can also choose to use Gnome-light to minimize the GNOME installation:

Code 2.4: Install a minimized GNOME environment

# emerge Gnome-light

This will take a little time, so you can read the books that your mother bought for you and you never turn over. Finished. Good, now update your environment variables:

Code 2.5: Update Environment variables

# env-update && Source/etc/profile

Next we finish the rest of the service.

Code 2.6: Add Hald and Dbus to the default boot level

#/etc/init.d/hald Start
# rc-update Add hald default

#/etc/init.d/dbus start
# rc-update Add dbus Default

First Impressions

Let's take a look at what we just installed. Exit the root shell and log on as a normal user. We will configure the session and then issue the STARTX command to start Gnome (refer to the use of STARTX in the X Server Configuration Guide):

Code 2.7: Set GNOME as default desktop environment

$ echo "exec gnome-session" > ~/.XINITRC

When starting with gnome-base/gnome-session-2.26.2, if you are using the ~/.xinitrc method to start the desktop, you must add the Xdg_menu_prefix variable to get the Gnome menu. (If you are not using ~/.XINITRC, you will be processed automatically; no additional configuration is required.) )

Code 2.8: Add Xdg_menu_prefix to ~/.XINITRC

$ Sed-i ' 1i\export xdg_menu_prefix=gnome-' ~/.xinitrc

Now, perform startx to start the graphics environment:

Code 2.9: Start Gnome

$ startx

If everything works, you will receive a welcome greeting from Gnome. Congratulations to you. Now let's look at how to configure GNOME to suit your needs.

3. Configure Gnome

Gnome's Graphics login manager

If you want GNOME display manager (GDM) to run automatically when you turn on (so that you can log on through the graphical interface), you must add the XDm startup script to the default run level:

Code 3.1: Add XDm to the default run level

# rc-update Add XDm Default

Now edit the/etc/conf.d/xdm and modify the Displaymanager variable.

Code 3.2: Edit/ETC/CONF.D/XDM

Displaymanager= "GDM"

If you restart now, GNOME display manager prompts you for your username and password, and will default to use GNOME as your desktop environment (although there is certainly an option for you to select another available from/usr/share/xsessions/). In this case, if you use GDM, you don't need to edit the ~/.XINITRC.

To use the Hald feature, you need to add your users to the Plugdev group. If you want to support devices that are not handled by the Nautilus File Manager, or you do not need to nautilus at all, you must make sure that Gnome-volume-manager is built with the automount use tag, and that each logon is started.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.