|
|
Line 146: |
Line 146: |
|
| |
|
| </syntaxhighlight>Which tells you that the ''key'' <code>picture-options</code> located in ''schema'' <code>/org/gnome/desktop/background/</code> accepts a ''value'' of type enumeration (a single string value from a set of accepted values). | | </syntaxhighlight>Which tells you that the ''key'' <code>picture-options</code> located in ''schema'' <code>/org/gnome/desktop/background/</code> accepts a ''value'' of type enumeration (a single string value from a set of accepted values). |
|
| |
| === To run GNOME programs outside of GNOME ===
| |
|
| |
| GNOME platform-based applications are largely [https://nixos.org/nixpkgs/manual/#sec-language-gnome self-contained], but they still depend, for one reason or another, on some global configuration. The {{ic|gnome.nix}} module sets all the necessary options for you but if you are running customized set-up, you might need to replicate that yourself.
| |
|
| |
| For instance, if you see the following error:
| |
|
| |
| <syntaxhighlight lang="text">
| |
| dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
| |
| </syntaxhighlight>
| |
|
| |
| you should enable dconf module:
| |
|
| |
| <syntaxhighlight lang="nix">
| |
| {
| |
| programs.dconf.enable = true;
| |
| }
| |
| </syntaxhighlight>If you're using the default theme, GTK-3 applications may not respect the dark theme if they can't find the Adwaita. To fix it, make sure you have the <code>gnome-themes-extra</code> package installed:<syntaxhighlight lang="nix">
| |
| {
| |
| environment.systemPackages = [ pkgs.gnome-themes-extra ];
| |
| }
| |
| </syntaxhighlight>
| |
|
| |
|
| === Systray Icons === | | === Systray Icons === |