A workaround that I found on reddit: https://www.reddit.com/r/archlinux/comments/5620sf/alt_rightleft_arrow_keys_switching_to_virtual/d8g6ux5/
I created /etc/X11/xorg.conf.d/60-dontvtswitch.conf with the following contents:
$ cat /etc/X11/xorg.conf.d/60-dontvtswitch.conf Section "ServerFlags" Option "DontVTSwitch" "true" EndSection
Now the Alt+Left/Right don't switch to the VT consoles.
But as a side effect it's not possible to switch to the VT consoles with the usual Ctrl+Alt+F1...F12 shortcuts either.
So this is not good enough...
A workaround that I found on reddit: https:/ /www.reddit. com/r/archlinux /comments/ 5620sf/ alt_rightleft_ arrow_keys_ switching_ to_virtual/ d8g6ux5/
I created /etc/X11/ xorg.conf. d/60-dontvtswit ch.conf with the following contents:
$ cat /etc/X11/ xorg.conf. d/60-dontvtswit ch.conf
Section "ServerFlags"
Option "DontVTSwitch" "true"
EndSection
Now the Alt+Left/Right don't switch to the VT consoles.
But as a side effect it's not possible to switch to the VT consoles with the usual Ctrl+Alt+F1...F12 shortcuts either.
So this is not good enough...