How to receive keyboard layout change event in Ubuntu in C
I’m working on Desktop application with GTK3 in c. I want to capture keyboard layout change event. I could not find any useful solutions online. Few solutions I found online were using infinite while loop to check for layout change, but I don’t want to do that as I don’t want one of my thread to wait forever.