This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XKB config?


Lev Serebryakov wrote:

> Hello, cygwin-xfree! How are you?
> 
>   How I specify this XKB config:
> 
> Section "InputDevice"
>  Identifier "RuKeyboard"
>  Driver     "Keyboard"
>  Option "XkbRules"   "xfree86"
>  Option "XkbModel"   "pc101"
>  Option "XkbLayout"  "ru"
>  Option "XkbOptions" "grp:ctrl_shift_toggle"
> EndSection
> 
>   If I prepare /etc/X11/XF86Config with this section and run X:
> 
> /usr/X11R6/bin/X -noreset -xf86config /etc/X11/XF86Config -keyboard RuKeybiard
>   
> It complains about missed "Device" section... What should I put in
> "Device" section? Which driver, etc?

I've used the parse from the XFree86 server and unfortunatly it requires 
some special sections which we do not need. 

A minimal config file is:

Section "InputDevice"
 Identifier "RuKeyboard"
 Driver     "Keyboard"
 Option "XkbRules"   "xfree86"
 Option "XkbModel"   "pc101"
 Option "XkbLayout"  "ru"
 Option "XkbOptions" "grp:ctrl_shift_toggle"
EndSection

Section "Device"
    Identifier  "dummy"
    Driver      "dummy"
EndSection

Section "Monitor"
    Identifier  "dummy"
EndSection

Section "Screen"
    Identifier  "dummy"
    Device      "dummy"
    Monitor     "dummy"
EndSection


bye
    ago
NP: Oomph! - Filthy Playground
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]