View Single Post
  #8   (View Single Post)  
Old 22nd September 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default

Fixed.Just in case someone deals with the same problem that's what i did. :
According to:

http://www.openbsd.org/faq/current.html#20110602


1)
Code:
rm -rf /etc/X11/xkb
2)
Code:
rm /etc/X11/xorg.conf
Then created a file as shown here: http://www.x.org/releases/X11R7.6/do...html#id2548546

3)
Code:
vi /etc/X11/xorg.conf.d/90-default-kbd.conf
and added these lines:

Code:
Section "InputClass"
    Identifier "keyboard defaults"
    MatchIsKeyboard "on"
 
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us,gr"
    Option "XKbOptions" "grp:ctrl_alt_toggle,terminate:ctrl_alt_bksp"
EndSection

Reboot and that's all.

Also before i set the file i was able to have both layouts using this command:

Code:
setxkbmap -model pc105 -layout "us,gr" -option "grp:ctrl_alt_toggle"
Reply With Quote