Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: dconf.enable fails activation #5357

Open
2 tasks done
bobvanderlinden opened this issue Apr 30, 2024 · 2 comments
Open
2 tasks done

bug: dconf.enable fails activation #5357

bobvanderlinden opened this issue Apr 30, 2024 · 2 comments
Assignees
Labels
bug triage Issues or feature request that have not been triaged yet

Comments

@bobvanderlinden
Copy link

bobvanderlinden commented Apr 30, 2024

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

Whenever I enable dconf.enable I get the following error upon activation:

Activating dconfSettings
error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

This stems from:

/nix/store/8h2pzyd30wfz1lirc1x040ha0hf23x1g-dconf-0.40.0/bin/dconf load / < /nix/store/y8537931zqxr0956z0wvfqjp7wjf3gnb-hm-dconf.ini

Where hm-dconf.ini contains:

[org/gnome/desktop/interface]
font-name='Noto Sans 10'
gtk-theme='Adwaita-dark'
icon-theme='Adwaita'

The following does succeed: dconf load / < empty.ini with empty.ini being an empty file.

Somehow dconf cannot recognize the org/gnome/desktop/interface? Note that this also fails for other sections (I've tried org/gnome/desktop/sound as well).

For now I've disabled dconf.enable.

Maintainer CC

@rycee

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.6.28, NixOS, 24.05 (Uakari), 24.05.20240427.58a1abd`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.19.2`
 - nixpkgs: `/run/current-system/nixpkgs`
@bobvanderlinden bobvanderlinden added bug triage Issues or feature request that have not been triaged yet labels Apr 30, 2024
@bobvanderlinden
Copy link
Author

Hmm, I'm trying to find which version introduced this, but somehow all of my previous versions also run into this problem. I'm not entirely sure what dconf is doing/using and what exactly fails. This might not be a home-manager issue, but something off on my system.

@RamReso
Copy link

RamReso commented May 1, 2024

I have the same problem after setting the gtk theme in my config:

  gtk = {
    enable = true;
    iconTheme = {
      name = "Adwaita";
      package = pkgs.gnome.adwaita-icon-theme;
    };
    theme = {
      name = "Adwaita";
      package = pkgs.gnome.gnome-themes-extra;
    };
    gtk2.extraConfig = "gtk-application-prefer-dark-theme=true";
    gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
    gtk3.extraConfig = { gtk-application-prefer-dark-theme = true; };
    gtk4.extraConfig = { gtk-application-prefer-dark-theme = true; };
  };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

No branches or pull requests

5 participants