On Thu, Sep 22, 2011 at 04:28:19PM +0300, Sepuku Kamikazee wrote:
> Hello there people,
> 
> Yesterday i upgraded from 4.9 stable to -current  using a 5 current -cd:
> 
> this is my sysctl:
> 
> $  sysctl -n kern.version
> OpenBSD 5.0-current (GENERIC.MP) #67: Tue Sep 13 22:12:54 MDT 2011
>     [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> 
> I have i386 architecture.
> 
> 
> According to the "Follow -current" section of the FAQ :
> http://www.openbsd.org/faq/current.html#20110602  i removed the xkb dir:
> '-rf /etc/X11/xkb' and also removed the
> /etc/X11/xorg.conf file.Then as shown
> here:http://www.x.org/releases/X11R7.6/doc/xorg-docs/input/XKB-Config.html#id
> 2548546 i created a /etc/X11/xorg.conf.d/90-custom-kbd.conf with this code:
> 
> Section "InputClass"
>     Identifier "keyboard defaults"
>     MatchIsKeyboard "on"
> 
>     Option "XkbModel" "pc104"
>     Option "XkbLayout" "us,gr"
>     Option "XKbOptions" "grp:alt_ctrl_toggle"
                           ^^^^^^^^^^^^^^^^^^^
                     should be "grp:ctrl_alt_toggle" 

> EndSection
> 
> And a /etc/X11/xorg.conf.d/90-zap.conf with this code:
> 
> Section "InputClass"
>     Identifier "keyboard defaults"
>     MatchIsKeyboard "on"
> 
>     Option "XKbOptions" "terminate:ctrl_alt_bksp"
> EndSection
> 
> 
> So far, i have not managed to use the Greek Layout.In the -stable days things
> where different so if anyone has managed to add a non-us layout and give a
> hint would really
> be appreciated.
> 
> This is my first time writing to the mail lists.I hope I'm clear enough to
> help you  helping me. :/
> 

Notes
* see above
* 90-zap.conf overwrite XKBOtions

Make one file /etc/X11/xorg.conf.d/90-deffault-kbd.conf with this 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

This should help.

-- 
Alexandr Shadchin

Reply via email to