

IDK if this will work but maybe doing exec sudo -i
does the trick.
Otherwise just enable the root account and log in as root. Should be passwd -u root
to unlock (passwd -l root
to relock), also need to set the root password using passwd root
.
It’s option
caps:escape_shifted_capslock
I think.You can look through
/usr/share/X11/xkb/rules/base.lst
for all the options.Edit: Just looked up when this was added, this is a new option from 2024:
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/6bf17ba73bd94dd02e036a8c99c4a684a83f13fb