[05:02] <ww58e2> What command or file is the keyboard panel switcher using to display the active layout in use?
[05:03] <lyn||> ww58e2: do you mean profile of lxpanel like the --profile option or the config file?
[05:04] <ww58e2> the lxpanel applet for swithing keyboard layouts
[05:05] <ww58e2> im curious how it knows what language is in use, if using xorg default config files
[05:06] <wxl> ww58e2: maybe it would help to explain what you're trying to accomplish
[05:07] <ww58e2> i would like to have a simple notification when i change keyboard layouts but i failed to find an xorg command to output the layout currently in use
[05:07] <wxl> oh yeah i believe it's all using the normal xkb stuff
[05:07] <ww58e2> so i was wondering how you guys do it
[05:09] <ww58e2> i found some scripts on github mentioning XkbGetState, i think i need to querry xkb group but have no idea how
[05:09] <wxl> setxkbmap -print -verbose 10 | grep layout
[05:10] <ww58e2> but this shows the config, for me   layout:     us,bg
[05:11] <wxl> but you're only using one layout at a time. hm
[05:14] <wxl> ww58e2: is only one specified with setxkbmap -print | grep xkb_symbols?
[05:16] <ww58e2> https://dpaste.de/FMsF
[05:17] <wxl> try xkblayout-state
[05:19] <wxl> here's the code btw http://git.lxde.org/gitweb/?p=lxde/lxpanel-plugins.git;a=tree;f=xkb/src;h=93856174c4d464981719015caeeb2de79518cb87;hb=HEAD
[05:19] <ww58e2> https://github.com/alenichev/xkblayout  this gem?
[05:20] <wxl> !info xkblayout-state
[05:20] <wxl> aww fooey
[05:20] <ww58e2> thx, chenking
[05:20] <wxl> maybe it doesn't exist anymore
[05:24] <wxl> ww58e2: it uses this https://wiki.freedesktop.org/www/Software/LibXklavier/
[05:25] <wxl> in short, it queries xkb
[05:27] <ww58e2> about this xkblayout git, do you have idea how it works
[05:28] <wxl> i know nothing about that
[05:28] <wxl> but i can tell you:
[05:28] <wxl> 1. it's not a gem
[05:28] <wxl> 2. it's c
[05:28] <wxl> 3. you'll need to compile it to use it
[05:30] <wxl> http://unix.stackexchange.com/questions/12072/how-do-i-get-current-keyboard-layout offers lots of options
[05:32] <ww58e2> how to use libxklavier, is there a querry command
[05:35] <ww58e2> ah that link might be enough, with xset, thank you very much
[06:40] <ww58e2> wxl: https://gist.github.com/e4e8a6ef911464c848a2 thanks alot man
[09:26] <damascene> how to setup the keyboard language on login screen?
[14:04] <damascene> how to setup the keyboard language on login screen?