On my way to install Xmonad, but before I get there I need my Super key to be able to work;)
This key is used by GNOME. Any idea how I can release it in nixos?
This article mentions:
gsettings set org.gnome.mutter overlay-key ''
On my way to install Xmonad, but before I get there I need my Super key to be able to work;)
This key is used by GNOME. Any idea how I can release it in nixos?
This article mentions:
gsettings set org.gnome.mutter overlay-key ''
That should still work. Although we do not expose GSettings schemas by default, so you will need to run it in nix-shell:
nix-shell -I "nixpkgs=channel:nixos-unstable" -p glib gnome.mutter --run 'XDG_DATA_DIRS=$GSETTINGS_SCHEMAS_PATH gsettings set org.gnome.mutter overlay-key ""'
But I am not sure if XMonad works with GNOME Shell nowadays, since the latter has the role of a compositor. Maybe you will have a better luck with GNOME Flashback, which is a continuation of the GNOME 2 architecture.
ok, great, but can this be specified in the configuration file?
Thanks;)
A bit related question maybe, I’m trying to prevent grouping with Alt-Tab in GNOME and found this gsettings:
nix-shell -I "nixpkgs=channel:nixos-unstable" -p glib gnome.mutter --run 'XDG_DATA_DIRS=$GSETTINGS_SCHEMAS_PATH gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']"'
, but I guess I need to escape some characters here, cause it won’t run it. Any idea?
That is right. Bash does not support escaping inside single quotes so it would probably be easiest to replace the outer ones with double quotes and escape the now inner double quotes and the dollar sign with backslash. Or you can run nix-shell -I "nixpkgs=channel:nixos-unstable" -p glib gnome.mutter gnome.dconf-editor --run 'XDG_DATA_DIRS=$GSETTINGS_SCHEMAS_PATH dconf-editor'
and change the settings using a graphical tool.
Thanks, here’s proper escaping it;)
nix-shell -I "nixpkgs=channel:nixos-unstable" -p glib gnome.mutter --run 'XDG_DATA_DIRS=$GSETTINGS_SCHEMAS_PATH gsettings set org.gnome.desktop.wm.keybindings switch-windows "['"'"'<Alt>Tab'"'"']"'