From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: Odp: [gentoo-user] Re: polish fonts xorg.conf
Date: Wed, 15 Jun 2011 20:59:37 +0100 [thread overview]
Message-ID: <201106152059.38321.michaelkintzios@gmail.com> (raw)
In-Reply-To: <20110615154128.GA23307@ksp.sk>
[-- Attachment #1: Type: Text/Plain, Size: 3908 bytes --]
On Wednesday 15 Jun 2011 16:41:29 YoYo Siska wrote:
> On Wed, Jun 15, 2011 at 04:46:54PM +0200, fajfusio@wp.pl wrote:
> > Dnia 14-06-2011 o godz. 21:51 walt napisał(a):
> > > On 06/14/2011 09:02 AM, fajfusio@wp.pl wrote:
> > > > Hello
> > > >
> > > > When I execute:
> > > > setxkbmap pl
> > > >
> > > > I can type polish fonts in xterm and other X programs. But when I
> > >
> > > generate xorg.conf file with "Xorg -configure" and add the following to
> > > it I cannot type the polish fonts (I copied it to /etc/x11/xorg.conf)
> > >
> > > > Section "InputDevice"
> > > >
> > > > Identifier "Keyboard0"
> > > > Driver "kbd"
> > > > Option "XkbModel" "pc105"
> > > > Option "XkbLayout" "pl"
> > > >
> > > > EndSection
> > > >
> > > >
> > > > Xorg.0.log:
> > > > [ 29007.715] (==) Using config file: "/etc/X11/xorg.conf"
> > > > [ 29008.100] (II) XINPUT: Adding extended input device "Power Button"
> > >
> > > (type: KEYBOARD)
> > >
> > > > [ 29008.100] (**) Option "xkb_rules" "evdev"
> > > > [ 29008.100] (**) Option "xkb_model" "evdev"
> > > > [ 29008.100] (**) Option "xkb_layout" "us"
> > >
> > > The only problem I can see at the moment is that the log file says that
> > > your keyboard
> > > is using the 'evdev' driver but your xorg.conf specifies the 'kbd'
> > > driver. Try changing
> > > the Driver to "evdev" instead of 'kbd'.
> >
> > I have reconfigured xorg.conf as follows:
> > Section "InputDevice"
> >
> > Identifier "Keyboard0"
> > Driver "evdev"
> > Option "XkbModel" "pc105"
> > Option "XkbLayout" "pl"
> >
> > EndSection
> >
> > or
> >
> > Section "InputDevice"
> >
> > Identifier "Keyboard0"
> > Driver "evdev"
> > Option "XkbModel" "evdev"
> > Option "XkbLayout" "pl"
> >
> > EndSection
> >
> >
> > Unfortunatelly it didn't help.
> > I attach the complete Xorg.0.log.
> > Do you have another suggestions.
> > Thank you for help
>
> [ 24703.710] (**) Keyboard0: always reports core events
> [ 24703.710] (EE) Keyboard0: No device specified.
> [ 24703.710] (II) UnloadModule: "evdev"
> [ 24703.710] (EE) PreInit returned NULL for "Keyboard0"
>
> you defined a (new) keyboard in the config, which doesn't actually point
> to a device (the old kbd driver didn't need a device, but it didn't work
> for other reasons...) so that X basically ignored that section
> and your "real" keyboard device did get added automatically later
> albeit without your settings...
>
> the most correct way with a newer xorg is to create a file in
> /etc/xorg.conf.d where you put an entry, which would *match* your
> keyboard device (that gets automatically created) and add the options to
> it, basically something like:
>
> Section "InputClass"
> Identifier "pl keyboard layout"
> MatchIsKeyboard "on"
> Option "XkbModel" "evdev"
> Option "XkbLayout" "pl"
> EndSection
>
> can't find gentoo specific doc / page for this stuff, but
> man xorg.conf (search for InputClass) and google for
> xorg.conf.d and/or InputClass should give you something usefull
> fex:
> http://fedoraproject.org/wiki/Input_device_configuration
>
>
>
> yoyo
As yoyo says:
Remove
Section "ServerLayout"
# InputDevice "Keyboard0" "CoreKeyboard"
because evdev does not need it and change your keyboard section as suggested,
or if it doesn't work you can also try this:
=====================================
Section "InputClass"
Identifier "keyboard catchall"
Driver "evdev"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Option "XkbLayout" "pl"
Option "XkbOptions"
EndSection
=====================================
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-06-15 20:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-14 16:02 [gentoo-user] polish fonts xorg.conf fajfusio
2011-06-14 19:51 ` [gentoo-user] " walt
2011-06-14 21:51 ` Mick
2011-06-15 14:46 ` Odp: " fajfusio
2011-06-15 15:41 ` YoYo Siska
2011-06-15 19:59 ` Mick [this message]
2011-06-16 15:47 ` fajfusio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201106152059.38321.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox