Jump to content

Cinnamon: Difference between revisions

From Official NixOS Wiki
Phobos (talk | contribs)
Initial page for cinnamon
 
Added Troubleshooting header and the first issue about how to fix scrolling with touchpad on X11
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
== Installation ==
== Installation ==
Add to your configuration:
Add to your configuration:
{{File|3=services.xserver.desktopManager.cinnamon.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}}
{{File|3=services.xserver.desktopManager.cinnamon.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}}Although it is enabled through the [[wikipedia:X.Org_Server|xserver]] options, the experimental [[Wayland]] session is available through enabling this option.
 
=== Display Manager ===
Linux Mint Cinnamon edition comes with [[LightDM]] as the display manager, you can enable LightDM in your configuration like so:
{{File|3=services.xserver.displayManager.lightdm.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}}
 
== Configuration ==
 
=== Excluding preinstalled packages ===
{{File|3=environment.cinnamon.excludePackages = [
  pkgs.blueman
];|name=/etc/nixos/configuration.nix|lang=nix}}
 
=== Online Account Management ===
Cinnamon uses [https://search.nixos.org/packages?channel=25.11&query=gnome-online-accounts-gtk&show=gnome-online-accounts-gtk gnome-online-accounts-gtk] to manage online account connection with the rest of the desktop environment. However, merely activating the Cinnamon desktopManager service isn't enough to make this feature work. You must also activate the [https://search.nixos.org/options?channel=25.11&query=gnome+online+accounts&show=services.gnome.gnome-online-accounts.enable gnome-online-accounts] service, like so.<syntaxhighlight lang="nix">
services.gnome.gnome-online-accounts.enable = true;
</syntaxhighlight>
 
== Troubleshooting ==
 
=== Fix scrolling with a touchpad on Firefox-based browsers ===
This issue can be fixed by adding an environment variable to your session. Insert this in to your configuration.
{{File|3=environment.sessionVariables = {
  MOZ_USE_XINPUT2=1; # Fix Firefox-based browsers scroll on X11.
};|name=configuration.nix|lang=nix}}
After logging out and logging back in this issue shall be resolved.
[[Category:Desktop environment]]

Latest revision as of 19:31, 18 April 2026

Cinnamon is a Linux desktop that provides advanced innovative features and a traditional user experience.

Installation

Add to your configuration:

❄︎ /etc/nixos/configuration.nix
services.xserver.desktopManager.cinnamon.enable = true;

Although it is enabled through the xserver options, the experimental Wayland session is available through enabling this option.

Display Manager

Linux Mint Cinnamon edition comes with LightDM as the display manager, you can enable LightDM in your configuration like so:

❄︎ /etc/nixos/configuration.nix
services.xserver.displayManager.lightdm.enable = true;

Configuration

Excluding preinstalled packages

❄︎ /etc/nixos/configuration.nix
environment.cinnamon.excludePackages = [
  pkgs.blueman
];

Online Account Management

Cinnamon uses gnome-online-accounts-gtk to manage online account connection with the rest of the desktop environment. However, merely activating the Cinnamon desktopManager service isn't enough to make this feature work. You must also activate the gnome-online-accounts service, like so.

services.gnome.gnome-online-accounts.enable = true;

Troubleshooting

Fix scrolling with a touchpad on Firefox-based browsers

This issue can be fixed by adding an environment variable to your session. Insert this in to your configuration.

❄︎ configuration.nix
environment.sessionVariables = {
  MOZ_USE_XINPUT2=1; # Fix Firefox-based browsers scroll on X11.
};

After logging out and logging back in this issue shall be resolved.