Pixel <[EMAIL PROTECTED]> writes:

> "Andrey Borzenkov" <[EMAIL PROTECTED]> writes:
> 
> > In 9.0 (and before) all I had to do was 
> >  
> >     Option "XkbLayout" "ru(winkeys)" 
> >  
> > and I could switch between Russian and US layouts. Now it is obviously needed 
> >  
> >     Option "XkbLayout" "us,ru(winkeys)" 
> >  
> > having old line leads to only Russian keyboard layout available. 
> 
> adding the following to %post of XFree86-server should do:
> 
> if grep -q 'Option.*"XkbOptions".*grp:' /etc/X11/XF86Config-4; then
>     perl -pi -e 's/^(\s*Option\s*"XkbLayout"\s*)"([^,]*)"/$1"us,$2"/' 
> /etc/X11/XF86Config-4
> fi
> 
> - it should be run only on upgrade
> - it would be better if it would be run only when upgrading from
>   XFree86 < 4.3
> 
> fred, can you add it?

ok will be in next build
-- 
Fred - May the source be with you

Reply via email to