Hello,
I just started using fvwm and I have a couple of questions regarding key bindings.
I figured out how to change the keyboard layout through a menu:
Exec exec setxkbmap -layout gb (for example to switch to UK keyboard)
and how to lock the screen through a menu:
Exec exec xscreensaver-command -lock
However what code to I need in order to execute both of them at the same time when I press Alt+F12 or some other keyboard shortcut, so that the keyboard goes back to UK layout and the screen is locked?
Also what code do I need to write in my config file in order to toggle between two keyboard layouts using Ctrl+Alt combination anywhere on the screen?
Thanks a lot in advance