=== rww is now known as ezri | ||
=== ezri is now known as rw | ||
=== rw is now known as rwd | ||
=== ianorlin is now known as lyn|| | ||
ww58e2 | What command or file is the keyboard panel switcher using to display the active layout in use? | 05:02 |
---|---|---|
lyn|| | ww58e2: do you mean profile of lxpanel like the --profile option or the config file? | 05:03 |
ww58e2 | the lxpanel applet for swithing keyboard layouts | 05:04 |
ww58e2 | im curious how it knows what language is in use, if using xorg default config files | 05:05 |
wxl | ww58e2: maybe it would help to explain what you're trying to accomplish | 05:06 |
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:07 |
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:09 |
ww58e2 | but this shows the config, for me layout: us,bg | 05:10 |
wxl | but you're only using one layout at a time. hm | 05:11 |
wxl | ww58e2: is only one specified with setxkbmap -print | grep xkb_symbols? | 05:14 |
ww58e2 | https://dpaste.de/FMsF | 05:16 |
wxl | try xkblayout-state | 05:17 |
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:19 |
wxl | !info xkblayout-state | 05:20 |
ubottu | Package xkblayout-state does not exist in wily | 05:20 |
wxl | aww fooey | 05:20 |
ww58e2 | thx, chenking | 05:20 |
wxl | maybe it doesn't exist anymore | 05:20 |
wxl | ww58e2: it uses this https://wiki.freedesktop.org/www/Software/LibXklavier/ | 05:24 |
wxl | in short, it queries xkb | 05:25 |
ww58e2 | about this xkblayout git, do you have idea how it works | 05:27 |
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:28 |
wxl | http://unix.stackexchange.com/questions/12072/how-do-i-get-current-keyboard-layout offers lots of options | 05:30 |
ww58e2 | how to use libxklavier, is there a querry command | 05:32 |
ww58e2 | ah that link might be enough, with xset, thank you very much | 05:35 |
ww58e2 | wxl: https://gist.github.com/e4e8a6ef911464c848a2 thanks alot man | 06:40 |
damascene | how to setup the keyboard language on login screen? | 09:26 |
damascene | how to setup the keyboard language on login screen? | 14:04 |
=== rwd is now known as ezri |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!