Contents

Setting up Ubuntu 24.04 after installation

Instructions for configuring keyboard layout switching, setting the number of workspaces, and quick keys for switching between them. Disabling the delay when entering an incorrect password.

Unfortunately, the built-in input window for switching layouts does not allow the commonly used combinations Alt-Shift or Ctrl-Shift. To configure these layout switching combinations in Wayland, you can use the following commands:

shell

gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Alt>Shift_L']"
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Shift>Alt_L']"

Add an indicator for the layout on the keyboard using the Scroll Lock indicator.

shell

gsettings set org.gnome.desktop.input-sources xkb-options "['grp_led:scroll', 'grp:alt_shift_toggle']"

By the way, this removes the on-screen layout switching indicator. If you want to revert it back to how it was, reset this parameter:

shell

gsettings reset org.gnome.desktop.input-sources xkb-options
gsettings get org.gnome.desktop.input-sources xkb-options

Open Settings/Multitasking and switch to Fixed number of workspaces:


Open Settings/Keyboard/Shortcuts:

Next, go to Navigation/Switch to workspace 1 and assign the desired key combination:

In this dialog, you can only assign combinations for four workspaces. If you need more, you can do it via the console:

shell

gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-10 "['<Alt>0']"

In the file /etc/pam.d/common-auth, you need to add the nodelay option. This will remove the delay between incorrect passwords for both direct user login, through sudo, and via SSH connection.

text

auth    [success=1 default=ignore]      pam_unix.so nullok nodelay