Add keyboard layout on debian

Hi all,

yesterday I installed Debian squeeze on a new laptop. As I am Greek, I need Greek characters. I tried to find “/etc/X11/xorg.conf”, but no luck. Xorg does not persist its configuration in this file any longer.
But, you can add a keyboard layout with this simple command:
$> setxkbmap “us,el” -variant “,extended” -option “grp:alt_shift_toggle”

Be aware that the above solution is fast, but it is not persistent and you will need to rerun the command after restart.
If you want to save the changes on /etc/X11/xorg.conf, then you can apply the next steps:

  1. Go to a terminal with Ctrl+Alt+F1
  2. Login as root
  3. $> service gdm3 stop
  4. $> Xorg -configure
  5. $> cp xorg.conf /etc/X11/xorg.conf
  6. $> service gdm3 start

Regards,
Adrianos.

Democracy Requires Free Software.

Advertisement

About Adrianos Dadis

Building Big Data & Stream processing solutions in many business domains. Interested in distributed systems and enterprise integration.
This entry was posted in Administration, GNU/Linux and tagged . Bookmark the permalink.

Post your thought

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s