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

nwg-look warns: "gsettings": executable file not found in $PATH #310902

Open
devurandom opened this issue May 11, 2024 · 2 comments
Open

nwg-look warns: "gsettings": executable file not found in $PATH #310902

devurandom opened this issue May 11, 2024 · 2 comments

Comments

@devurandom
Copy link

Describe the bug

I see a "gsettings": executable file not found in $PATH warning when running nwg-look:

❯ nwg-look
INFO[0000] /home/[REDACTED]/.config/nwg-look/config file not found, creating
INFO[0000] lang: en_US
INFO[0000] >>> Loading basic lang from '/nix/store/lk2drr76p44pz6kjza82lm3xvikhbgxn-nwg-look-0.2.6/share/nwg-look/langs/en_US.json'
WARN[0000] exec: "gsettings": executable file not found in $PATH
INFO[0000] >>> Parsing original /home/[REDACTED]/.config/gtk-3.0/settings.ini
WARN[0000] Unsupported config key: gtk-decoration-layout
WARN[0000] Unsupported config key: gtk-enable-animations
WARN[0000] Unsupported config key: gtk-modules
WARN[0000] Unsupported config key: gtk-primary-button-warps-slider
WARN[0000] Unsupported config key: gtk-sound-theme-name
WARN[0000] Unsupported config key: gtk-xft-dpi
INFO[0000] >>> Reading gsettings
WARN[0000] Couldn't read gtk-theme, leaving default Adwaita
WARN[0000] Couldn't read icon-theme, leaving default Adwaita
WARN[0000] Couldn't read font-name, leaving default Sans 10
WARN[0000] Couldn't read cursor-theme, leaving default
WARN[0000] Couldn't read cursorSize, leaving default %!s(int=24)
WARN[0000] Couldn't read toolbar-style, leaving default both-horiz
WARN[0000] Couldn't read toolbar-icons-size, leaving default large
WARN[0000] Couldn't read font-hinting, leaving default medium
WARN[0000] Couldn't read font-antialiasing, leaving default grayscale
WARN[0000] Couldn't read font-rgba-order, leaving default rgb
WARN[0000] Couldn't read textScalingFactor, leaving default %!s(float64=1)
WARN[0000] Couldn't read color-scheme, leaving default default
WARN[0000] Couldn't read event-sounds, leaving default true
WARN[0000] Couldn't read input-feedback-sounds, leaving default false

(The other warnings most likely result from KDE Plasma's GTK config.)

Steps To Reproduce

Steps to reproduce the behavior:

  1. environment.systemPackages = [ pkgs.nwg-look ]
  2. execute nwg-look

Expected behavior

nwg-look should have gsettings in its PATH / have the path hardcoded into the binary.

Notify maintainers

@max-amb (listed in https://search.nixos.org/packages?channel=unstable&show=nwg-look&from=0&size=50&sort=relevance&type=packages)

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.9, NixOS, 24.05 (Uakari), 24.05.20240509.f1010e0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos"`
 - channels([REDACTED]): `""`
 - nixpkgs: `/nix/store/asymc3nsl739p1wwr0w6xbjnqs3qb94p-source`

Add a 👍 reaction to issues you find important.

@max-amb
Copy link
Contributor

max-amb commented May 12, 2024

I will have a look! sorry for the late response.

@max-amb max-amb assigned max-amb and unassigned max-amb May 13, 2024
@max-amb
Copy link
Contributor

max-amb commented May 14, 2024

Just a quick status update I have managed to replicate the bug so now just to fix it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants