Cinnamon

Cinnamon is a traditional and modern desktop environment: traditional desktop metaphor as Gnome 2, LXDE or Xfce, with very good graphical and functional features. It is forked from Gnome Shell and developed for Linux Mint. It is provided for Gentoo as a Gnome package: gnome-extra/cinnamon for amd64 and x86 platforms. Here we refer to 2.4.6 and older 2.2.16 Cinnamon versions.

Without systemd
Cinnamon works great without systemd. For that, eselect a profile without Gnome, as this one: default/linux/amd64/13.0/desktop (platform and version can be different). To get system profiles list:

Then to set the system profile:

Set profile complete name as in example, or profile number according to profiles list.

Also, follow the Gentoo Without Systemd wiki page instructions.

With systemd
For Cinnamon with systemd, eselect either the default/linux/amd64/13.0/desktop/gnome/systemd profile for system-wide systemd, or default/linux/amd64/13.0/desktop/gnome for Gnome systemd dependencies. The platform and version can be different.

Installing
Of course, Xorg must be first installed for Cinnamon to work.

Cinnamon needs some USEflags:  and. Add them to the system's file:

You also can set them just for Cinnamon install, see below.

For Cinnamon, and other applications to be translated to a specific language, add the appropriate language to the :

Cinnamon will need a few other packages in order to work properly:, , and.

So, let's go to install!

If  and   were added to :

If not added:

Compilation duration can be very long: net-libs/webkit-gtk, one or the many Cinnamon dependencies, takes about eight hours to compile with an Intel Core 2 Duo processor, more than one hour with an Intel quad cores i7 processor with hyper-threading.

Services
Xorg server and Cinnamon need the dbus and consolekit services, add them at boot time:

Running these services before restart:

NetworkManager is not needed because network is configured during Gentoo install. As a reminder and only to replace this first install:

Sudo
For an ordinary user to reboot or shutdown, sudo is needed with some settings. First install :

Next modify sudo's configuration with the visudo command:

Visudo runs the default text editor with sudoers file, add for a named user:

Or for the  group users:

Polkit Rules and Actions
For an ordinary user to perform root only actions, put a javascript file in, for example named ( already exists).

Get the list of actions with pkaction, their names are quite self-explanatory:

To authorize an user belonging to  group to suspend, hibernate, shutdown and restart from Cinnamon:

All needed actions can be added to change color profiles, use Nemo (Cinnamon files manager) as root, mount and eject medias, set screen backlight, use network manager, change wallpaper etc. Just don't make javascript mistakes…! Several  blocks can be used.

Another simpler way is to authorize all actions by only testing  group membership:

More detailed explanations in polkit Reference Manual, particularly polkit page.

Starting Cinnamon
When not using a login/display manager, make a file in the user's home directory with this content:

Then to start Xorg and Cinnamon, once logged in:

With a display manager follow their wiki pages instructions.

Mint-X Icons
By default Cinnamon comes with gnome icons. Mint-X icons are on GitHub. Download, unzip and put the Mint-X icon set in :

Then make a cache for it:

The new icons set can be selected in Cinnamon Control Center. Mint-X icons are green, there are others colors which can be installed too, like Mint-X-Grey or Mint-X-Orange. Always first install Mint-X icon set, others icons sets rely on it.

Desktop Icons Text Color
Icon's text color in Cinnamon desktop is black by default, not always readable. This color is differently modified according to GTK+ 3 version, get it with:

GTK+ version < 3.13.3
Computer basis color. Get white text by adding CSS rules in, after @import line (Adwaita is the default theme coming with GTK+):

The 2nd rule concerns selected desktop icon and can be modified to get others background color or transparency. In alpha(#fff, 0.2), #fff is the color and 0.2</tt> the transparency level.

GTK+ version >= 3.13.3
User basis color. Adwaita is now included to GTK+ as default theme replacing Raleigh, rules must be set in users home directories:, without @import</tt> line. Aditionally in this example left Nemo side bar is grey colored.

Playing with Cinnamon Theme
Almost all Cinnamon theme settings can be changed in cinnamon.css</tt>. First copy Cinnamon theme directory to an user themes sub-directory, named for example, which will be new theme name:

The new theme can now be selected in Cinnamon Control Center. Edit, you can see your changes by selecting another theme then reselecting the theme you are changing.

Debugging
If problems launch Xorg server via ssh to get live error messages. More messages with  parameter for cinnamon-session:

Alternatively you can have a look at.

If Cinnamon can't launch, deleting in your home directory is not enough, other Cinnamon or Gnome (as dconf</tt>) items must be deleted too before X restart, in directories. can be entirely deleted.

Installing common applications
Some usual Gnome, or not Gnome applications install.

Terminal
Lxterminal requires no dependencies, gnome-terminal needs systemd, mate-terminal should install all Mate desktop environment.

Others
For example calculator, screen copy utility, pictures, PDF display, system monitor, archive manager…