GNOME (ไทย)

From ArchWiki
Revision as of 07:50, 18 November 2006 by Pkc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Tango-preferences-desktop-locale.pngThis article or section needs to be translated.Tango-preferences-desktop-locale.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:GNOME (ไทย)#)
Template:I18n links start

Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n links end

อะไรคือ GNOME?

The GNOME project provides two things: The GNOME desktop environment, an intuitive and attractive desktop for end-users, and the GNOME development platform, an extensive framework for building applications that integrate into the rest of the desktop.

How to install the GNOME Desktop

To install the base GNOME Desktop, type the following at a command prompt:

pacman -S gnome

To install the rest of the GNOME Desktop (highly recommended, see Gnome Tips), type the following at a command prompt:

pacman -S gnome-extra

To start the correct processes at system startup, edit the file /etc/rc.conf and add "portmap", "fam", "dbus" and "hal" to the DAEMONS=() line.

Running the GNOME Desktop

To start GNOME from the console, run:


If you add the following to your $HOME/.xinitrc file (and make sure it is the only line that starts with "exec"):

exec gnome-session

Note: Since GNOME 2.14 gnome needs dbus support, in that case replace the exec line above with:

exec dbus-launch --exit-with-session /opt/gnome/bin/gnome-session

GNOME will start when you enter the following command.


GDM (GNOME Display Manager)

If you want a graphical login, you will need to install GDM (which is also part of gnome-extra). To do so, type the following at a command prompt:

pacman -S gdm

To make the graphical login the default method of logging into the system, add gdm to your list of daemons in /etc/rc.conf

If you are used to using the $HOME/.xinitrc file to pass arguments to the x server when it is started, such as xmodmap or xsetroot, you should note that you can add the same commands to the $HOME/.xprofile file. My .xprofile looks like this:


# ~/.xprofile
# Executed by gdm at login

xmodmap -e "pointer = 1 2 3 6 7 4 5"  #set mouse buttons up correctly
xsetroot -solid black                 #sets the background to black

For more information about Graphical Logins (DMs), see this excellent page.

See also

External links