You are not logged in.
Pages: 1
Hello
I'm using an American/US International keyboard, but sometimes I have to write German "Umlaute". For this reason, I run
setxkbmap 'de(us)'every time I start my system (but also when I log back in after sleep etc.).
I'm trying to make this persistent, so I don't have to do it over and over again.
As per the Arch wiki, this "can be made persistent in xinitrc or xprofile." Now I tried both xinitrc and xprofile and added
setxkbmap 'de(us)'at the respective bottom as an entry, but it doesn't persist.
Any ideas what else I could try?
Thank you.
Last edited by calrissiano (2024-04-10 21:35:07)
Offline
Look a section lower and configure it with xorg config files: https://wiki.archlinux.org/title/Xorg/K … tion_files
Which environment are you running? Most of the DEs provide their own implementation which might override a setxkbmap
Offline
Tangentially related but the us/intl variant has
key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
key <AD06> { [ y, Y, udiaeresis, Udiaeresis ] };
key <AD10> { [ p, P, odiaeresis, Odiaeresis ] };and /usr/share/X11/locale/en_US.UTF-8/Compose allows you to enter them w/ the multikey (splendid re-purpose for caps lock) and the double quote, ie. caps,",A prints Ä
Offline
So I'm not sure what happened but it works now. It has to be one of the two things I tried, as I couldn't try @V1del's suggestion. I tried to
sudo nanointo one of the two files located at /etc/X11/xorg.conf.d/ when my password suddenly stopped working (not sure why, it was definitely correct. So I re-booted the machine and voila: all the Umlaute work. Strangely enough I did reboot after setting both xinitrc and xprofile before writing my initial post and it didn't work then.
Anyway thanks for the replies!
(I will mark this solved)
Offline
nb. that setxkbmap (unlike the config files) is still transient and will eg. not survive (logical) keyboard re-attachments (eg. from usb autosuspend or udevadm trigger) which is likely why you've to "(but also when I log back in after sleep etc.)"
Offline
Pages: 1