I’ve got a few additional layouts in my system. XMonad and Firefox shortcuts don’t work at all until switching to the US. I was struggling to add a context to the batch process:
> cat run_firefox.sh
#!/bin/bash
CURRENT_LAYOUT=$(setxkbmap -query | grep layout | awk '{print $2}')
setxkbmap us
firefox
setxkbmap $CURRENT_LAYOUT
But it still doesn’t work.
XMonad shortcuts Ctrl + Alt + ...
and Shift + Alt + ...
works well with any layout (if I understood correctly, because under the corresponding hotkeys I use functions from XMonad libraries).
XMonad shortcuts Alt + ...
(for instance, standard dmenu run
shortcut) don’t work.
So, the question is how to run XMonad shortcuts that start with combinations of Alt + ...
and applications with US layout in the context?
Or, generally, how I can manage it?
Dzmitry is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.