[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: keyboard layout



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Sep 13, 2017 at 04:06:08PM +0200, Pol Hallen wrote:
> >can you describe a scenario around what you want?
> 
> hello and thanks!
> I study russian and with florence (virtual-keyboard) I'd like use it
> with cyrillic chars but with english desktop environment :)

You can also use some key combo to switch "groups". For example, I have
this in my ~/.xsessionrc:

  setxkbmap -model pc104 \
            -layout "de(legacy),el" \
            -option "compose:caps" \
            -option "altwin:alt_super_win" \
            -option "terminate:ctrl_alt_bksp" \
            -option "grp:shifts_toggle"

That means: two layouts: de, el (that's Greek -- ellenika), the capslock
is a compose key (capslock is useless for me, so I can input ♥ by entering
COMPOSE + < + 3), the alt windows key has an own code (I use that for all
the related window manager "hotkeys", so alt is available for programs),
I want to be able to kill my X servr with CTRL+ALT+BACKSPACE, and now
it comes: by pushing *both* shifts at once I toggle between German
layout and ελλενικά.

I didn't know about setupcon, mentioned in this thread. Perhaps it's the
better solution (e.g. does it take care of the Linux consoles too? My
solution above is X only), perhaps not (e.g. is it as flexible as the
above?).

Whatever. Lots to play with :-) I'll definitely read on setupcon.

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlm5SDIACgkQBcgs9XrR2kawlwCfYbj4eCa0MRLm7kNyuKIiHgtX
CTAAn12NzN5L4LbTrhRn6MphPBAnepYO
=DaTJ
-----END PGP SIGNATURE-----


Reply to: