I have (and often change) 3 keyboard layouts on my Mint 17/Mate. I would like to see a notification on my screen when layout is changed, e.g. "Switched to English/US". I tried to do it via keyboard settings, to find a program or script to do it, but I couldn't.
The question is: are there any programs to show current layout OR is there a way to catch layout change event from X11 in user script? Any advice or guide to information would be appreciated.
Update: I've found
notify-send to actually send notification, now I need to catch layout change event.