Difference between revisions of "Package:Xfce4-meta/pt-br"

From Funtoo
Jump to navigation Jump to search
(Created page with "A forma mais comum para iniciar o ambiente é configurar o {{c|~/.xinitrc}} para lançar uma sessão Xfce. A maneira apropriada para lança o Xfce a partir de um terminal é u...")
(Created page with "{{console|body= $##bl## echo "exec startxfce4 --with-ck-launch" > ~/.xinitrc }} Note que {{c|--with-ck-launch}} (a partir do ConsoleKit) é requerido pelo Xfce para tarefas im...")
Line 41: Line 41:
$##bl## echo "exec startxfce4 --with-ck-launch" > ~/.xinitrc
$##bl## echo "exec startxfce4 --with-ck-launch" > ~/.xinitrc
}}
}}
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:
Note que {{c|--with-ck-launch}} (a partir do ConsoleKit) é requerido pelo Xfce para tarefas importantes tais como desligamento, suspensão, e montagem automática de mídia de armazenamento removível. Algumas aplicações não irão funcionar apropriadamente sem ele. Além disso, a configuração do tema GTK + e outras formas de temas por meio do  {{Package|Xfce4-settings}} geralmente não funcionam sem a opção de linha de comando {{c|--with-ck-launch}}. Como estamos lançando o XFCE com uma opção de linha de comando do consolekit, precisamos adicionar o ConsoleKit ao nível de execução (runlevel) {{c|default}}, executando o seguinte comando como root:


{{console|body=
{{console|body=

Revision as of 03:53, July 10, 2020

Xfce4-meta/pt-br

   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.

Other languages:
English • ‎español • ‎português do Brasil

Sobre o Xfce

Xfce é um ambiente de desktop leve para sistemas operacionais UNIX-like. Seu objetivo é ser rápido e consumir poucos recursos do sistema, enquanto ainda é visualmente atraente e amigável.

O Xfce incorpora a filosofia tradicional do UNIX de modularidade e reutilização. Ele consiste de vários componentes que fornecem a funcionalidade completa que se pode esperar de um ambiente de desktop moderno. Eles são empacotados separadamente e você pode escolher entre os pacotes disponíveis para criar o melhor ambiente de trabalho pessoal.

Outra prioridade do Xfce é a aderência à padrões, especialmente aqueles definidos em freedesktop.org. [About XFCE]

Installation

Antes de fazer um emerge do Xfce você precisa:

Cheque que você tem habilitado as USE flags necessárias para o ambiente de desktop Xfce. Configure seu perfil para "xfce" via mix-ins, como se segue:

root # epro mix-ins +xfce

Então verifique que você tem o X.Org Server configurado apropriadamente. Se o X.Org está instalado em seu sistema, agora você está pronto para instalar o Xfce. Instale o meta pacote, que reúne todos os componentes necessários para uma instalação mínima do Xfce:

root # emerge -auDN @world
root # emerge xfce4-meta

Running Xfce

Existem várias formas diferentes de iniciar o Xfce:

  • Editando o arquivo .xinitrc no diretório home do seu usuário e usando startx a partir do console.
  • Usando um gerenciador gráfico de login (isto é, SLiM, GDM e KDM).
  • Configurando seu perfil (shell profile) para iniciar automaticamente o Xfce em um login bem sucedido.

.xinitrc

A forma mais comum para iniciar o ambiente é configurar o ~/.xinitrc para lançar uma sessão Xfce. A maneira apropriada para lança o Xfce a partir de um terminal é usar o comando startxfce4 combinado com o comando ck-launch-session.

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

Note que --with-ck-launch (a partir do ConsoleKit) é requerido pelo Xfce para tarefas importantes tais como desligamento, suspensão, e montagem automática de mídia de armazenamento removível. Algumas aplicações não irão funcionar apropriadamente sem ele. Além disso, a configuração do tema GTK + e outras formas de temas por meio do No results geralmente não funcionam sem a opção de linha de comando --with-ck-launch. Como estamos lançando o XFCE com uma opção de linha de comando do consolekit, precisamos adicionar o ConsoleKit ao nível de execução (runlevel) default, executando o seguinte comando como 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: