setxkbmap sk layout questions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

setxkbmap sk layout questions

frantisek holop
hi there,

i found myself in the need of writing some slovak text.
i do the following:

setxkbmap -rules xorg -layout sk,us -option "grp:alt_shift_toggle"

first i thought "sk" is read from /etc/X11/xkb/symbols/
so i tried to use the other one, "sk_qwerty", but that
one is not working.  i guess that is because "sk" seems
to be read from /etc/X11/xkb/symbols/pc/ instead, where
the "sk_qwerty" file is not present.

i have a couple of questions..

1. if files are used from pc/ why are there the others?

2. i would like to make changes to the "sk" file locally
so i can keep it between updates.  but if i specify -I
it seems that setxkbmap expects everything in that
directory, do i have to mirror all of /etc/X11/xkb/ ?

3. as it is now, the "sk" file has some shortcomings.

for example there is no way to get an lacute and racute
into the input.  if i bind them to some key, they work,
but it is not possible to get them with dead_acute.
these keys are normally not on a slovak keyboard and
are entered exactly using dead_acute...  as the other
acute combinations are not listed anywhere i can find
them, i wonder where could i enable such combinations
as lacute and racute...

the other is probably a much bigger shortcoming.  normally,
shift+dead_acute should produce dead_caron.  so if one
wants to enter tcaron on a slovak keyboard, there are two ways:
a) press 5
b) shift+dead_acute and then press t

the second method is especially important because it is
a generic method to generate all and every acute/caron
combination, also with the capitals.  now the only way
to generate Tcaron is press capslock and then 5.

4. if i can work out how to make a better layout file, how
do i send it upstream?

-f
--
sorry guys, this is not heavy metal.