On Sun, 2 Dec 2012 16:39:12 +0000 Mick <michaelkintz...@gmail.com> said:
> 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: kde, fluxbox and e17 dont read your xorg.conf settings. xorg does. i am sure i said that already. fluxbox just does nothing - it takes things as-is most likely. kde - i don't know. e17 - there is a xkb keyboard layout system that will set up a kbd layout based on config stored in e17's config - there is a whole settings dialog for it. e literally runs setxkbmap to set up the mappings. in your ~/.xsession-errors it will print out some debug letting u know what that command is. check that file. > ======================================== > $ 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 -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: BUILD Helping you discover the best ways to construct your parallel projects. http://goparallel.sourceforge.net _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users