On Thu, Oct 25, 2012 at 5:57 AM, Petr P <petr.mvd@gmail.com> wrote:
However that's a bit inconvenient. For many windows (i.e. browser,
terminal) I need to keep the US layout most of the time. I need the
localized layout only for text editors in 99% of cases. And I switch
windows/workspaces a lot, so I have to switch the layouts manually
almost every time I switch.

https://bbs.archlinux.org/viewtopic.php?id=82891 might be of interest.  (It's not Arch-specific, although I can't promise that your system has xxkb packaged.)

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix/linux, openafs, kerberos, infrastructure          http://sinenomine.net