Difference between revisions of "GNOME"

From NixOS Wiki
Jump to: navigation, search
m (unclosed tag missing)
(disabling wayland is unnecessary, GDM will fallback to Xorg when needed)
Line 5: Line 5:
 
=== Install Gnome ===
 
=== Install Gnome ===
  
To use Gnome with GDM on Xorg, add this to your configuration.nix:
+
To use GNOME, add this to your configuration.nix:
  
 
<syntaxHighlight>
 
<syntaxHighlight>
 
services.xserver.enable = true;
 
services.xserver.enable = true;
 
services.xserver.displayManager.gdm.enable = true;
 
services.xserver.displayManager.gdm.enable = true;
services.xserver.displayManager.gdm.wayland = false;
 
 
services.xserver.desktopManager.gnome3.enable = true;
 
services.xserver.desktopManager.gnome3.enable = true;
 
</syntaxHighlight>
 
</syntaxHighlight>

Revision as of 01:56, 18 January 2020

Gnome

GNOME (/(ɡ)noʊm/) is a desktop environment that aims to be simple and easy to use. It is designed by The GNOME Project and is composed entirely of free and open-source software. GNOME is a part of the GNU Project.


Install Gnome

To use GNOME, add this to your configuration.nix:

services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome3.enable = true;

Applications fails to start because dconf/gconf is missing

If you are getting an error like:

GLib.GException: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information

when running Gtk applications you need to add gconf to the list of dbus packages in your configuration.nix. In Gnome3 gconf was replaced by dconf. For simplicity you can just add both:

services.dbus.packages = with pkgs; [ gnome3.dconf gnome2.GConf ];

After applying the update one also has restart their desktop session to refresh the user-specific dbus session.