When I manually added these variables to /etc/environment file, accents started to work properly in Wayland session:
INPUT_METHOD=ibus GTK_IM_MODULE=ibus QT_IM_MODULE=ibus XMODIFIERS=@im=ibus -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to wayland in Ubuntu. https://bugs.launchpad.net/bugs/2040450 Title: Ubuntu 23.10 Latvian keyboard layout (apostrophe) broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/wayland/+bug/2040450/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp