注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "GNOME First Steps"

From Funtoo
Jump to navigation Jump to search
(Change to epro)
(Updated the beginning of the page to include a table comparing gnome and gnome-light)
Line 1: Line 1:
=== What is GNOME? ===
<blockquote>
 
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]
</blockquote>


=== Prerequisites ===  
=== Prerequisites ===  
 
Before attempting to emerge Gnome, make sure that you have installed and tested the [[X Window System]] on your computer.
==== From a Clean Install ====
 
Ensure that the [[X Window System]] is installed.


=== Preparing to emerge ===
=== Preparing to emerge ===


To get your system ready to emerge gnome, first set your system flavor to desktop, and enable the gnome profile mix-in. To accomplish this, do the following:
After verifying that you have installed the X Window system on your computer, change your system flavor to desktop, and enable the gnome profile mix-in. To accomplish this, run the following:
{{console|recipe=setup,setup-light|desc=Set profile|body=
{{console|body=
# ##i##epro flavor desktop
###i## epro flavor desktop
# ##i##epro mix-ins +gnome
###i## epro mix-ins +gnome
}}
}}
 
By enabling the gnome mix-in, various settings, including the {{c|USE}} portage variable, will be optimized to provide you with a relatively painless Gnome install.
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 ===
 
The Funtoo Linux repositories include two ebuild "meta packages" that can be used to install Gnome. One of them, {{c|gnome-light}} installs a bare-bones gnome desktop with few "extra" applications and games that can be found in the {{c|gnome-extra}} and {{c|games-*}} portage categories, respectively. If you are interested in having a Gnome desktop with extra applications like a photo viewer, text editor, sound player, font viewer, etc, immediately after installing the Gnome packages, consider emerging the {{c|gnome}} package instead of {{c|gnome-light}}.
You are provided with two packages that will pull in this desktop environment:
{{Note|Individual Gnome applications can be installed on top of a {{c|gnome-light}} installation, allowing you to only install the applications you need and limit unnecessary bloat.}}
 
Below are two lists comparing some of the different packages installed by default with a {{c|gnome-light}} and {{c|gnome}} installation:
* ''gnome''
{{TableStart}}
 
<tr class="info"><th>{{c|gnome-light}}</th><th>{{c|gnome}}</th></tr>
{{fancynote|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.}}
<tr><td>'''Includes:'''
 
* {{c|gnome-terminal}}
* ''gnome-light''
* {{c|nautilus}} (the default Gnome file manager)
 
* {{c|gnome-shell}} (can be removed using the -gnome-shell {{c|USE}} flag at installation)
{{fancynote|As the name implies, this pulls in the base minimal you need to get a functioning GNOME Desktop Environment.}}
* {{c|gnome-control-center}}
 
</td><td> '''Includes:'''
==== GNOME 3.14 from a clean install ====
* {{c|gnome-termina}}
 
* {{c|nautilus}}
===== gnome =====
* {{c|gnome-shell}}
 
* {{c|gnome-control-center}}
To emerge ''gnome'' run the following command
* {{c|gnome-contacts}}
 
* {{c|eog}} (an image viewing application)
{{console|desc=Emerging GNOME|body=
* {{c|gnome-weather}}
# ##i## emerge gnome
* {{c|gnome-maps}}
}}
... and many other applications.
 
</td></tr>
===== gnome-light =====
<tr><td> '''Best for:'''
 
* Users who want a smaller installation that uses less disk space
To emerge ''gnome-light'' run the following command
* Users who are comfortable installing additional packages that they require when the need arises
 
