Am 11.07.2013 07:18, schrieb Zeus Panchenko: > Michael Stapelberg <[email protected]> wrote: >> >> Is it possible to have per-window locales/charsets? Not that I know of, but I >> might be wrong. >> > > yes, for example ubuntu provides that (perhaps it is gnome) > > what I meant is not *any* charset but the one from preconfigured in xorg > (when I have to use ubuntu, I work on bilingual configuration with en > default and ru as secondary)
A quick googling showed that there are different daemons like xxkb and kbdd doing exactly that. I.e. it has nothing to do with i3. Further, if you don't want yet-another-daemon, X itself provides a way to toggle keybindings with one single key (I for example have bound it to the 'menu' key, as it is completely useless else): the 'grp' XkbOptions. In my case in the xorg.conf there is: Option "XkbOptions" "terminate:ctrl_alt_bksp,grp:menu_toggle,compose:rwin,caps:escape" >>> 2. and adjacent question: wouldn't it be nice to be able to see on >>> status bar, which charset is active? is it possible? >> With a wrapper script around i3status (or whichever status program you >> are using), anything is possible. > > may you point me, where it is described, please Searching prior to asking really is not your way, is it? man i3-status Heading "EXTERNAL SCRIPTS" For your convenience: http://i3wm.org/i3status/manpage.html#_external_scripts_programs_with_i3status - René
