Category:Desktop environment: Difference between revisions

Klinger (talk | contribs)
added additional DE to the table (should be complete now, Phosh/Kodi/Surf-Display may need additional articles)
m Added COSMIC displayManager and desktopManager names
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Linux desktop environments are a GUI for a PC, manage windows, edit settings and have default applications.
<languages/>
<translate>
<!--T:1-->
Linux desktop environments are graphical user interfaces and sets of tools for a PC. They allow you to manage windows, edit settings, and much more, as well as offering different sets of features and user experiences. For users interested in more minimal or manual control over their graphical sessions, see the [[:Category:Window managers|Window Managers]] category.


Contrary to other Linux distributions it is very easy to install and change desktop environments in NixOS. For the default settings its only needed to use a few lines of code. It will install the desktop environment with all default applications:
<!--T:2-->
Contrary to most other Linux distributions, it is trivial to install and change desktop environments in NixOS. For example, the use of a fully functional GNOME desktop environment only requires the following lines in your configuration.


<syntaxHighlight lang=nix>
<!--T:3-->
services.xserver.enable = true;
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
services.xserver.displayManager.gdm.enable = true;
 
services.xserver.desktopManager.gnome.enable = true;
  # Pre 25.11
</syntaxHighlight>
  services.xserver.enable = true;
Changing the desktopManager and selecting a suitable displayManager is required to change the desktop environment (and a reboot). Only some desktop environments require more configuration options than the default environment. Because of the way NixOS works, the system will not become bloated when experimenting with different desktop environments: The default applications of a desktop environment are only available when it is active.
  services.xserver.displayManager.gdm.enable = true;
{| class="wikitable"
  services.xserver.desktopManager.gnome.enable = true;
 
  # As of 25.11
  services.displayManager.gdm.enable = true;
  services.desktopManager.gnome.enable = true;
 
</nowiki>}}
 
<!--T:4-->
Changing the <code>desktopManager</code> and <code>displayManager</code> options should be enough to select a different desktop environment. Applying the configuration and rebooting the system should greet you to your new environment. Only some desktop environments require additional configuration options. Because of how NixOS works, the system will not become bloated when experimenting with different desktop environments by their various tools and dependencies: The default applications of a desktop environment are only here when said desktop environment is active, or when you manually install programs from another desktop environment.
 
<!--T:5-->
{| class="wikitable sortable"
|+
|+
!Desktop Environment
!Desktop Environment
Line 67: Line 83:
|-
|-
|COSMIC
|COSMIC
|
|cosmic-greeter
|
|cosmic
|see [[COSMIC]]
|see [[COSMIC]]
|-
|-
Line 82: Line 98:
|}
|}


<!--T:6-->
[[Category:Desktop]]
[[Category:Desktop]]
</translate>