Difference between pages "X Window System" and "GNOME First Steps"

From Funtoo
(Difference between pages)
Jump to: navigation, search
(Created page with "=== X.Org === In order to use a graphical environment it's necessary to install X.Org, which is an implementation of the X Window system. Before we start it's a good idea t...")
 
 
Line 1: Line 1:
=== X.Org ===
+
== What is GNOME? ==
 +
"GNOME 3 is an easy and elegant way to use your computer. It is designed to put you in control and bring freedom to everybody. GNOME 3 is developed by the GNOME community, a diverse, international group of contributors that is supported by an independent, non-profit foundation." [http://gnome.org GNOME]
  
In order to use a graphical environment it's necessary to install X.Org, which is an implementation of the X Window system.
+
== Prerequisites ==
  
Before we start it's a good idea to make sure that your system is configured correctly. If you've installed your kernel using the <tt>binary</tt> USE flag, chances are that your video card is already supported.
+
Before installing GNOME, ensure that the [[X Window System]] has been installed.
  
In order for Portage to know which video card(s) you want to support, you'll need to add a line to your <tt>make.conf</tt>.
+
== Preparing to emerge ==
 +
 
 +
To get your system ready to emerge gnome, it is recommended that you first set the gnome profile mix-in. To accomplish this, do the following:
 
<console>
 
<console>
# ##i##nano -w /etc/portage/make.conf
+
##r### ##b## eselect profile list
...
+
##g##Currently available mix-ins profiles: 
VIDEO_CARDS="intel"
+
  [11]  funtoo/1.0/linux-gnu/mix-ins/audio 
 +
  [12]  funtoo/1.0/linux-gnu/mix-ins/console-extras 
 +
  [13]  funtoo/1.0/linux-gnu/mix-ins/dvd 
 +
  [14]  funtoo/1.0/linux-gnu/mix-ins/gnome 
 +
  [15]  funtoo/1.0/linux-gnu/mix-ins/kde 
 +
  [16]  funtoo/1.0/linux-gnu/mix-ins/mate 
 +
  [17]  funtoo/1.0/linux-gnu/mix-ins/media 
 +
  [18]  funtoo/1.0/linux-gnu/mix-ins/print 
 +
  [19]  funtoo/1.0/linux-gnu/mix-ins/python3-only
 +
  [20]  funtoo/1.0/linux-gnu/mix-ins/rhel5-compat
 +
  [21]  funtoo/1.0/linux-gnu/mix-ins/server-db 
 +
  [22]  funtoo/1.0/linux-gnu/mix-ins/server-mail
 +
  [23]  funtoo/1.0/linux-gnu/mix-ins/server-web
 +
  [24]  funtoo/1.0/linux-gnu/mix-ins/X
 +
  [25]  funtoo/1.0/linux-gnu/mix-ins/xfce
 +
  [26]  funtoo/1.0/linux-gnu/mix-ins/vmware-guest
 +
  [27]  funtoo/1.0/linux-gnu/mix-ins/hardened
 
</console>
 
</console>
 
+
After seeing a list of available profiles, we want to add in the appropriate number for the gnome mix-in. To do this, run the following:
In the example above we're using Intel integrated graphics drivers. Examples of valid entries include <tt>radeon</tt> for AMD Radeon cards, and <tt>nouveau</tt> or <tt>nvidia</tt> for NVIDIA cards. If you haven't yet switched to the <tt>desktop</tt> profile it's a good idea to do it now.
+
 
+
Next comes the actual installation:
+
 
<console>
 
<console>
# ##i##emerge xorg-x11
+
##r### ##b##eselect profile add 14
 
</console>
 
</console>
  
Now we need to test to make sure X.Org is working properly. To test it we will install twm, a simple window manager which has traditionally served as the standard window manager for X.Org. In Funtoo Linux it is included in the core X.Org meta-package <tt>x11-apps/xinit</tt>, but is not installed by default.
+
By enabling the gnome mix-in, various USE and other settings will be optimized to provide you with a pain-free GNOME installation experience.
  
It is possible to install twm directly by merging <tt>x11-wm/twm</tt> but for the sake of this tutorial we will install the meta-package, which includes a few extra utilities which may come in handy. There are two ways to do this depending on whether you want it to be installed temporarily or permanently. If you just want it to test X.Org use the following command:
+
== Emerging ==
<console>
+
You are provided with two packages that will pull in this desktop environment:  
# ##i##USE="-minimal" emerge -1 xinit
+
* ''gnome'' -- This is the "whole shabang" - pulls in a range of applications made for the gnome desktop environment including a few games, an archive manager, a system monitor, a web browser, a terminal, etc. 
</console>
+
* ''gnome-light''
  
The <tt>minimal</tt> USE flag is used in some ebuilds to install the bare minimum needed to get a working system. By passing <tt>USE="-minimal"</tt> to the command line before <tt>emerge</tt>, we are telling Portage to disable the flag and install the complete package. The <tt>-1</tt> (<tt>--oneshot</tt>) following <tt>emerge</tt> tells Portage not to add the package to [[#Updating your system|<tt>world</tt>]]. This is useful when installing packages which are automatically pulled in as dependencies by other packages.
+
To emerge ''gnome-light'' run the following command
 
+
If you want the package installed permanently you will need to add a line to <tt>package.use</tt>:
+
 
<console>
 
<console>
# ##i##mkdir -p /etc/portage
+
# ##i## emerge --ask gnome-light
# ##i##echo x11-apps/xinit -minimal >> /etc/portage/package.use
+
 
</console>
 
</console>
  
Next we reinstall <tt>x11-apps/xinit</tt>:
+
To emerge ''gnome'' run the following command
 
<console>
 
<console>
# ##i##emerge -1N xinit
+
# ##i## emerge --ask gnome
 
</console>
 
</console>
  
Once that's done, we're able to finally test X.Org:
+
== Initial Startup ==
 +
 
 +
Typically, you will want to use <tt>gdm</tt>, the GNOME display manager, to log in to GNOME. This will allow you to log in graphically, rather than using the text console.
 +
 
 +
To enable gdm, edit <tt>/etc/conf.d/xdm</tt> and set <tt>DISPLAYMANAGER</tt> to <tt>gdm</tt> instead of <tt>xdm</tt>. Then, perform the following steps to add <tt>xdm</tt> to the default runlevel, and have it start automatically from now on when your system starts:
  
 
<console>
 
<console>
# ##i##startx
+
# ##i##rc-update add xdm default
 +
# ##i##rc
 
</console>
 
</console>
  
If everything is well, a simple GUI along with an analog clock and a terminal will appear.
+
[[Category:Desktop Environments]]
 
+
[[Category:First Steps]]
+

Revision as of 05:31, 22 November 2013

Contents

What is GNOME?

"GNOME 3 is an easy and elegant way to use your computer. It is designed to put you in control and bring freedom to everybody. GNOME 3 is developed by the GNOME community, a diverse, international group of contributors that is supported by an independent, non-profit foundation." GNOME

Prerequisites

Before installing GNOME, ensure that the X Window System has been installed.

Preparing to emerge

To get your system ready to emerge gnome, it is recommended that you first set the gnome profile mix-in. To accomplish this, do the following:

#  eselect profile list
Currently available mix-ins profiles:  
  [11]  funtoo/1.0/linux-gnu/mix-ins/audio  
  [12]  funtoo/1.0/linux-gnu/mix-ins/console-extras  
  [13]  funtoo/1.0/linux-gnu/mix-ins/dvd  
  [14]  funtoo/1.0/linux-gnu/mix-ins/gnome  
  [15]  funtoo/1.0/linux-gnu/mix-ins/kde  
  [16]  funtoo/1.0/linux-gnu/mix-ins/mate  
  [17]  funtoo/1.0/linux-gnu/mix-ins/media  
  [18]  funtoo/1.0/linux-gnu/mix-ins/print  
  [19]  funtoo/1.0/linux-gnu/mix-ins/python3-only 
  [20]  funtoo/1.0/linux-gnu/mix-ins/rhel5-compat 
  [21]  funtoo/1.0/linux-gnu/mix-ins/server-db  
  [22]  funtoo/1.0/linux-gnu/mix-ins/server-mail 
  [23]  funtoo/1.0/linux-gnu/mix-ins/server-web
  [24]  funtoo/1.0/linux-gnu/mix-ins/X 
  [25]  funtoo/1.0/linux-gnu/mix-ins/xfce 
  [26]  funtoo/1.0/linux-gnu/mix-ins/vmware-guest 
  [27]  funtoo/1.0/linux-gnu/mix-ins/hardened

After seeing a list of available profiles, we want to add in the appropriate number for the gnome mix-in. To do this, run the following:

# eselect profile add 14

By enabling the gnome mix-in, various USE and other settings will be optimized to provide you with a pain-free GNOME installation experience.

Emerging

You are provided with two packages that will pull in this desktop environment:

  • gnome -- This is the "whole shabang" - pulls in a range of applications made for the gnome desktop environment including a few games, an archive manager, a system monitor, a web browser, a terminal, etc.
  • gnome-light

To emerge gnome-light run the following command

#  emerge --ask gnome-light

To emerge gnome run the following command

#  emerge --ask gnome

Initial Startup

Typically, you will want to use gdm, the GNOME display manager, to log in to GNOME. This will allow you to log in graphically, rather than using the text console.

To enable gdm, edit /etc/conf.d/xdm and set DISPLAYMANAGER to gdm instead of xdm. Then, perform the following steps to add xdm to the default runlevel, and have it start automatically from now on when your system starts:

# rc-update add xdm default
# rc