/[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.27 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.27 2009/09/01 23:58:43 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>
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.20</version> 27<version>6</version>
28<date>2009-09-01</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>
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 91don't want KDE support (the other big desktop environment), remove <c>qt4</c>
86<c>avahi</c> USE flag brings DNS detection to GNOME (similiar to Rendezvous 92and <c>kde</c>.
87under Mac OS X). If you don't want KDE support (the other big desktop
88environment), remove <c>qt3</c>, <c>qt4</c>, <c>arts</c>, and <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>
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>
131Next we'll clean up the remaining services. 144Next we'll clean up the remaining services and user groups.
132</p> 145</p>
133 146
134<pre caption="Adding hald and avahi-dnsconfd to the default runlevel"> 147<pre caption="Setting up the DBUS service">
135# <i>/etc/init.d/hald start</i>
136# <i>rc-update add hald default</i>
137
138# <i>/etc/init.d/dbus start</i> 148# <i>/etc/init.d/dbus start</i>
139# <i>rc-update add dbus default</i> 149# <i>rc-update add dbus default</i>
150</pre>
140 151
141# <i>/etc/init.d/avahi-dnsconfd start</i> 152<p>
142# <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>
143</pre> 164</pre>
144 165
145</body> 166</body>
146</section> 167</section>
147<section> 168<section>
154<c>startx</c> command (see also 175<c>startx</c> command (see also
155<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
156<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>):
157</p> 178</p>
158 179
159<pre caption="Having GNOME as default desktop environment"> 180<pre caption="Setting GNOME as the default desktop environment">
160$ <i>echo "exec gnome-session" &gt; ~/.xinitrc</i> 181$ <i>echo "exec gnome-session" &gt; ~/.xinitrc</i>
161</pre> 182</pre>
162 183
163<p> 184<p>
164Starting with <c>gnome-base/gnome-session-2.26.2</c>, you will need to prepend 185Starting with <c>gnome-base/gnome-session-2.26.2</c>, you will need to prepend
167<path>~/.xinitrc</path>, it will be handled automatically for you; no additional 188<path>~/.xinitrc</path>, it will be handled automatically for you; no additional
168configuration is needed.) 189configuration is needed.)
169</p> 190</p>
170 191
171<pre caption="Prepending XDG_MENU_PREFIX to ~/.xinitrc"> 192<pre caption="Prepending XDG_MENU_PREFIX to ~/.xinitrc">
172$ <i>sed '1i\export XDG_MENU_PREFIX=gnome-' ~/.xinitrc</i> 193$ <i>sed -i '1i\export XDG_MENU_PREFIX=gnome-' ~/.xinitrc</i>
173</pre> 194</pre>
174 195
175<p> 196<p>
176Now start your graphical environment by running <c>startx</c>: 197Now start your graphical environment by running <c>startx</c>:
177</p> 198</p>
208Now 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.
209</p> 230</p>
210 231
211<pre caption="Editing /etc/conf.d/xdm"> 232<pre caption="Editing /etc/conf.d/xdm">
212DISPLAYMANAGER="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>
213</pre> 244</pre>
214 245
215<p> 246<p>
216If 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
217and 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
218you 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
219those 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,
220you don't need to edit <path>~/.xinitrc</path>. 251you don't need to edit <path>~/.xinitrc</path>.
221</p> 252</p>
222 253
223<p>
224To use the functionality of <c>hald</c> you need to add your user to the
225<c>plugdev</c> group. If you want support for devices not handled by the
226<c>nautilus</c> file manager, or if you're not using <c>nautilus</c> at all, you
227might want to make sure that <c>gnome-volume-manager</c> is built with the
228<c>automount</c> USE flag, and that it's started every time you login.
229</p>
230
231</body> 254</body>
232</section> 255</section>
233</chapter> 256</chapter>
234</guide> 257</guide>

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

  ViewVC Help
Powered by ViewVC 1.1.20