On Thursday 22 Nov 2012 07:05:57 Carsten Haitzler wrote:
> On Thu, 22 Nov 2012 06:42:18 +0000 Mick <michaelkintz...@gmail.com> said:
> > On Thursday 22 Nov 2012 00:28:13 Carsten Haitzler wrote:
> > > window managers.. x apps never read xorg.conf - xorg does. they fetch
> > > info from x via x protocol - and make changes via it too. the kbd
> > > layout (xkbswitch) module changes layout by executing the setxkbmap
> > > binary. e will output to stdout what it runs with "SET XKB RUN: ...."
> > >
> > > run e from a terminal in another xserver (xephyr for example) and see.
> > >
> > > when i change kbd layout (eg to japanese - where i know the layout is
> > > different and exactly which keys change), but it just doesnt work for
> > > polish. setxkbmap pl doesnt make my 'z' key become 'y' (by looking at
> > > polish kbd layouts on line - it should... no? shift+2 should be " not @
> > > etc.)... all of this works for japanese layout just fine (where these
> > > changes do happen), so at least for me here, xkb itself is broken when
> > > setting "pl" as a layout.
> >
> > Same in UK vs US keyboard layouts. In UK Shift+2 should give " and in
> > the US keyboard it should be @. In alpha3 I get:
> >
> > $ setxkbmap -query
> > rules: evdev
> > model: default
> > layout: us,gb,
> > options:
> > grp:alt_shift_toggle,grp_led:scroll,compose:menu,terminate:ctrl_alt_bksp
> >
> > While, in say fluxbox I get:
> >
> > $ setxkbmap -query
> > rules: evdev
> > model: default
> > layout: gb,el
> > options:
> > grp:alt_shift_toggle,grp_led:scroll,compose:menu,terminate:ctrl_alt_bksp
> >
> >
> > I don't know where e17 reads the US layout from ... but running
> > 'setxkbmap gb' in a terminal works fine.
>
> if it isnt in the xkbswitch config dialog/menu then e doesnt read the us
> kbd layout from anywhere... it SETs just the list of kbdlayotus u have in
> your config. nothing more. it could be u have gnome and kde stuff enabled
> in the desktop config and gnome/kde tools are setting up the kbdlayout
> too.. and so e17 and they fight.. last guy in wins... and last guy
> probably is gnome/kde not e :)
I have kde on this box, although never run kde DE. I start e17 from kdm in
case this makes a difference.
Anyway, just to check I launched KDE to see what gives and it correctly reads
my xorg.conf settings. I diff'ed the output of 'setxkbmap -print -verbose 10'
in e17 and kde to see the difference and here is what it shows:
========================================
$ diff enlightenment_xkb.txt kde_xkb.txt
8,9c8,9
< model: default
< layout: us,gb,
---
> model: evdev
> layout: gb,el
15c15
< symbols:
pc+us+gb:2+inet(evdev)+group(alt_shift_toggle)+compose(menu)+terminate(ctrl_alt_bksp)
---
> symbols:
pc+gb+gr:2+inet(evdev)+group(alt_shift_toggle)+compose(menu)+terminate(ctrl_alt_bksp)
21c21
< xkb_symbols { include
"pc+us+gb:2+inet(evdev)+group(alt_shift_toggle)+compose(menu)+terminate(ctrl_alt_bksp)"
};
---
> xkb_symbols { include
"pc+gb+gr:2+inet(evdev)+group(alt_shift_toggle)+compose(menu)+terminate(ctrl_alt_bksp)"
};
========================================
My /etc/X11/xorg.conf.d/10-evdev.conf contains:
========================================
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbLayout" "gb,el"
Option "XkbOptions"
"grp:alt_shift_toggle,grp_led:scroll,compose:menu,terminate:ctrl_alt_bksp"
EndSection
========================================
So, KDE and fluxbox are happy to use what I have set up in my xorg.conf (which
uses evdev to manage the keyboard settings), but e17 sets up a 'default' model
which has US and GB as the available languages. Where is that being read
from, so that I can change it?
PS. I did not have this problem before the alpha versions arrived. :-/
--
Regards,
Mick
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users