Cinnamon/pt-br

Cinnamon é um ambiente de trabalho contemporâneo com uma interface tradicional que usuários do Gnome 2, LXDE ou Xfce acharão de fácil uso. Ele possui ótimas características gráficas e funcionais. Fork do Gnome Shell e desenvolvido por Linux Mint, está disponível para as arquiteturas e.

Pré-requisitos
Cinnamon funciona perfeitamente com e sem systemd. Para instalar sem as dependências do systemd, use para trocar para um perfil sem Gnome, como. Para instalar com systemd, use um perfil com Gnome ativado, como. A arquitetura e versão podem ser diferentes em ambos os casos.

Para ver a lista dos perfis do sistema disponíveis:

OpenRC
Ao usar OpenRC, escolha o perfil do sistema correto:

Também é possível usar o número associado ao perfil de acordo com a lista acima:

Leia as instruções disponíveis no artigo Gentoo Sem Systemd

Systemd
Para o Cinnamon com suporte ao systemd, selecione o perfil GNOME desktop que termina com systemd:

Xorg
É claro que para o Cinnamon funcionar, Xorg precisa estar instalado e configurado. Tenha certeza de ter um servidor X configurado antes de proceder com esse artigo. Caso necessário, teste o Xorg como detalhado na seção Usando startx do guia Xorg Gentoo.

Cinnamon (e outras aplicações) são internacionalizadas, suportando diversas línguas (Linguas). Caso isso não tenha sido feito durante a instalação incial do Gentoo, adicione a língua apropriada ao valor da variável LINGUAS em :

É recomendado instalar e apenas em Xorg com versão anterior a 1.17,  pois torna a experiência do Cinnamon mais completa.


 * Com Xorg anterior a 1.17:


 * Xorg a partir de 1.17:

USE flags
Encontre mais informações sobre Pyhton targets no artigo do projeto Python PYTHON TARGETS.

Some USE flags,,   and  , are needed by Cinnamon's dependencies. If they are not set already, either allow to create or update  (or, or ) itself, or set the USE flags manually.

Emerge
Finalmente, após todos os passos acima, peça para o Portage emergir o Cinnamon:

Configuração do Sistema
Before looking at the Cinnamon theming, configure the system to properly start Cinnamon at boot or upon user request, and enable the right privilege delegation settings so that end users can interact with the system in an intuitive manner.

Serviços
As instruções seguintes mostram como lidar com o OpenRC. Com systemd, use como detalhado na página do systemd.

dbus e consolekit
O servidor Xorg e o Cinnamon precisam dos serviços e, garanta que eles serão iniciados durante o boot:

Em seguida, inicie os serviços (não é necessário reiniciar o sistema):

NetworkManager
NetworkManager is a Cinnamon dependency and is not needed if the network was configured during the initial Gentoo installation. It should not run concurrently with another network service. If NetworkManager is desired be sure to disable other network management programs or services before starting it. For example, if the system was originally configured to use Gentoo's netifrc scripts to manage the network connections, disable these network services:

Após remover outros serviços de rede, adicione o NetworkManager:

Desabilitando o applet do NetworkManager
If NetworkManager is not used, it's applet can be disabled in Cinnamon panel as explained in Arch Linux Wiki Cinnamon page. Copy to, then add the disabling command and finally change file ownership:

Sudo
For an ordinary user to reboot or shutdown the system from Cinnamon, is needed with some settings.

Primeiro, instale :

Em seguida, modifique a configuração do com o commando :

Visudo usa o editor de texto padrão para atualizar o arquivo. Troque  no texto abaixo com o nome de usuário de cada um que usará o Cinnamon:

Ou para o grupo :

Regras e ações de Polkit
For an ordinary user to perform additional highly privileged actions from Cinnamon, policy kit must be configured. Use to get a list of actions; the names should be self-explanatory:

The simplest way is to authorize all actions by only testing group membership. Put a JavaScript file with a extension in, named for example :