</td><td>'''Best for:'''
{{console|recipe=setup-light|desc=Emerging a minimal GNOME environment (alternative)|body=
* Users who want a full-featured Gnome desktop right after installation
# ##i## emerge gnome-light
* Users who don't mind extra resources being used by additional applications installed on the system
}}
</td></tr>
<tr><td>'''How to install:'''
{{console|body=###i## emerge gnome-light}}
</td><td>'''How to install:'''
{{console|body=###i## emerge gnome}}
</td></tr>
{{TableEnd}}


==== Finalizing Setup ====
==== Finalizing Setup ====

Revision as of 20:35, July 18, 2015

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 attempting to emerge Gnome, make sure that you have installed and tested the X Window System on your computer.

Preparing to emerge

After verifying that you have installed the X Window system on your computer, change your system flavor to desktop, and enable the gnome profile mix-in. To accomplish this, run the following:

root # epro flavor desktop
root # epro mix-ins +gnome

By enabling the gnome mix-in, various settings, including the USE portage variable, will be optimized to provide you with a relatively painless Gnome install.

Emerging

The Funtoo Linux repositories include two ebuild "meta packages" that can be used to install Gnome. One of them, gnome-light installs a bare-bones gnome desktop with few "extra" applications and games that can be found in the gnome-extra and games-* portage categories, respectively. If you are interested in having a Gnome desktop with extra applications like a photo viewer, text editor, sound player, font viewer, etc, immediately after installing the Gnome packages, consider emerging the gnome package instead of gnome-light.

   Note

Individual Gnome applications can be installed on top of a gnome-light installation, allowing you to only install the applications you need and limit unnecessary bloat.

Below are two lists comparing some of the different packages installed by default with a gnome-light and gnome installation:

gnome-lightgnome
Includes:
  • gnome-terminal
  • nautilus (the default Gnome file manager)
  • gnome-shell (can be removed using the -gnome-shell USE flag at installation)
  • gnome-control-center
Includes:
  • gnome-termina
  • nautilus
  • gnome-shell
  • gnome-control-center
  • gnome-contacts
  • eog (an image viewing application)
  • gnome-weather
  • gnome-maps

... and many other applications.

Best for:
  • Users who want a smaller installation that uses less disk space
  • Users who are comfortable installing additional packages that they require when the need arises
Best for:
  • Users who want a full-featured Gnome desktop right after installation
  • Users who don't mind extra resources being used by additional applications installed on the system
How to install:
root # emerge gnome-light
How to install:
root # emerge gnome

Finalizing Setup

OpenGL

GNOME uses OpenGL by default -- so you'll want to make sure that you use eselect opengl to ensure that the proper OpenGL implementation for your video card is selected. If this is not done, GNOME won't start, so it's important to check this. Type eselect opengl list as root to list OpenGL implementations, and eselect opengl set X to set your OpenGL implementation to the proper one.

Setting up xdm (GUI log-in)
/etc/motd

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.

By default, GNOME displays the /etc/motd file for several seconds after you log in via GDM. The best way to eliminate this delay is to remove the unnecessary /etc/motd -- it contains information related to when your stage3 was built:

root # rm /etc/motd

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:

   Note

Funtoo's /etc/init.d/xdm initscript has been modified to start the requisite services dbus, openrc-settingsd and consolekit prior to starting gdm.

root #  rc-update add xdm default

Console: Enable the GNOME display manager

Then, if you want to start it now do:

root # rc

When your system restarts, it will start GDM by default.

Setting up xinitrc (text log-in)

Adding the following to your ~/.xinitrc file is sufficient:

# Fix Missing Applications in Gnome
export XDG_MENU_PREFIX=gnome-

# Properly Launch the Desired X Session
exec ck-launch-session gnome-session

Additionaly, if you need support for different input sources, there is no longer a need to configure IBus or SCIM in your .xinitrc file as GNOME uses IBus natively. Simply configure it in the Control Center under Region & Language.

Upgrading from GNOME 3.12

To update either gnome or gnome-light run the following command:

root #  emerge -vauDN world

Subsystems

Bluetooth

For bluetooth support, ensure that:

  1. Bluetooth support is enabled in your kernel (using modules is fine).
  2. Your bluetooth hardware is turned on.
  3. Add the bluetooth startup script to the default runlevel, and start it.

This can be done as follows:

root # rc-update add bluetooth default
root # rc

Once this is done, you should now be able to navigate to Settings -> Bluetooth and turn bluetooth on. The icon next to devices should now animate and you should be able to discover and add devices such as keyboards.

   Note

Additional kernel drivers may need to be enabled for certain input devices. For example, for the bluetooth Apple Magic Trackpad, the following option must be enabled in your kernel:

Under Device Drivers-->HID support-->HID bus support-->Special HID drivers:

<M> Apple Magic Mouse/Trackpad multi-touch support

Printing

To enable printing support, add cupsd to the default runlevel:

root # rc-update add cupsd default
root # rc

You should now be able to navigate to Settings -> Printers and add printers to your system, and print.

Scanning

To enable scanning support, add your user account to the lp group. This will allow your user to access the USB scanner.

Then, emerge xsane, and run it. It should be able to access your scanner.

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
   Note

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

games

Gnome has several games that can be added on to your install. By default most games are not included in gnome's emerge.

Users wishing to play games need to be added to the games group:

root # gpasswd -a $USER games

game list:

gnome-sudoku
gnome-mastermind
gnome-nibbles
gnome-robots
gnome-chess
gnome-hearts
gnome-mahjongg
gnome-mines
gnome-klotski
gnome-tetravex

game system emulators:

gnomeboyadvance
gnome-mud

Significant Known Issues (Workarounds Available)

FL-1678: Bluetooth interface gives wrong pairing key

FL-1687: Wallpaper corruption when resuming from suspend