I normally use ctrl+alt+backspace
as a keybind in vscode. Something is enabling this stupid keybind to run DontZap or whatever, which is something that restarts xserver and closes all of my open apps (except alacrity and the default file browser, for some reason).
I use nixpkgs 24.11 and home-manager 24.11 with a flake.nix
for version locking. Here’s a snippet from my /etc/nixos/configuration.nix
file.
services.xserver = {
enable = false;
enableCtrlAltBackspace = false;
};
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.displayManager.gdm.wayland = true;
services.xserver.desktopManager.gnome.enable = true;
Yes, services.xserver.enable = false
. This is one of my latest attempts to disable this piece of detritus keybind. To be honest, I don’t fully understand the relationship between xserver and gnome since I’ve enabled Wayland instead of Xorg. In any case, all I care about is stopping this keybind from costing me time and energy every time I forget about it and lose much of my recent work.
I’ve also running gsettings set org.gnome.desktop.input-sources xkb-options "[]"
which works until the next reboot, in which case it reverts back to the value ['terminate:ctrl_alt_bksp']
.
Sidenote: looking upservices.xserver.enableCtrlAltBackspace
in man configuration.nix
says it’s disabled by default so I don’t know what that’s about.
Thanks in advance. Please let me know if I should just include my whole config. Nothing else seemed relevant.