Hi,
It is nice to already have "Command to exec before running the program", it would be even better to have an option to "undo" what we run before the program.
For example I have a couple of games that need to set the keyboard to US to avoid some dead keys, so I use "setxkbmap us" in "Command to exec before running the program", but as soon as the game ends, I run again setxkbmap to change back to my native keyboard