Keyboard Configuration – How to Permanently Configure Keyboard Settings

configurationkeyboard

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 every time 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.

Best Answer

using sudo dpkg-reconfigure keyboard-configuration will change your keyboardlayout just for this session.

go for sudo nano /etc/default/keyboard there you can change your keyboard settings.

Find the line :

XKBLAYOUT="xx"

You can change layout and kboptions as well as your model and the kbvariant.

Just put in tr for Turkish

Keyboard File

on older ubuntu versions you could go for dpkg-reconfigure console-setup and make permanently changes here. but for server 12.04 I guess it should be in the keyboard file.

Related Question