Skip to content

Wayland Linux

Bind Caps lock to Control

  • in Gnome:
1
gsettings set org.gnome.desktop.input-sources xkb-options "['caps:ctrl_modifier']"
  • in X:
1
setxkbmap -option caps:ctrl_modifier

Set primary display for the gnome-session Wayland compositor

Terminal window
1
gnome-monitor-config set -L HDMI-2 -M HDMI-2 -m 4096x2160@120.000 --primary -x 0 -y 0 -L DP-2 -M DP-2 -x 4096 -y 0

Sets two monitors, side by side where the HDMI-2 monitor is the primary display.