Thanks for the module. I can't get it to apply any new layout. In my root 
account, I already had two layouts selected and it works good with them, 
switching between the layouts (normal and dvorak) when clicked. But on my 
user account, where no layouts were configured it segv's when I try to add 
a new layout. The bt is attached.

On Monday, March 12, 2012 6:10:03 AM UTC+8, Daniel Kolesa wrote:
>
> After some time in quiet development, I've brought the new xkb layout
> switcher module into usable state. It can so far switch layouts
> (obviously), keyboard models and layout variants, it supports gadgets and
> keybindings, and contains even some support for xorg options (grp:.* etc),
> but xorg options are not synced with the gadget state for now (if you for
> example set xorg option to change layout with alt+shift, if you bind it via
> E it obviously all works).
>
> It's based on the concept of layout combinations, combination ==
> layout+variant+optionally model (if not set, then model from global model
> page is used, and if that is not set either, it's autodecided). That way
> you can define i.e. combination for a single layout, but multiple variants.
>
> As long as you are not using the xorg options, stuff should be in sync.
>
> Internally the module currently calls to setxkbmap. That's certainly not
> ideal and should be changed with proper introduction of xkb stuff into
> ecore_x. When that is done, it will even be possible to sync gadgets with
> xorg actions.
>
> This module replaces the old "language" module which now resides in OLD.
> I've made it so it can eventually move into core E. Compared to language
> module, it's way smaller and doesn't have a need to parse XML.
>
> Feel free to give it a try, and report back how it works. If you find ugly
> code or make some improvements (which you probably will :3), patches are
> welcome.
>
> Daniel "q66" Kolesa (quaker in SVN)
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
(gdb) #0  0x000000386300fe9d in waitpid () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x00000000004359dc in e_alert_show (sig=<optimized out>) at e_alert.c:57
        ret = <optimized out>
        status = 0
        args = {0x7fffce509090 
"/usr/lib64/enlightenment/utils/enlightenment_alert", 0x7fffce509070 "11", 
0x7fffce509040 "15683", 0x7fffce509010 "347"}
        pid = 2877
#2  <signal handler called>
No symbol table info available.
#3  0x00007f1c882e55f4 in e_xkb_update_layout () at e_mod_main.c:422
        cl = <optimized out>
        op = 0x0
        l = <optimized out>
        buf = "setxkbmap us,us, -variant basic,dvorak, -model ", '\000' 
<repeats 129 times>"\210, S\032|\034\177", '\000' <repeats 18 times>"\200, 
S\032|\034\177\000\000\000\000\000\000\000\000\000\000\311\v\341\217\034\177\000\000conservative\000userspace\000powersave\000ondemand\000performance\000\n\000\061\067\063\063\060\060\060\000\061\065\071\071\060\060\060\000\061\064\066\066\060\060\060\000\061\063\063\063\060\060\060\000\061\061\071\071\060\060\060\000\n\000\213\r^\n\213\r\207\000\213\r;\004\213\r/"...
#4  0x00007f1c882e61ed in _basic_apply (cfd=<optimized out>, cfdata=<optimized 
out>) at e_mod_config.c:224
        l = <optimized out>
        cl = <optimized out>
        nl = <optimized out>
        oc = <optimized out>
        od = <optimized out>
#5  0x000000000045d985 in _e_config_dialog_cb_apply (data=<optimized out>, 
dia=<optimized out>) at e_config_dialog.c:360
        cfd = 0x7f1c7c2053e0
        ok = 0
#6  0x00007f1c92b8b45a in edje_match_callback_exec_check_finals (prop=0 '\000', 
ed=0x1d66ad0, callbacks=0x1d61120, source=0x3bcb2625dd "", sig=0x7f1c7c0e035c 
"e,action,click", source_finals=0x1d68088, signal_finals=0x1d67bd8, 
source_ppat=0x1d68060, singal_ppat=0x1d67bb0, signal_states=<optimized out>, 
source_states=<optimized out>) at edje_amalgamation.c:33024
        escb = <optimized out>
        i = <optimized out>
        j = <optimized out>
        r = 1
#7  edje_match_callback_exec (ppat_signal=<optimized out>, 
ppat_source=0x1d68060, sig=0x7f1c7c0e035c "e,action,click", source=0x3bcb2625dd 
"", callbacks=0x1d61120, ed=0x1d66ad0, prop=0 '\000') at 
edje_amalgamation.c:33180
        signal_result = 0x1d67c20
        source_result = 0x1d680d0
        r = 0
#8  0x00007f1c92bb9ad3 in _edje_emit_cb (prop=0 '\000', data=0x0, 
src=0x3bcb2625dd "", sig=0x7f1c7c0e035c "e,action,click", ed=0x1d66ad0) at 
edje_amalgamation.c:36082
        escb = <optimized out>
        match = <optimized out>
        l2 = <optimized out>
        r = 1
        l = <optimized out>
#9  _edje_emit_handle (ed=0x1d66ad0, sig=0x7f1c7c0e035c "e,action,click", 
src=0x3bcb2625dd "", sdata=0x0, prop=0 '\000') at edje_amalgamation.c:36035
        ec = <optimized out>
        tmps = 0x7fffce50b690 "e,action,click\377"
        l2 = <optimized out>
        done = 0
        l1 = <optimized out>
#10 0x00007f1c92bbb91e in _edje_message_queue_process () at 
edje_amalgamation.c:34115
        em = 0x2148e20
        ed = 0x1d66ad0
        i = <optimized out>
        __FUNCTION__ = "_edje_message_queue_process"
#11 0x00007f1c92bbbac6 in _edje_job (data=<optimized out>) at 
edje_amalgamation.c:33511
No locals.
#12 0x00007f1c93a67d5b in _ecore_job_event_handler (data=<optimized out>, 
type=<optimized out>, ev=<optimized out>) at ecore_job.c:113
        job = <optimized out>
#13 0x00007f1c93a649f0 in _ecore_call_handler_cb (event=<optimized out>, 
type=<optimized out>, data=<optimized out>, func=<optimized out>) at 
ecore_private.h:317
        r = <optimized out>
#14 _ecore_event_call () at ecore_events.c:704
        ret = 0 '\000'
        e = 0x2619be0
        handle_count = 1
        l = <optimized out>
        l_next = <optimized out>
        eh = 0x1664f30
#15 0x00007f1c93a68d55 in _ecore_main_loop_iterate_internal (once_only=0) at 
ecore_main.c:1863
        next_time = <optimized out>
#16 0x00007f1c93a691f7 in ecore_main_loop_begin () at ecore_main.c:906
No locals.
#17 0x0000000000433f47 in main (argc=<optimized out>, argv=<optimized out>) at 
e_main.c:965
        safe_mode = 0 '\000'
        after_restart = 1 '\001'
        t = 1331529063.3628521
        tstart = 1331529063.3628521
        s = <optimized out>
        buff = 
"1331529063.4\000\000\000\000\234\\r\000\000\000\000\000\263\264B\000\000\000\000"
        action = {__sigaction_handler = {sa_handler = 0x4cc530 <e_sigabrt_act>, 
sa_sigaction = 0x4cc530 <e_sigabrt_act>}, sa_mask = {__val = {0 <repeats 16 
times>}}, sa_flags = -1073741820, sa_restorer = 0x9fc000000001}
(gdb) A debugging session is active.

        Inferior 1 [process 15683] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
Detaching from program: /usr/bin/enlightenment, process 15683
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to