I use a Turkish keyboard which i have converted to English(Ubuntu server 12.04). My problem is that the single quote is not present on the keyboard but is instead represent by a comma in midair. To fix this i use the command
sudo dpkg-reconfigure keyboard-configuration
The problem is each time i shutdown,changes are reverted thus everytime i start the system, i have to type that command. I was thinking of making it a cronjob but i`m sure there can be another way to make the changes permanent.