!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

404 Members
A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...)92 Servers

Load older messages


SenderMessageTime
6 Jul 2023
@silasdavis:one.ems.host@silasdavis:one.ems.hostSo that would explain why my settings are missing14:14:13
@silasdavis:one.ems.host@silasdavis:one.ems.hostHowever it doesn't explain why they come back after an nixos-rebuild, let's see!14:14:28
@silasdavis:one.ems.host@silasdavis:one.ems.host
In reply to @jtojnar:matrix.org
gnome-settings-daemon is the component responsible for managing keybindings. For example, I get Failed to grab accelerator for keybinding when I switch to a home-manager config with conflicts.
❯ journalctl -b | grep .gsd-media-keys
Jul 06 15:54:14 mifla .gsd-media-keys[1457]: Failed to grab accelerator for keybinding settings:playback-repeat
Jul 06 15:54:14 mifla .gsd-media-keys[1457]: Failed to grab accelerator for keybinding settings:hibernate
Jul 06 15:54:21 mifla .gsd-media-keys[1457]: Unable to get default sink
Jul 06 15:54:21 mifla .gsd-media-keys[1457]: Unable to get default source
Jul 06 15:54:23 mifla .gsd-media-keys[2483]: Failed to grab accelerator for keybinding settings:hibernate
Jul 06 15:54:23 mifla .gsd-media-keys[2483]: Failed to grab accelerator for keybinding settings:playback-repeat
Jul 06 15:54:23 mifla .gsd-media-keys[2483]: Failed to grab accelerator for keybinding settings:screensaver
Jul 06 15:54:23 mifla .gsd-media-keys[2483]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
Jul 06 15:54:34 mifla systemd[2065]: Started Application launched by gsd-media-keys.
Jul 06 15:59:33 mifla systemd[2065]: Started Application launched by gsd-media-keys.
Jul 06 15:59:43 mifla systemd[2065]: Started Application launched by gsd-media-keys.
Jul 06 16:01:45 mifla systemd[2065]: Started Application launched by gsd-media-keys.
Jul 06 16:08:36 mifla systemd[2065]: Started Application launched by gsd-media-keys.
Jul 06 16:15:02 mifla systemd[2065]: Started Application launched by gsd-media-keys.
14:16:13
@silasdavis:one.ems.host@silasdavis:one.ems.host

Okay so nixos-rebuild --switch as ever restores my keys. Finding activate script:

systemctl show home-manager-silas.service | grep Exec
❯ cat activate | grep dconf
_iNote "Activating %s" "dconfSettings"
  /nix/store/83mizl0zb58zzyby47rk7iafa1mrrrmr-dconf-cleanup \
    "$oldGenPath/state/dconf-keys.json" \
    "$newGenPath/state/dconf-keys.json"
$DRY_RUN_CMD $DCONF_DBUS_RUN_SESSION /nix/store/bll3yc6g3fc6bgxrs97idjxx27qkn9n2-dconf-0.40.0/bin/dconf load / < /nix/store/6676vj0l7kawrqkblqqicyjl3gc99im6-hm-dconf.ini

Now my settings are back:

[org/gnome/shell/keybindings]
open-application-menu=@as []
toggle-message-tray=@as ['<Super>v']
toggle-overview=@as []
14:18:20
@silasdavis:one.ems.host@silasdavis:one.ems.hostwill reboot14:18:30
@silasdavis:one.ems.host@silasdavis:one.ems.hostso now the unit has changed14:21:30
@silasdavis:one.ems.host@silasdavis:one.ems.host

After restart, broken:

❯ systemctl show home-manager-silas.service | grep ExecStart=
ExecStart={ path=/nix/store/fqhlc4pka1a9yx5dfy392abxlkibf9hv-hm-setup-env ; argv[]=/nix/store/fqhlc4pka1a9yx5dfy392abxlkibf9hv-hm-setup-env /nix/store/rqyhp24x4cha7qx70i71rq0s32sd7hs1-home-manager-generation ; ignore_errors=no ; start_time=[Thu 2023-07-06 16:18:51 CEST] ; stop_time=[Thu 2023-07-06 16:18:52 CEST] ; pid=941 ; code=exited ; status=0 }

