GNOME: Difference between revisions

Normalcea (talk | contribs)
m Configuration: Fix inconsistency in snippets given
Normalcea (talk | contribs)
To run old applications: Move to troubleshooting section and modernize.
Line 185: Line 185:
}
}
</syntaxhighlight>
</syntaxhighlight>
=== To run old applications ===
Some old applications use 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 lang="text">
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 restart your desktop session to refresh the user-specific dbus session.


=== Profiling (with sysprof) ===
=== Profiling (with sysprof) ===
Line 232: Line 214:


== Troubleshoots ==
== Troubleshoots ==
=== Running GConf-based applications ===
There exist very old applications which use the deprecated GConf service to store configuration. If you are running such an application and are getting an error like:
<syntaxhighlight lang="text">
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 will need to add {{ic|gnome2.GConf}} to the list of dbus packages in your NixOS configuration:
{{File|3={
  services.dbus.packages = with pkgs; [ gnome2.GConf ];
}|name=/etc/nixos/configuration.nix|lang=nix}}
After rebuilding your configuration, restart your desktop session to have GConf take effect.


=== Automatic login ===
=== Automatic login ===