/[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.23 Revision 1.37
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gnome-config.xml,v 1.23 2007/11/14 07:08:36 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gnome-config.xml,v 1.37 2012/12/09 20:04:22 swift Exp $ -->
4 4
5<guide link="/doc/en/gnome-config.xml"> 5<guide>
6<title>The GNOME Configuration HOWTO</title> 6<title>The GNOME Configuration HOWTO</title>
7 7
8<author title="Author"> 8<author title="Author">
9 <mail link="swift@gentoo.org">Sven Vermeulen</mail> 9 <mail link="swift@gentoo.org">Sven Vermeulen</mail>
10</author> 10</author>
14<author title="Editor"> 14<author title="Editor">
15 <mail link="nightmorph"/> 15 <mail link="nightmorph"/>
16</author> 16</author>
17 17
18<abstract> 18<abstract>
19A frequently used environment is GNOME. This HOWTO tries to describe 19A frequently used environment is GNOME. This HOWTO tries to describe
20all aspects of GNOME, including installation, configuration, usage, ... 20all aspects of GNOME, including installation, configuration, usage, ...
21</abstract> 21</abstract>
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/2.5 --> 24<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25<license/> 25<license/>
26 26
27<version>1.18</version> 27<version>6</version>
28<date>2007-11-13</date> 28<date>2012-12-09</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>
34<body> 34<body>
35 35
36<p> 36<p>
37The <uri link="http://www.gnome.org">GNOME</uri> project is a free software 37The <uri link="http://www.gnome.org">GNOME</uri> project is a free software
38project dedicated to the development of GNOME, a Unix/Linux desktop suite and 38project dedicated to the development of GNOME, a Unix/Linux desktop suite and
39development platform. The <uri link="http://foundation.gnome.org">GNOME 39development platform. The <uri link="http://foundation.gnome.org">GNOME
40Foundation</uri> coordinates the development and other aspects of the GNOME 40Foundation</uri> coordinates the development and other aspects of the GNOME
41Project. 41Project.
42</p> 42</p>
43 43
44</body> 44</body>
45</section> 45</section>
59<title>The Community</title> 59<title>The Community</title>
60<body> 60<body>
61 61
62<p> 62<p>
63Like with any big free software project, GNOME has an extensive user- and 63Like with any big free software project, GNOME has an extensive user- and
64development base. <uri link="http://www.gnomedesktop.org">Footnotes</uri> 64development base. <uri link="http://planet.gnome.org">GnomePlanet</uri> is
65contains GNOME Desktop news for users; <uri 65a popular blog aggregator for GNOME hackers and contributors whereas <uri
66link="http://planet.gnome.org">GnomePlanet</uri> is for hackers/contributors and
67<uri link="http://developer.gnome.org">Developer.Gnome.Org</uri> is for the 66link="http://developer.gnome.org">Developer.Gnome.Org</uri> is for the GNOME
68GNOME developers. 67developers. <uri link="http://library.gnome.org/users/">GNOME Library</uri>
68contains a huge list of GNOME resources for end users.
69</p> 69</p>
70 70
71</body> 71</body>
72</section> 72</section>
73</chapter> 73</chapter>
75<title>Installing GNOME</title> 75<title>Installing GNOME</title>
76<section> 76<section>
77<title>What do you need?</title> 77<title>What do you need?</title>
78<body> 78<body>
79 79
80<impo>
81First read and follow the instructions in the <uri
82link="/doc/en/xorg-config.xml">X Server Configuration Howto</uri> to setup your
83X environment.
84</impo>
85
80<p> 86<p>
81Before you start installing GNOME, you might want to edit your USE variables. 87Before you start installing GNOME, you might want to edit your USE variables.
82Make sure that <c>X</c>, <c>gtk</c>, and <c>gnome</c> are in your USE variable 88Make sure that <c>X</c>, <c>gtk</c>, and <c>gnome</c> are in your USE variable
83listed in <path>/etc/make.conf</path>. If you want support for <c>hald</c>, the 89listed in <path>/etc/portage/make.conf</path>. If you want support for <c>dbus</c>, a
84hardware abstraction layer daemon add <c>hal</c> to your USE flags. The same 90system message bus Gnome uses extensively, add it to your USE flags. If you
85goes for <c>dbus</c>, a system message bus Gnome uses extensively. The
86<c>avahi</c> USE flag brings DNS detection to GNOME (similiar to Rendevouz under
87Mac OS X). If you don't want KDE support (the other big desktop environment), 91don't want KDE support (the other big desktop environment), remove <c>qt4</c>
88remove <c>qt3</c>, <c>qt4</c>, <c>arts</c>, and <c>kde</c>. 92and <c>kde</c>.
89</p> 93</p>
90 94
91<pre caption="Example USE in /etc/make.conf"> 95<pre caption="Example USE in /etc/portage/make.conf">
92USE="-qt3 -qt4 -arts -kde X dbus gtk gnome hal avahi" 96USE="-qt4 -kde X dbus gtk gnome"
93</pre> 97</pre>
94 98
95<p> 99<p>
96You can add the <c>branding</c> USE flag to get a lovely Gentoo-branded 100You can add the <c>branding</c> USE flag to get a lovely Gentoo-branded
97splashscreen instead of the default Gnome splashscreen: 101splashscreen instead of the default Gnome splashscreen:
99 103
100<pre caption="Enabling Gentoo branding"> 104<pre caption="Enabling Gentoo branding">
101# <i>echo "gnome-base/gnome-session branding" &gt;&gt; /etc/portage/package.use</i> 105# <i>echo "gnome-base/gnome-session branding" &gt;&gt; /etc/portage/package.use</i>
102</pre> 106</pre>
103 107
108<note>
109If you use the <c>desktop</c> profile, these USE flags will be set for you. You
110can check your profile by running <c>eselect profile list</c> and <c>eselect
111profile set &lt;profile-name&gt;</c> as root.
112</note>
113
104<p> 114<p>
105Once done, start installing GNOME by emerging <c>gnome</c>: 115Once done, start installing GNOME by emerging <c>gnome</c>:
106</p> 116</p>
107 117
108<pre caption="Installing GNOME"> 118<pre caption="Installing GNOME">
109# <i>emerge gnome</i> 119# <i>emerge gnome</i>
110</pre> 120</pre>
111 121
112<p> 122<p>
113You can also opt for a minimal Gnome installation using <c>gnome-light</c>: 123You can also opt for a minimal Gnome installation using <c>gnome-light</c>.
124If you do so, you will have a lightweight Gnome installation without
125the additional tools that a full Gnome installation provides so you might need
126to install additional packages afterwards.
114</p> 127</p>
115 128
116<pre caption="Installing a minimal GNOME environment"> 129<pre caption="Installing a minimal GNOME environment">
117# <i>emerge gnome-light</i> 130# <i>emerge gnome-light</i>
118</pre> 131</pre>
119 132
120<p> 133<p>
121This will take a while, so you might want to start reading all those books your 134This will take a while, so you might want to start reading all those books your
122mother bought you but you never opened. Done? Great, now update your 135mother bought you but you never opened. Done? Great, now update your
123environment variables: 136environment variables:
124</p> 137</p>
125 138
126<pre caption="Updating environment variables"> 139<pre caption="Updating environment variables">
127# <i>env-update &amp;&amp; source /etc/profile</i> 140# <i>env-update &amp;&amp; source /etc/profile</i>
128</pre> 141</pre>
129 142
130<p> 143<p>
131If you paid attention to the output of your previous <c>emerge</c> command, 144Next we'll clean up the remaining services and user groups.
132you'll notice that it suggests using <c>gamin</c> to have nautilus and
133gnome-vfs monitor file changes:
134</p>
135
136<pre caption="Installing gamin, a file alteration monitor">
137# <i>emerge gamin</i>
138</pre>
139
140<impo>
141If you are switching from <c>fam</c> (the old, deprecated file monitor) to
142<c>gamin</c>, you will need to remove <c>famd</c> from all runlevels and then
143unmerge it:
144</impo>
145
146<pre caption="Optional: switching to gamin from fam">
147# <i>rc-update del famd</i>
148# <i>emerge --unmerge app-admin/fam</i>
149</pre>
150
151<p> 145</p>
152Next we'll clean up the remaining services.
153</p>
154 146
155<pre caption="Adding hald and avahi-dnsconfd to the default runlevel"> 147<pre caption="Setting up the DBUS service">
156# <i>/etc/init.d/hald start</i>
157# <i>rc-update add hald default</i>
158
159# <i>/etc/init.d/dbus start</i> 148# <i>/etc/init.d/dbus start</i>
160# <i>rc-update add dbus default</i> 149# <i>rc-update add dbus default</i>
150</pre>
161 151
162# <i>/etc/init.d/avahi-dnsconfd start</i> 152<p>
163# <i>rc-update add avahi-dnsconfd default</i> 153Check if the <e>plugdev</e> group exists. If it does, it is adviseable to make
154yourself member of that group, but this is optional (the group is not that
155common anymore).
156</p>
157
158<pre caption="Checking and adding users to plugdev">
159~# <i>getent group plugdev</i>
160plugdev:x:104:
161
162<comment># Substitute yourUserName with your user name ;-)</comment>
163~# <i>gpasswd -a yourUserName plugdev</i>
164</pre> 164</pre>
165 165
166</body> 166</body>
167</section> 167</section>
168<section> 168<section>
175<c>startx</c> command (see also 175<c>startx</c> command (see also
176<uri link="/doc/en/xorg-config.xml#using_startx">Using startx</uri> in the 176<uri link="/doc/en/xorg-config.xml#using_startx">Using startx</uri> in the
177<uri link="/doc/en/xorg-config.xml">X Server Configuration Howto</uri>): 177<uri link="/doc/en/xorg-config.xml">X Server Configuration Howto</uri>):
178</p> 178</p>
179 179
180<pre caption="Having GNOME as default desktop environment"> 180<pre caption="Setting GNOME as the default desktop environment">
181$ <i>echo "exec gnome-session" &gt; ~/.xinitrc</i> 181$ <i>echo "exec gnome-session" &gt; ~/.xinitrc</i>
182</pre>
183
184<p>
185Starting with <c>gnome-base/gnome-session-2.26.2</c>, you will need to prepend
186the XDG_MENU_PREFIX variable to get the Gnome menus if you're using the
187<path>~/.xinitrc</path> method to start your desktop. (If you're not using
188<path>~/.xinitrc</path>, it will be handled automatically for you; no additional
189configuration is needed.)
190</p>
191
192<pre caption="Prepending XDG_MENU_PREFIX to ~/.xinitrc">
193$ <i>sed -i '1i\export XDG_MENU_PREFIX=gnome-' ~/.xinitrc</i>
182</pre> 194</pre>
183 195
184<p> 196<p>
185Now start your graphical environment by running <c>startx</c>: 197Now start your graphical environment by running <c>startx</c>:
186</p> 198</p>
217Now edit <path>/etc/conf.d/xdm</path> and alter the DISPLAYMANAGER variable. 229Now edit <path>/etc/conf.d/xdm</path> and alter the DISPLAYMANAGER variable.
218</p> 230</p>
219 231
220<pre caption="Editing /etc/conf.d/xdm"> 232<pre caption="Editing /etc/conf.d/xdm">
221DISPLAYMANAGER="gdm" 233DISPLAYMANAGER="gdm"
234</pre>
235
236<p>
237If you installed Gnome using the <c>gnome-light</c> package, you will need to
238install <c>gdm</c> too (as it is not defined as part of the <c>gnome-light</c>
239package).
240</p>
241
242<pre caption="Installing the gdm application">
243# <i>emerge gdm</i>
222</pre> 244</pre>
223 245
224<p> 246<p>
225If you reboot now, the GNOME Display Manager will prompt you for your username 247If you reboot now, the GNOME Display Manager will prompt you for your username
226and password and will default to using GNOME as Desktop Environment (even though 248and password and will default to using GNOME as Desktop Environment (even though
227you will have the option of selecting a different one of course, choosing from 249you will have the option of selecting a different one of course, choosing from
228those available in <path>/usr/share/xsessions/</path>). Thus, if you use GDM, 250those available in <path>/usr/share/xsessions/</path>). Thus, if you use GDM,
229you don't need to edit <path>~/.xinitrc</path>. 251you don't need to edit <path>~/.xinitrc</path>.
230</p> 252</p>
231 253
232<p>
233To use the functionality of <c>hald</c> just start <c>gnome-volume-manager</c>
234and edit its preferences. Also, you'll need to add your user to the
235<c>plugdev</c> group.
236</p>
237
238</body> 254</body>
239</section> 255</section>
240</chapter> 256</chapter>
241</guide> 257</guide>

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.20