GNOME: Difference between revisions
imported>Nix m add Software/Applications subcategory |
imported>Artturin mNo edit summary |
||
Line 11: | Line 11: | ||
services.xserver.desktopManager.gnome.enable = true; | services.xserver.desktopManager.gnome.enable = true; | ||
</syntaxHighlight> | </syntaxHighlight> | ||
== Excluding some GNOME applications from the default install == | == Excluding some GNOME applications from the default install == | ||
Not all applications that come pre-installed with the GNOME desktop environment are desirable for everyone to have on their machines. There's a way to edit | Not all applications that come pre-installed with the GNOME desktop environment are desirable for everyone to have on their machines. There's a way to edit {{inline Command|configuration.nix}} to exclude these kinds of packages, for example as follows: | ||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> | ||
Line 70: | Line 54: | ||
services.udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ]; | services.udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ]; | ||
</syntaxHighlight> | </syntaxHighlight> | ||
== Running ancient applications == | |||
Long ago, in the GNOME 2 era, applications used GConf service to store configuration. This has been deprecated for many years but some applications were abandoned before they managed to upgrade to a newer dconf system. If you are running such application and getting an error like: | |||
<syntaxHighlight> | |||
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 | |||
</syntaxHighlight> | |||
you need to add {{ic|gnome2.GConf}} to the list of dbus packages in your {{ic|configuration.nix}}: | |||
<syntaxHighlight lang=nix> | |||
services.dbus.packages = with pkgs; [ gnome2.GConf ]; | |||
</syntaxHighlight> | |||
After applying the update one also has restart their desktop session to refresh the user-specific dbus session. | |||
== Also see == | == Also see == |