Difference between revisions of "GNOME First Steps"

From Funtoo
Jump to: navigation, search
m (Preparing to emerge)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== What is GNOME? ==
 
== 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]
 
"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]
 +
 +
== Prerequisites ==
 +
 +
Before installing GNOME, ensure that the [[X Window System]] has been installed.
 +
 +
{{fancywarning|1=
 +
Please note that Linux kernel 3.13.* has some serious incompatibility with various graphics drivers. If you like to use <tt>gentoo-sources</tt> or <tt>vanilla-sources</tt>, please use a 3.12.* kernel. This is of particular importance if you plan to run GNOME, and want to use NVIDIA (commercial or nouveau) or ATI (ati-drivers) graphics drivers.}}
  
 
== Preparing to emerge ==
 
== Preparing to emerge ==
To get your system ready to emerge gnome, it is recommended that you first set the gnome mix-in profile. To accomplish this, do the following:
+
 
 +
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>
 
##r### ##b## eselect profile list
 
##r### ##b## eselect profile list
##g##Currently available flavor profiles:
 
  [6]  funtoo/1.0/linux-gnu/flavor/minimal
 
  [7]  funtoo/1.0/linux-gnu/flavor/core
 
  [8]  funtoo/1.0/linux-gnu/flavor/desktop
 
  [9]  funtoo/1.0/linux-gnu/flavor/workstation
 
  [10]  funtoo/1.0/linux-gnu/flavor/hardened
 
 
##g##Currently available mix-ins profiles:   
 
##g##Currently available mix-ins profiles:   
 
   [11]  funtoo/1.0/linux-gnu/mix-ins/audio   
 
   [11]  funtoo/1.0/linux-gnu/mix-ins/audio   
Line 31: Line 33:
 
   [27]  funtoo/1.0/linux-gnu/mix-ins/hardened
 
   [27]  funtoo/1.0/linux-gnu/mix-ins/hardened
 
</console>
 
</console>
After seeing a list of available profiles, we want to add in the gnome profile. To do this, run the following:
+
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:
 
<console>
 
<console>
##r### ##b##eselect profile set-flavor 8
 
 
##r### ##b##eselect profile add 14
 
##r### ##b##eselect profile add 14
 
</console>
 
</console>
 +
 +
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 ==  
 
== Emerging ==  
Line 51: Line 54:
 
# ##i## emerge --ask gnome
 
# ##i## emerge --ask gnome
 
</console>
 
</console>
 +
 +
== 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>
 +
# ##i##rc-update add xdm default
 +
# ##i##rc
 +
</console>
 +
 +
== Automatically Starting Applications at Login ==
 +
 +
When using an old-fashioned <tt>.xinitrc</tt>, starting up applications when X starts is relatively easy. When using GDM, this can still be accomplished, by using the <tt>~/.xprofile</tt> file. Here's my sample <tt>.xprofile</tt> to start <tt>xflux</tt> to dim the screen at night:
 +
 +
<pre>
 +
xflux -z 87107
 +
</pre>
 +
 +
Remember to add a <tt>&</tt> at the end of any command that doesn't return to the shell prompt after running.
 +
  
 
[[Category:Desktop Environments]]
 
[[Category:Desktop Environments]]
 +
[[Category:First Steps]]
 +
[[Category:Official Documentation]]

Latest revision as of 00:20, 13 March 2014

Contents

[edit] 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

[edit] Prerequisites

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

Warning: Please note that Linux kernel 3.13.* has some serious incompatibility with various graphics drivers. If you like to use gentoo-sources or vanilla-sources, please use a 3.12.* kernel. This is of particular importance if you plan to run GNOME, and want to use NVIDIA (commercial or nouveau) or ATI (ati-drivers) graphics drivers.

[edit] 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.

[edit] 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

[edit] 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

[edit] Automatically Starting Applications at Login

When using an old-fashioned .xinitrc, starting up applications when X starts is relatively easy. When using GDM, this can still be accomplished, by using the ~/.xprofile file. Here's my sample .xprofile to start xflux to dim the screen at night:

xflux -z 87107

Remember to add a & at the end of any command that doesn't return to the shell prompt after running.