How do I *un*set an option in `xkbmap`?
A little bit crutched: remove all options using -option
with an empty argument first, then set same options with terminate excluded from the list:
setxkbmap -option -option $(setxkbmap -query |
sed -n 's/options:\s*\(terminate:[^:]*,\)\?\|,terminate:[^,]*//gp')
From my experience (limited) what worked best was using:
setxkbmap -query
And that prints out your current settings ( setxkbmap -print
is another alternative to show your current keyboard settings)
Then delete all the options by using the -option
without any arguments:
setxkbmap -option
Then reintroduce the new options one at time:
setxkbmap -option key:key_replacement