From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QWwGK-0008RW-Rq for garchives@archives.gentoo.org; Wed, 15 Jun 2011 20:00:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C690C1C0F1; Wed, 15 Jun 2011 19:58:59 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 6638A1C0F1 for ; Wed, 15 Jun 2011 19:58:59 +0000 (UTC) Received: by wyi11 with SMTP id 11so772445wyi.40 for ; Wed, 15 Jun 2011 12:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:reply-to:to:subject:date:user-agent :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=xfbhRrW7c6iqf3To8/GzgLnyy+wQcDIgA0BUu+c23TQ=; b=Nn6WGq0FeHqi+JsS1z7ieZwrvCFuWZyNZTWUwFOazzSRq0G86sc3mfyc3Zs5mWVp6d U5fZOHBjlYSJxtwXjyWn37o8dB3kn1I3F9SxQydAbK9EDUnp0amy3is3uSVlXipVpDWK cZplQUgClE1PIkCiSmu3MIFYtS2+m67jaJSiE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=iwdfuyiu5q8Yhy3H9fRshAfHsVLAv8drndr2jMTDzq80F0Dv8uMURJ2pOHk0RZBCg7 hK3NU1+H9w0Dg4VtL5lblInT29DJ+/v81jcc2n+bz0k+hhdjw/a73mATBGfpKwwcAdx0 zNe9ApttwRDBAXjYydfX+rLCG5+h9JZVhPXl0= Received: by 10.216.208.140 with SMTP id q12mr94043weo.59.1308167938515; Wed, 15 Jun 2011 12:58:58 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id et5sm616807wbb.67.2011.06.15.12.58.56 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Jun 2011 12:58:57 -0700 (PDT) From: Mick 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 User-Agent: KMail/1.13.7 (Linux/2.6.38-gentoo-r6; KDE/4.6.3; x86_64; ; ) References: <4df78612394652.03033638@wp.pl> <4df8c5de566a03.57987755@wp.pl> <20110615154128.GA23307@ksp.sk> In-Reply-To: <20110615154128.GA23307@ksp.sk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1422896.3sQ8BON7Ev"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201106152059.38321.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: 534eae0e7720b1fdbda40581e16c64a8 --nextPart1422896.3sQ8BON7Ev Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=C5=82(a): > > > On 06/14/2011 09:02 AM, fajfusio@wp.pl wrote: > > > > Hello > > > >=20 > > > > When I execute: > > > > setxkbmap pl > > > >=20 > > > > I can type polish fonts in xterm and other X programs. But when I > > >=20 > > > 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) > > >=20 > > > > Section "InputDevice" > > > >=20 > > > > Identifier "Keyboard0" > > > > Driver "kbd" > > > > Option "XkbModel" "pc105" > > > > Option "XkbLayout" "pl" > > > >=20 > > > > EndSection > > > >=20 > > > >=20 > > > > Xorg.0.log: > > > > [ 29007.715] (=3D=3D) Using config file: "/etc/X11/xorg.conf" > > > > [ 29008.100] (II) XINPUT: Adding extended input device "Power Butto= n" > > >=20 > > > (type: KEYBOARD) > > >=20 > > > > [ 29008.100] (**) Option "xkb_rules" "evdev" > > > > [ 29008.100] (**) Option "xkb_model" "evdev" > > > > [ 29008.100] (**) Option "xkb_layout" "us" > > >=20 > > > The only problem I can see at the moment is that the log file says th= at > > > your keyboard > > > is using the 'evdev' driver but your xorg.conf specifies the 'kbd' > > > driver. Try changing > > > the Driver to "evdev" instead of 'kbd'. > >=20 > > I have reconfigured xorg.conf as follows: > > Section "InputDevice" > >=20 > > Identifier "Keyboard0" > > Driver "evdev" > > Option "XkbModel" "pc105" > > Option "XkbLayout" "pl" > >=20 > > EndSection > >=20 > > or > >=20 > > Section "InputDevice" > >=20 > > Identifier "Keyboard0" > > Driver "evdev" > > Option "XkbModel" "evdev" > > Option "XkbLayout" "pl" > >=20 > > EndSection > >=20 > >=20 > > Unfortunatelly it didn't help. > > I attach the complete Xorg.0.log. > > Do you have another suggestions. > > Thank you for help >=20 > [ 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" >=20 > 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... >=20 > 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: >=20 > Section "InputClass" > Identifier "pl keyboard layout" > MatchIsKeyboard "on" > Option "XkbModel" "evdev" > Option "XkbLayout" "pl" > EndSection >=20 > 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 >=20 >=20 >=20 > yoyo As yoyo says: Remove=20 Section "ServerLayout" # InputDevice "Keyboard0" "CoreKeyboard" because evdev does not need it and change your keyboard section as suggeste= d,=20 or if it doesn't work you can also try this: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Section "InputClass" Identifier "keyboard catchall" Driver "evdev" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Option "XkbLayout" "pl" Option "XkbOptions"=20 EndSection =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-=20 Regards, Mick --nextPart1422896.3sQ8BON7Ev Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk35DyoACgkQVTDTR3kpaLatSACg63kZZ7Ufw+43aV84c5yyhR07 Q0AAoI3MJRbYILh7tKvFErUigSM3o1Or =UGgc -----END PGP SIGNATURE----- --nextPart1422896.3sQ8BON7Ev--