1 |
On Tuesday 14 Jun 2011 20:51:42 walt wrote: |
2 |
> On 06/14/2011 09:02 AM, fajfusio@××.pl wrote: |
3 |
> > Hello |
4 |
> > |
5 |
> > When I execute: |
6 |
> > setxkbmap pl |
7 |
> > |
8 |
> > I can type polish fonts in xterm and other X programs. But when I |
9 |
> > generate xorg.conf file with "Xorg -configure" and add the following to |
10 |
> > it I cannot type the polish fonts (I copied it to /etc/x11/xorg.conf) |
11 |
> > |
12 |
> > Section "InputDevice" |
13 |
> > |
14 |
> > Identifier "Keyboard0" |
15 |
> > Driver "kbd" |
16 |
> > Option "XkbModel" "pc105" |
17 |
> > Option "XkbLayout" "pl" |
18 |
> > |
19 |
> > EndSection |
20 |
> > |
21 |
> > |
22 |
> > Xorg.0.log: |
23 |
> > [ 29007.715] (==) Using config file: "/etc/X11/xorg.conf" |
24 |
> > [ 29008.100] (II) XINPUT: Adding extended input device "Power Button" |
25 |
> > (type: KEYBOARD) [ 29008.100] (**) Option "xkb_rules" "evdev" |
26 |
> > [ 29008.100] (**) Option "xkb_model" "evdev" |
27 |
> > [ 29008.100] (**) Option "xkb_layout" "us" |
28 |
> |
29 |
> The only problem I can see at the moment is that the log file says that |
30 |
> your keyboard is using the 'evdev' driver but your xorg.conf specifies the |
31 |
> 'kbd' driver. Try changing the Driver to "evdev" instead of 'kbd'. |
32 |
|
33 |
and when all is working as intended with evdev, you may want to add this to be |
34 |
able to write in both Polish and English: |
35 |
|
36 |
Option "XkbLayout" "pl,us" |
37 |
Option "XkbOptions" |
38 |
"grp:alt_shift_toggle,grp_led:scroll,compose:menu,terminate:ctrl_alt_bksp" |
39 |
|
40 |
The Alt+Shift will allow you to toggle between the two language keyboards in |
41 |
X. |
42 |
-- |
43 |
Regards, |
44 |
Mick |