Difference between pages "Install/pt-br/Kernel" and "Package:Xfce4-meta"

From Funtoo
< Install(Difference between pages)
Jump to navigation Jump to search
 
(Removed the table of plugins at the bottom of the page, as that information is now contained by the XFCE Panel Plugins page and the Thunar Plugins page.)
 
Line 1: Line 1:
<noinclude>
{{Ebuild
{{InstallPart|Kernel Installation}}
|Summary=Meta package for XFCE desktop
</noinclude>
|CatPkg=xfce-base/xfce4-meta
=== Kernel ===
|Maintainer=Oleg
}}
== About Xfce ==
<blockquote>
Xfce is a lightweight desktop environment for UNIX-like operating systems. It aims to be fast and low on system resources, while still being visually appealing and user friendly.
 
Xfce embodies the traditional UNIX philosophy of modularity and re-usability. It consists of a number of components that provide the full functionality one can expect of a modern desktop environment. They are packaged separately and you can pick among the available packages to create the optimal personal working environment.
 
Another priority of Xfce is adhereance to standards, specifically those defined at [http://freedesktop.org/ freedesktop.org]. [[http://www.xfce.org/about/ About XFCE]]
</blockquote>
== Installation ==
 
Before emerging Xfce you need to:
 
Check that you have enabled the USE flags necessary for a XFCE desktop environment. Set your profile to "xfce" via [[Funtoo_Linux_First_Steps#Changing_profile|mix-ins]], as follows:
{{console|body=
###i## epro mix-ins +xfce
}}
Then, verify that you have the [[Funtoo_Linux_First_Steps#X.Org|X.Org Server]] configured properly. If X.Org is installed on your system, you are now ready to install Xfce. Install the meta-package, which pulls in all of the components you need for a minimal Xfce installation:
 
{{console|body=
###i## emerge xfce4-meta
}}
== Running Xfce ==
 
There are several different ways to start Xfce:
 
* Editing the {{c|.xinitrc}} file in your user's home directory and using {{c|startx}} from a text console.
* Using a display manager (e.g. SLiM, GDM, and KDM).
* Configuring your shell profile to automatically start Xfce upon a successful login.
=== .xinitrc ===


Iniciando em meados de Maio de 2015 (mid-May 2015), o stage3 do Funtoo Linux inclui um kernel pre-built {{c|debian-sources}} para tornar a instalação mais rápida e mais facil. Para verificar se a debian-sources está instalada, digite:
The most common way to start the environment is to configure {{c|~/.xinitrc}} to launch an Xfce session. The proper way to launch Xfce from the terminal is by using {{c|startxfce4}} combined with {{c|ck-launch-session}}.


{{console|body=
{{console|body=
(chroot) # ##i##emerge -s debian-sources
$##i## echo "exec startxfce4 --with-ck-launch" > ~/.xinitrc
Searching...  
}}
[ Results for search key : ##b##debian-sources##!b## ]
Note that {{c|--with-ck-launch}} (from ConsoleKit) is required by Xfce for important tasks such as shutting down, suspending, and automatically mounting removable storage media. Some applications will not work properly without it. Also, configuring the GTK+ theme and other forms of theming through {{Package|Xfce4-settings}} do not often work without the {{c|--with-ck-launch}} command line option. Because we are launching XFCE with a consolekit command line option, we need to add ConsoleKit to the {{c|default}} runlevel, executing the following command as root:
[ Applications found : ##b##1##!b## ]


*  ##b##sys-kernel/debian-sources##!b##
{{console|body=
      ##g##Latest version available:##!g## 3.19.3
###i## rc-update add consolekit default
      ##g##Latest version installed:##!g## 3.19.3
###i## rc
      ##g##Size of files:##!g## 81,292 kB
      ##g##Homepage:##!g##      http://www.debian.org
      ##g##Description:##!g##  Debian Sources (and optional binary kernel)
      ##g##License:##!g##      GPL-2
}}
}}
Finally, to start the graphical environment, run {{c|startx}} from a login shell:


Se uma versão estiver listed sob {{c|Latest version installed}}, então a debian-sources já está pré-construída (pre-built) para você e você pode pular o resto da seção do Kernel, e prosseguir para a [[Install/pt-br/Kernel#Installing_a_Bootloader|Instalar uma seção de Bootloader]].
{{console|body=
$##i## startx
}}
After running this command, you should be greeted by your shiny new XFCE desktop. For more information about configuring XFCE and some of the default applications that come with it, consider looking at [[Package:xfce4-meta#XFCE configuration and XFCE applications|XFCE configuration and XFCE applications]].
== Display Manager ==


==== Construindo o Kernel ====
A display manager is a program that manages sessions and acts as a login screen. Here's a short list of a few of the display managers available from the Funtoo repositories:
* XDM ({{c|x11-apps/xdm}}): X.Org's standard display manager.
* LightDM ({{c|x11-misc/lightdm}}): A lightweight, but highly configurable display manager.
* SLiM ({{c|x11-misc/slim}}): Simple Login Manager -- a lightweight display manager. Not very configurable.


Se precisar construir um kernel para o Funtoo Linux, por favor siga esses passos:


{{Fancynote|1=
Any of these would make a fine choice. After you've chosen which display manager to use, install it:
Verifique o [[Pt-br/Funtoo_Linux_Kernels|Kernels do Funtoo Linux]] para obter uma lista completa de kernels que possuem suporte no Funtoo Linux. Recomendamos <code>debian-sources</code> para novos usuários.}}


{{fancyimportant|1=
{{console|body=###i## emerge <display manager of choice>}}
<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.}}
All that's left to do now is to add the name of the display manager to {{c|/etc/conf.d/xdm}}, add the {{c|xdm}} service and the {{c|dbus}} service to the {{c|default}} runlevel, and start the services:


Let's emerge our kernel:
{{file|name=/etc/conf.d/xdm|desc=|body=
DISPLAYMANAGER="<display manager name>"
}}


<console>
{{console|body=
(chroot) # ##i##emerge debian-sources
###i## rc-update add xdm default
</console>
###i## rc-update add dbus default
###i## rc
}}
==Power Group==
If you wish to be able to shutdown/reboot/suspend/hibernate using xfce4-logout-session then you will need to add yourself or the user to the power group by:


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.
{{console|body=
###i## gpasswd -a <username> power
}}
If the group does not exist then execute the following and try again:


{{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>.}}
{{console|body=
###i## groupadd power}}
== XFCE configuration and XFCE applications ==
For more information on configuring XFCE and the default applications provided by XFCE, such as {{c|xfce4-terminal}}, consider following some of the below listed links:
* [[Package:Xfce4-settings|GUI settings configuration for XFCE]]
* [[Package:Xfce4-terminal|The default terminal emulator for XFCE]]
* [[Package:Whiskermenu|An alternate menu for the XFCE panel]]
* [[XFCE Panel Plugins|A list of the various plugins available for {{c|xfce4-panel}}]]
* [[Thunar Plugins|A list of the plugins available for the Thunar file manager]]


{{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:Desktop]]
[[Category:First Steps]]
[[Category:Official Documentation]]
{{EbuildFooter}}

Revision as of 13:00, June 21, 2015

Xfce4-meta

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

About Xfce

Xfce is a lightweight desktop environment for UNIX-like operating systems. It aims to be fast and low on system resources, while still being visually appealing and user friendly.

Xfce embodies the traditional UNIX philosophy of modularity and re-usability. It consists of a number of components that provide the full functionality one can expect of a modern desktop environment. They are packaged separately and you can pick among the available packages to create the optimal personal working environment.

Another priority of Xfce is adhereance to standards, specifically those defined at freedesktop.org. [About XFCE]

Installation

Before emerging Xfce you need to:

Check that you have enabled the USE flags necessary for a XFCE desktop environment. Set your profile to "xfce" via mix-ins, as follows:

root # epro mix-ins +xfce

Then, verify that you have the X.Org Server configured properly. If X.Org is installed on your system, you are now ready to install Xfce. Install the meta-package, which pulls in all of the components you need for a minimal Xfce installation:

root # emerge xfce4-meta

Running Xfce

There are several different ways to start Xfce:

  • Editing the .xinitrc file in your user's home directory and using startx from a text console.
  • Using a display manager (e.g. SLiM, GDM, and KDM).
  • Configuring your shell profile to automatically start Xfce upon a successful login.

.xinitrc

The most common way to start the environment is to configure ~/.xinitrc to launch an Xfce session. The proper way to launch Xfce from the terminal is by using startxfce4 combined with ck-launch-session.

user $ echo "exec startxfce4 --with-ck-launch" > ~/.xinitrc

Note that --with-ck-launch (from ConsoleKit) is required by Xfce for important tasks such as shutting down, suspending, and automatically mounting removable storage media. Some applications will not work properly without it. Also, configuring the GTK+ theme and other forms of theming through No results do not often work without the --with-ck-launch command line option. Because we are launching XFCE with a consolekit command line option, we need to add ConsoleKit to the default runlevel, executing the following command as root:

root # rc-update add consolekit default
root # rc

Finally, to start the graphical environment, run startx from a login shell:

user $ startx

After running this command, you should be greeted by your shiny new XFCE desktop. For more information about configuring XFCE and some of the default applications that come with it, consider looking at XFCE configuration and XFCE applications.

Display Manager

A display manager is a program that manages sessions and acts as a login screen. Here's a short list of a few of the display managers available from the Funtoo repositories:

  • XDM (x11-apps/xdm): X.Org's standard display manager.
  • LightDM (x11-misc/lightdm): A lightweight, but highly configurable display manager.
  • SLiM (x11-misc/slim): Simple Login Manager -- a lightweight display manager. Not very configurable.


Any of these would make a fine choice. After you've chosen which display manager to use, install it:

root # emerge <display manager of choice>

All that's left to do now is to add the name of the display manager to /etc/conf.d/xdm, add the xdm service and the dbus service to the default runlevel, and start the services:

   /etc/conf.d/xdm
DISPLAYMANAGER="<display manager name>"
root # rc-update add xdm default
root # rc-update add dbus default
root # rc

Power Group

If you wish to be able to shutdown/reboot/suspend/hibernate using xfce4-logout-session then you will need to add yourself or the user to the power group by:

root # gpasswd -a <username> power

If the group does not exist then execute the following and try again:

root # groupadd power

XFCE configuration and XFCE applications

For more information on configuring XFCE and the default applications provided by XFCE, such as xfce4-terminal, consider following some of the below listed links: