!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

You have reached the beginning of time (for this room).


SenderMessageTime
17 Jul 2024
@setunset:matrix.orgFreeVariableIs there a way to peramently disable "Key sequence to kill X server"?16:55:05
@setunset:matrix.orgFreeVariableCapture d’écran du 2024-07-17 18-53-42.png
Download Capture d’écran du 2024-07-17 18-53-42.png
16:55:05
@setunset:matrix.orgFreeVariable* Is there a way to permanently disable "Key sequence to kill X server"?16:55:17
@setunset:matrix.orgFreeVariable
In reply to@jtojnar:matrix.org
I guess you could set /org/gnome/desktop/input-sources/xkb-options to an empty array with dconf module as a workaround
This key already is set to an empty array
16:57:49
@setunset:matrix.orgFreeVariable* This key already is set to an empty array, probably as per my unticking the checkbox. The issue is that it ticks itself back from time to time when rebuilding.16:58:47
@balacij:matrix.orgbalacij
In reply to @setunset:matrix.org
This key already is set to an empty array

In your home-manager configuration, add:

  dconf.settings = {
    "org/gnome/desktop/input-sources" = {
      "xkb-options" = lib.gvariant.mkEmptyArray lib.gvariant.type.string;
    };
  };
22:00:49
@balacij:matrix.orgbalacij

Setting it in my main configuration.nix didn't work for some reason. However, home-manager's configuration works.

22:02:42
18 Jul 2024
@jtojnar:matrix.orgJan Tojnarit should work in NixOS too (the syntax will be different though). IIRC, gnome-settings-daemon takes the value from X config (in which NixOS module adds kill X server shortcut) when the config value is not present in the dconf database but there might be a bug where it also re-sets it if it exists but is merely empty07:20:12
@jtojnar:matrix.orgJan TojnarLooking at the source, it indeed does not distinguish between being unset (and thus defaulting to empty string), and being set to an empty string: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/blob/a41725fd553df8ffa14117a8371e769ed16160ee/plugins/keyboard/gsd-keyboard-manager.c#L419-42007:24:56
@jtojnar:matrix.orgJan Tojnar FreeVariable: opened https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/373, feel free to test 07:59:53
@thisisliam:one.ems.host@thisisliam:one.ems.host changed their profile picture.10:54:22
@thisisliam:one.ems.host@thisisliam:one.ems.host changed their profile picture.10:54:38

Show newer messages


Back to Room ListRoom Version: 6