/[gentoo]/xml/htdocs/doc/en/gnome-config.xml
Gentoo

Diff of /xml/htdocs/doc/en/gnome-config.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2 2
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gnome-config.xml,v 1.4 2005/03/17 07:27:31 swift Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gnome-config.xml,v 1.5 2005/03/25 15:55:32 swift Exp $ -->
4 4
5<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 5<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
6 6
7<guide link="/doc/en/gnome-config.xml"> 7<guide link="/doc/en/gnome-config.xml">
8 8
22 22
23<!-- The content of this document is licensed under the CC-BY-SA license --> 23<!-- The content of this document is licensed under the CC-BY-SA license -->
24<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 24<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
25<license/> 25<license/>
26 26
27<version>1.4</version> 27<version>1.5</version>
28<date>2005-03-17</date> 28<date>2005-03-25</date>
29 29
30<chapter> 30<chapter>
31<title>What is GNOME?</title> 31<title>What is GNOME?</title>
32<section> 32<section>
33<title>The Project</title> 33<title>The Project</title>
142<body> 142<body>
143 143
144<p> 144<p>
145Let us first take a look at what we just built. Exit your root shell and log on 145Let us first take a look at what we just built. Exit your root shell and log on
146as a regular user. We will configure our session to run GNOME when we issue the 146as a regular user. We will configure our session to run GNOME when we issue the
147<c>startx</c> command: 147<c>startx</c> command (see also
148<uri link="/doc/en/xorg-config.xml#using_startx">Using startx</uri> in the
149<uri link="/doc/en/xorg-config.xml">X Server Configuration Howto</uri>):
148</p> 150</p>
149 151
150<pre caption="Having GNOME as default desktop environment"> 152<pre caption="Having GNOME as default desktop environment">
151$ <i>echo "exec gnome-session" &gt; ~/.xinitrc</i> 153$ <i>echo "exec gnome-session" &gt; ~/.xinitrc</i>
152</pre> 154</pre>
182<pre caption="Adding xdm to the default runlevel"> 184<pre caption="Adding xdm to the default runlevel">
183# <i>rc-update add xdm default</i> 185# <i>rc-update add xdm default</i>
184</pre> 186</pre>
185 187
186<p> 188<p>
187Now check the contents of the <path>/usr/share/xsessions</path>: 189Now edit <path>/etc/rc.conf</path> and alter the DISPLAYMANAGER variable.
188</p>
189
190<pre caption="Checking the contents of /usr/share/xsessions">
191# <i>ls /usr/share/xsessions</i>
192fluxbox.desktop gnome.desktop
193</pre>
194
195<p>
196As you can see, there is a session called <c>gnome</c> available. Now edit
197<path>/etc/rc.conf</path> and alter two variables: DISPLAYMANAGER (which should
198be set to <c>gdm</c>) and XSESSION (which should be set to <c>Gnome</c>):
199</p> 190</p>
200 191
201<pre caption="Editing /etc/rc.conf"> 192<pre caption="Editing /etc/rc.conf">
202DISPLAYMANAGER="gdm" 193DISPLAYMANAGER="gdm"
203XSESSION="gnome"
204</pre> 194</pre>
205 195
206<p> 196<p>
207If you reboot now, the GNOME Display Manager will prompt you for your username 197If you reboot now, the GNOME Display Manager will prompt you for your username
208and password and will default to using GNOME as Desktop Environment (even though 198and password and will default to using GNOME as Desktop Environment (even though
209you will have the option of selecting a different one of course). 199you will have the option of selecting a different one of course, choosing from
200those available in <path>/usr/share/xsessions/</path>). Thus, if you use GDM,
201you don't need to edit <path>~/.xinitrc</path>.
210</p> 202</p>
211 203
212<p> 204<p>
213To use the functionality of <c>hald</c> just start <c>gnome-volume-manager</c> 205To use the functionality of <c>hald</c> just start <c>gnome-volume-manager</c>
214and edit its preferences. 206and edit its preferences.

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20