GNOME
From ArchWiki
| i18n |
|---|
| English |
| Czech |
| 简体中文 |
| Português do Brasil |
| ไทย |
| Nederlands |
| Italiano |
Contents |
[edit] What is 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.
[edit] How to install the GNOME Desktop
Before installing GNOME Desktop make sure you have updated pacman itself by
pacman -Syu
Followed by
pacman -Syy
This will bypass the error which is encountered while installing gnome-media package that depends on gstreamer0.10-gconf but its not there in the package list with the pacman out of the box version. An update is necessary prior to installation of GNOME.
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" and "hal" to the DAEMONS=() line.
[edit] Running the GNOME Desktop
To start GNOME from the console, run:
gnome-session
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
To make it a global setting which has effect on all users in stead of only one, in stead of $HOME/.xinitrc add the line to the file /etc/X11/xinit/xinitrc:
exec gnome-session
Note: Only needed for gnome 2.14, gnome 2.16 and up do this for you:
exec dbus-launch --exit-with-session /opt/gnome/bin/gnome-session
GNOME will start when you enter the following command.
startx
Note: I never got Gnome started with gnome-session; had to use GDM instead. (Lenni)
[edit] 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:
#!/bin/sh # # ~/.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
You can configure GDM (for changing default theme for example) in System->Administration->Login Window. Or you can use this command (as root) :
gdmsetup
For more information about Graphical Logins (DMs), see this excellent page.
[edit] Troubleshooting
[edit] Your computer crashes and gnome won't startup anymore.
solution: delete ~/.gnome2/session
[edit] Panels wouldn't work correctly
Sourced from this forum page
Solution: Clean out your gnome config with the command. THIS WILL REMOVE ALL YOUR GNOME CONFIGS.
rm -rf .gnome* .gconf*
[edit] GDM won't start
If you get this message: "The greeter application appears to be crashing. Attempting to use a different one"
One possible reason is that your /tmp folder has the wrong permissions set. Run:
chmod 1777 /tmp
As root and try again.
[edit] GNOME lags
If opening programs in GNOME takes an unusual long time. You may be able to fix this by editing /etc/hosts and adding your host name.
nano /etc/hosts
Now, you should add the host name you have defined in /etc/rc.conf or your network profile if you have one (if you don't know, you probably don't).
The /etc/hosts file usually looks like this:
# # /etc/hosts: static lookup table for host names # #<ip-address> <hostname.domain.org> <hostname> 127.0.0.1 localhost.localdomain localhost # End of file
Add your host name (in this example the host name `example_hostname' was picked) to the end of the line which starts with `127.0.0.1'. Now it looks like this:
# # /etc/hosts: static lookup table for host names # #<ip-address> <hostname.domain.org> <hostname> 127.0.0.1 localhost.localdomain localhost example_hostname # End of file
Done.
[edit] See also
- Gnome Tips
- Gnome Menu tweaking
- Adding a login manager (KDM, GDM, or XDM) to automatically boot on startup
- Build Order
- HOWTO: Make GTK1 apps look nice
[edit] External links
- The Official Website
- The Official Documentation
- GnomeHelp.org
- Themes, icons, and backgrounds:
- GTK/Gnome programs:
- Installing Gnome