Can a command be set to run when switching to a specific virtual desktop (or an activity) in KDE environment?
I want to run a command for a desktop (e.g. desktop2) so that when I switch to that desktop, the keyboard language layout will change to English US automatically.