On Mon, 2015-10-12 at 12:20 +0000, Reid Thompson wrote: > On Sun, 2015-10-11 at 11:19 +0300, Gevisz wrote: > >
> > > AFAIK you cannot do this directly with X server configuration, > > > > Yes. That it why I concluded that it is impossible to do in GNU/Linux. > > > > > > but there are a number of “external” keyboard switchers which may > > > have the needed capabilities. > > > > I had an extensive google search earlier and found nothing, though. > > > > But you have encouraged to ask this question on gentoo-user. > > > > > > The other variant is a console app like setxkbmap or xkb-switch used > > > in conjunction with global shortcuts capabilities provided by your > > > DE/WM (if no, there still are apps which provide global shortcuts > > > using X server own capabilities). > > > create keymap switch scripts for your 3 layouts. > I.E. > $ cat kbswitchus > > #!/bin/bash > setxkbmap us > > $ cat kbswitchru > > #!/bin/bash > setxkbmap ru > > > $ cat kbswitchua > #!/bin/bash > setxkbmap ua > > map each script to the 'direct hot key' that you want to see the current keyboard: $ setxkbmap -query -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
