disable caps-lock on gnome
This commit is contained in:
parent
b06f72ce5b
commit
1e99a598e3
|
@ -14,13 +14,4 @@
|
||||||
console.keyMap = "no";
|
console.keyMap = "no";
|
||||||
services.xserver.layout = "no";
|
services.xserver.layout = "no";
|
||||||
services.xserver.xkbVariant = "";
|
services.xserver.xkbVariant = "";
|
||||||
|
|
||||||
# no caps lock
|
|
||||||
services.xserver.xkbOptions = "ctrl:nocaps"; # TODO: doesn't work
|
|
||||||
#console.useXkbConfig = true; # applies to ttys aswell, mutex with console.keyMap
|
|
||||||
# run the following to make GNOME reload the xkb options:
|
|
||||||
/*
|
|
||||||
gsettings reset org.gnome.desktop.input-sources xkb-options
|
|
||||||
gsettings reset org.gnome.desktop.input-sources sources
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,11 @@ with lib.hm.gvariant;
|
||||||
|
|
||||||
{
|
{
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
|
"org/gnome/desktop/input-sources" = {
|
||||||
|
sources = [ (mkTuple [ "xkb" "no" ]) ];
|
||||||
|
xkb-options = [ "terminate:ctrl_alt_bksp" "caps:none" ];
|
||||||
|
};
|
||||||
|
|
||||||
"org/gnome/desktop/wm/keybindings" = {
|
"org/gnome/desktop/wm/keybindings" = {
|
||||||
close = [ "<Alt>F4" ];
|
close = [ "<Alt>F4" ];
|
||||||
maximize = [ "<Super>Up" ];
|
maximize = [ "<Super>Up" ];
|
||||||
|
|
|
@ -15,6 +15,7 @@ dump1() {
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
dump "org/gnome/desktop/input-sources"
|
||||||
dump "org/gnome/desktop/wm/keybindings"
|
dump "org/gnome/desktop/wm/keybindings"
|
||||||
dump "org/gnome/mutter/keybindings"
|
dump "org/gnome/mutter/keybindings"
|
||||||
dump "org/gnome/shell/keybindings"
|
dump "org/gnome/shell/keybindings"
|
||||||
|
|
Loading…
Reference in New Issue