I am using the Linux Xfce machine provided for us by our professor which has Turkish keyboard layout. Every time I change the language, it changes for a while and then return back to the Turkish layout again, even if I remove the Turkish layout form the system!!
Is there any way to solve this problem? Any help would be appreciated.
The problem disappeared after running the following commands:
sudo apt-get install x11-xkb-utils
setxkbmap us
echo "setxkbmap us" >> ~/.bashrc
I found the answer here