Difference between pages "GNOME First Steps" and "Install/pt-br/Kernel"

(Difference between pages)
(GNOME 3.14 from a clean install)
 
 
Line 1: Line 1:
=== What is GNOME? ===
+
<noinclude>
 +
{{InstallPart|Kernel Installation}}
 +
</noinclude>
 +
=== Kernel ===
  
"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]
+
Starting mid-May 2015, Funtoo Linux stage3's include a pre-built {{c|debian-sources}} kernel to make installation faster and easier. To see if debian-sources is installed, type:
  
=== Prerequisites ===
+
{{console|body=
 +
(chroot) # ##i##emerge -s debian-sources
 +
Searching...   
 +
[ Results for search key : ##b##debian-sources##!b## ]
 +
[ Applications found : ##b##1##!b## ]
  
==== From a Clean Install ====
+
*  ##b##sys-kernel/debian-sources##!b##
 
+
      ##g##Latest version available:##!g## 3.19.3
Ensure that the [[X Window System]] is installed.
+
      ##g##Latest version installed:##!g## 3.19.3
 
+
      ##g##Size of files:##!g## 81,292 kB
=== Preparing to emerge ===
+
      ##g##Homepage:##!g##      http://www.debian.org
 
+
      ##g##Description:##!g##  Debian Sources (and optional binary kernel)
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:
+
      ##g##License:##!g##      GPL-2
{{console|recipe=setup,setup-light|desc=Set profile|body=
+
# ##i##eselect profile set-flavor funtoo/1.0/linux-gnu/flavor/desktop
+
# ##i##eselect profile add funtoo/1.0/linux-gnu/mix-ins/gnome
+
 
}}
 
}}
  
By enabling the gnome mix-in, various USE and other settings will be optimized to provide you with a pain-free GNOME installation experience.
+
If a version is listed under {{c|Latest version installed}}, then debian-sources is already pre-built for you and you can skip the rest of the Kernel section, and proceed to the [[#Installing a Bootloader|Installing a Bootloader section]].
  
=== Emerging ===
+
==== Building the Kernel ====
  
You are provided with two packages that will pull in this desktop environment:
+
If you need to build a kernel for Funtoo Linux, please follow these steps:
  
* ''gnome''
+
{{Fancynote|1=
 +
See [[Funtoo Linux Kernels]] for a full list of kernels supported in Funtoo Linux. We recommend <code>debian-sources</code> for new users.}}
  
{{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.}}
+
{{fancyimportant|1=
 +
<code>debian-sources</code> with <code>binary</code> USE flag requires at least 14GB free in <code>/var/tmp</code> and takes around 1 hour to build on a Intel Core i7 Processor.}}
  
* ''gnome-light''
+
Let's emerge our kernel:
 
+
{{fancynote|As the name implies, this pulls in the base minimal you need to get a functioning GNOME Desktop Environment.}}
+
 
+
==== GNOME 3.14 from a clean install ====
+
 
+
===== gnome =====
+
 
+
To emerge ''gnome'' run the following command
+
 
+
{{console|desc=Emerging GNOME|body=
+
# ##i## emerge gnome
+
}}
+
 
+
===== gnome-light =====
+
 
+
To emerge ''gnome-light'' run the following command
+
 
+
{{console|recipe=setup-light|desc=Emerging a minimal GNOME environment (alternative)|body=
+
# ##i## emerge gnome-light
+
}}
+
 
+
==== Upgrading from GNOME 3.12 ====
+
 
+
To update either ''gnome'' or ''gnome-light'' run the following command:
+
 
+
{{console|body=
+
# ##i## emerge -vauDN world
+
}}
+
=== Subsystems ===
+
 
+
==== Bluetooth ====
+
 
+
For bluetooth support, ensure that:
+
 
+
# Bluetooth support is enabled in your kernel (using modules is fine).
+
# Your bluetooth hardware is turned on.
+
# Add the <code>bluetooth</code> startup script to the default runlevel, and start it.
+
 
+
This can be done as follows:
+
  
 
<console>
 
<console>
# ##i##rc-update add bluetooth default
+
(chroot) # ##i##emerge debian-sources
# ##i##rc
+
 
</console>
 
</console>
  
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.
+
Once <code>emerge</code> completes, you'll have a brand new kernel and initramfs installed to <code>/boot</code>, plus kernel headers installed in <code>/usr/src/linux</code>, and you'll be ready to configure the boot loader to load these to boot your Funtoo Linux system.
 
+
{{Note|1=
+
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:
+
 
+
{{kernelop|title=Device Drivers,HID support,HID bus support,Special HID drivers|desc=
+
<M> Apple Magic Mouse/Trackpad multi-touch support
+
}}}}
+
 
+
==== Printing ====
+
 
+
To enable printing support, add <code>cupsd</code> to the default runlevel:
+
 
+
<console>
+
# ##i##rc-update add cupsd default
+
# ##i##rc
+
</console>
+
 
+
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 <code>lp</code> group. This will allow your user to access the USB scanner.
+
 
+
Then, <code>emerge xsane</code>, and run it. It should be able to access your scanner.
+
 
+
=== Finishing Touches ===
+
 
+
==== X ====
+
 
+
===== Setting up xdm (GUI log-in) =====
+
 
+
Typically, you will want to use <code>gdm</code>, 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 <code>/etc/conf.d/xdm</code> and set <code>DISPLAYMANAGER</code> to <code>gdm</code> instead of <code>xdm</code>. Then, perform the following steps to add <code>xdm</code> to the default runlevel, and have it start automatically from now on when your system starts:
+
 
+
{{Note|Funtoo's <code>/etc/init.d/xdm</code> initscript has been modified to start the requisite services <code>dbus</code>, <code>openrc-settingsd</code> and <code>consolekit</code> prior to starting <code>gdm</code>.}}
+
 
+
{{console|recipe=setup|desc=Enable the GNOME display manager|body=
+
# ##i## rc-update add xdm default
+
}}
+
 
+
Then, if you want to start it now do:
+
 
+
{{console|body=
+
# ##i##rc
+
}}
+
 
+
But you should reboot to avoid having an open login terminal.
+
 
+
===== Setting up xinitrc (text log-in) =====
+
 
+
Adding the following to your <code>~/.xinitrc</code> file is sufficient:
+
 
+
<pre>
+
# Fix Missing Applications in Gnome
+
export XDG_MENU_PREFIX=gnome-
+
 
+
# Properly Launch the Desired X Session
+
exec ck-launch-session gnome-session
+
</pre>
+
 
+
Additionaly, if you need support for different input sources, there is no longer a need to configure IBus or SCIM in your <code>.xinitrc</code> file as GNOME uses IBus natively. Simply configure it in the Control Center under Region & Language.
+
 
+
=== Automatically Starting Applications at Login ===
+
 
+
When using an old-fashioned <code>.xinitrc</code>, starting up applications when X starts is relatively easy. When using GDM, this can still be accomplished, by using the <code>~/.xprofile</code> file. Here's my sample <code>.xprofile</code> to start <code>xflux</code> to dim the screen at night:
+
 
+
<pre>
+
xflux -z 87107
+
</pre>
+
 
+
{{Note|Remember to add a <code>&</code> 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:
+
{{console|body=###i## 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) ===
+
 
+
[https://bugs.funtoo.org/browse/FL-1678 FL-1678]: Bluetooth interface gives wrong pairing key
+
  
[https://bugs.funtoo.org/browse/FL-1687 FL-1687]: Wallpaper corruption when resuming from suspend
+
{{fancynote|NVIDIA card users: the <code>binary</code> USE flag installs the Nouveau drivers which cannot be loaded at the same time as the proprietary drivers, and cannot be unloaded at runtime because of KMS. You need to blacklist it under <code>/etc/modprobe.d/</code>.}}
  
[[Category:Desktop]]
+
{{fancynote|For an overview of other kernel options for Funtoo Linux, see [[Funtoo Linux Kernels]]. There may be modules that the Debian kernel doesn't include, a situation where [http://www.funtoo.org/wiki/Funtoo_Linux_Kernels#Using_Debian-Sources_with_Genkernel genkernel] would be useful. Also be sure to see [[:Category:Hardware Compatibility|hardware compatibility]] information.}}
[[Category:First Steps]]
+
[[Category:Official Documentation]]
+

Revision as of 19:06, May 28, 2015


Note

This is a template that is used as part of the Installation instructions which covers: Kernel Installation. Templates are being used to allow multiple variant install guides that use most of the same re-usable parts.


Kernel

Starting mid-May 2015, Funtoo Linux stage3's include a pre-built debian-sources kernel to make installation faster and easier. To see if debian-sources is installed, type:

(chroot) # emerge -s debian-sources
Searching...    
[ Results for search key : debian-sources ]
[ Applications found : 1 ]

*  sys-kernel/debian-sources
      Latest version available: 3.19.3
      Latest version installed: 3.19.3
      Size of files: 81,292 kB
      Homepage:      http://www.debian.org
      Description:   Debian Sources (and optional binary kernel)
      License:       GPL-2


If a version is listed under Latest version installed, then debian-sources is already pre-built for you and you can skip the rest of the Kernel section, and proceed to the Installing a Bootloader section.

Building the Kernel

If you need to build a kernel for Funtoo Linux, please follow these steps:

Note

See Funtoo Linux Kernels for a full list of kernels supported in Funtoo Linux. We recommend debian-sources for new users.

Important

debian-sources with binary USE flag requires at least 14GB free in /var/tmp and takes around 1 hour to build on a Intel Core i7 Processor.

Let's emerge our kernel:

(chroot) # emerge debian-sources

Once emerge completes, you'll have a brand new kernel and initramfs installed to /boot, plus kernel headers installed in /usr/src/linux, and you'll be ready to configure the boot loader to load these to boot your Funtoo Linux system.

Note

NVIDIA card users: the binary USE flag installs the Nouveau drivers which cannot be loaded at the same time as the proprietary drivers, and cannot be unloaded at runtime because of KMS. You need to blacklist it under /etc/modprobe.d/.

Note

For an overview of other kernel options for Funtoo Linux, see Funtoo Linux Kernels. There may be modules that the Debian kernel doesn't include, a situation where genkernel would be useful. Also be sure to see hardware compatibility information.