You can edit /etc/X11/xorg.conf by hand. Here's what to do:
- Open /etc/X11/xorg.conf . Please note that you need administrator privileges. Otherwise you will not be able to write any changes.
- Find your keyboard config. It should look somewhat like this:
Code:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
- To alternate between keyboard layouts (us and presumably greek, for the OP), change the XkbLayout line to something like this:
Code:
Option "XkbLayout" "us,gr"
- Add (or change) the following line. Note that this line should fall within the Section/EndSection pair:
Code:
Option "XkbOptions" "grp:alt_shift_toggle"
If you already have a few XkbOptions, you can put commas between the options:
Code:
Option "XkbOptions" "grp:alt_shift_toggle,compose:ralt,altwin:super_win"
- Save your changes (have you made a backup?) and restart X.
You should now be able to toggle keyboard layouts by pressing Alt+Shift.
Bookmarks