After nixos-rebuild --switch (working):

❯ systemctl show home-manager-silas.service | grep ExecStart=
ExecStart={ path=/nix/store/dpalk76wpvnyfhnr2byxmhnpxrimbal7-hm-setup-env ; argv[]=/nix/store/dpalk76wpvnyfhnr2byxmhnpxrimbal7-hm-setup-env /nix/store/b4pclvgfkw8q6rvpir9zh28dms149br4-home-manager-generation ; ignore_errors=no ; start_time=[Thu 2023-07-06 16:22:06 CEST] ; stop_time=[Thu 2023-07-06 16:22:07 CEST] ; pid=5368 ; code=exited ; status=0 }
14:22:46
@jtojnar:matrix.orgJan Tojnar Silas Davis: sounds like home-manager bug then 14:26:19
@silasdavis:one.ems.host@silasdavis:one.ems.hostlooks like it14:26:55
@silasdavis:one.ems.host@silasdavis:one.ems.hosthm actually thinking about it this feels like exactly what I'd expect loading into a slightly earlier generation!14:34:21
@silasdavis:one.ems.host@silasdavis:one.ems.hostwhich I'm not intending to14:34:33
@dchoi:matrix.org@dchoi:matrix.org joined the room.19:55:40
@dchoi:matrix.org@dchoi:matrix.orgHello, quick question, how could I change gdm font and display config declaratively?20:00:17
@iamhayley:yatrix.orgHayley joined the room.20:18:53
@jtojnar:matrix.orgJan Tojnar Danche Choi: display config with home-manager (home.file.".config/monitors.xml" for gdm user) 20:58:36
@jtojnar:matrix.orgJan Tojnarfont perhaps with dconf home-manager module?20:59:12
7 Jul 2023
@neul:matrix.org@neul:matrix.org changed their display name from neul to neul (they/any).00:29:41
@lotte:chir.rs@lotte:chir.rs changed their profile picture.05:37:48
@technicus:matrix.orgMiles Dyson joined the room.14:05:41
@technicus:matrix.orgMiles DysonHello, I am just getting started with NixOS and have it installed on QEMU/KVM inside of an Arch build. I am wondering what I need to install and configure to copy&paste, and dynamically resize the Nix guest to match window size. Is there a guide in the tutorials or documentation about this topic?14:15:07
@technicus:matrix.orgMiles DysonAlso, is this the right channel/room for this question?14:15:47
@technicus:matrix.orgMiles Dyson changed their display name from technicus to Miles Dyson.15:27:17
@jtojnar:matrix.orgJan Tojnar Miles Dyson: https://matrix.to/#/#nix:nixos.org is probably a better place, this is mostly for GNOME and related environments-specific discussions 19:30:35
@technicus:matrix.orgMiles DysonThanks.19:31:53
9 Jul 2023
@tripleo:matrix.orgtripleo joined the room.01:44:57
11 Jul 2023
@ThorHop:matrix.org@ThorHop:matrix.org joined the room.20:49:50
12 Jul 2023
@tommy:datenkollektiv.netTommyHey there. I use GNOME and NixOS and have a small but annoying problem: there are a couple of users on my system and the GDM3 login screen only shows two of them. The most used user account isn't part of this list hence the login procedure is to select "other user" and then enter the name manually. I therefore ask myself if there is a way to define the number of users in the list of the login screen or their order? Does anybody know by chance?09:22:01
@noxie:chat.noxie.ch@noxie:chat.noxie.ch left the room.11:27:42
@ThorHop:matrix.org@ThorHop:matrix.org left the room.15:01:19
@jtojnar:matrix.orgJan Tojnar
In reply to @tommy:datenkollektiv.net
Hey there. I use GNOME and NixOS and have a small but annoying problem: there are a couple of users on my system and the GDM3 login screen only shows two of them. The most used user account isn't part of this list hence the login procedure is to select "other user" and then enter the name manually. I therefore ask myself if there is a way to define the number of users in the list of the login screen or their order? Does anybody know by chance?
are you sure those are normal users? I am able to have four users just fine
15:06:05

Show newer messages


Back to Room ListRoom Version: 6