To only authorize some actions, the action names must be iterated. For a group user to suspend, hibernate, shutdown and restart the system, make a  file like so:

Various actions can be added: those to change color profiles, use Nemo (Cinnamon files manager) as root, mount and eject media, set screen backlight, use network manager, change wallpaper, etc. Several  blocks can be used next to each other as well, and several files can be added.

Iniciando o Cinnamon
When not using a login/display manager, make a file in the user's home directory, starting ConsoleKit, D-Bus and Cinnamon sessions:

Para iniciar Xorg e Cinnamon, execute após o login:

Com um gerenciador de display, siga as instruções de display manager.

Ícones Mint-X
Por padrão, Cinnamon vem com ícones Gnome.Ícones Mint-X estão no Github. Baixe, extraia e coloque o conjunto de ícones Mint-X em :

Em seguida, crie uma cache para os ícones:

The new icon set can be selected in Cinnamon Control Center. Mint-X icons are green, but other icon sets with different colors can be installed too, like Mint-X-Grey or Mint-X-Orange. Make sure to create a cache for these as well.

Cor do texto dos ícones da área de trabalho
An icon's text color in Cinnamon desktop is black by default, which is not always readable. The instructions to change this color depends on the GTK+ 3 version that the system is using. Get the currently used version with:


 * In GTK+ versions less than 3.13.3, this setting can only be changed system-wide. Change the text color by adding CSS rules to the file (Adwaita is the default theme coming with GTK+), after the   line:


 * The 2nd rule concerns the selected desktop icon and can be modified to get another background color or set the transparency.


 * In more recent GTK+ versions (3.13.3 onward), this must be tuned through a user-specific configuration file. Adwaita is now included in GTK+ as the theme replacing Raleigh, so rules must be set in the user's home directories. The file to edit is (create  directory if needed), and the change is now without the   line. Additionally in this example, the left Nemo side bar is gray colored:

Temas Mint-X
Cinnamon comes with a default cinnamon theme, obviously... The Mint-X themes are available for download on GitHub. Download them, unzip, and copy to if needed. They can be selected in the Cinnamon Control Center.

Playing with themes
Almost all theme settings can be changed in the file in the theme directory.

For example with the Cinnamon theme, which is not in but in, first copy the theme's directory to a user  sub-directory, named for example , which will be the new theme name:

Edit. The results of the changes can be viewed immediately by selecting another theme in Cinnamon Control Center, then reselecting the theme being changed.

Terminais

 * - Requires no dependencies.
 * - Requires some dependencies but is better featured than.
 * - Doesn't require systemd if  and   USE flags are set for this package.

Gnome popular applications
A number of popular applications are available as well, built for Gnome and working flawlessly in Cinnamon:


 * standard calculator
 * screen copy utility
 * image viewer
 * PDF reader
 * system monitor
 * archive manager
 * disk burning
 * text editor

Applications without Gnome
Also working flawlessly in Cinnamon:


 * PDF readers (light) and  (powerfull)
 * light text editor
 * mp3 and video readers (light) and  (powerfull)

Compile and  with   USE flags to get a GUI.

Solução de problemas
If problems occur, try to get access to the live error messages. These can be displayed on a separate (virtual) terminal or in a log file. If the messages cannot be found, try starting Cinnamon from the command line rather than through a display manager. Alternatively have a look at.

When the error or warning messages are not sufficient to troubleshoot Cinnamon, start it with the  parameter to get more detailed Xorg messages:

If Cinnamon cannot launch, deleting (or renaming) in the home directory is not enough: other Cinnamon or Gnome items must be deleted (or renamed) too before X restarts. These can be found in the, and  XDG directories. can be deleted (or renamed) entirely.

Recursos externos

 * polkit Reference Manual and polkit page
 * The web colors Wikipedia article
 * An extensive Gnome applications list
 * Cinnamon announcements