Bug 47536 - Proposal for the new US keyboard variant
Summary: Proposal for the new US keyboard variant
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-19 13:45 UTC by Jirka
Modified: 2012-03-26 14:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
The new section of /usr/share/X11/xkb/symbols/us (2.07 KB, application/octet-stream)
2012-03-19 13:51 UTC, Jirka
Details
List of original and modified files on Fedora 16 (48.80 KB, application/x-gzip)
2012-03-19 14:27 UTC, Jirka
Details
The new section of /usr/share/X11/xkb/symbols/us (2.36 KB, text/plain)
2012-03-19 14:58 UTC, Jirka
Details
List of original and modified files on Fedora 16 (48.30 KB, application/x-bzip)
2012-03-19 15:00 UTC, Jirka
Details
Patch file based on http://cgit.freedesktop.org/xkeyboard-config (3.70 KB, patch)
2012-03-25 14:11 UTC, Jirka
Details | Splinter Review

Description Jirka 2012-03-19 13:45:21 UTC
Hello,

I prefer to use US keyboard. I'm Czech living in Germany so naturally they are occasions when I need to use some Czech and German keys. I have created extension for the "us" keyboard layout 

/usr/share/X11/xkb/symbols/us

and I would like to consider to add this layout to the official repositories.

The keys are accessible via right alt. It defines Czech letters 
ěščřžýáí at their standard locations and 4 German letters
äöüß

I'm sure that this proposed layout will be useful to the all Czech programmers. In fact, I have derived this layout from the similar used widely in MS Win***ws. I believe that German letters will also usefull for others as there are many Germany names widely used in the Czech.  

I will attach the new section as the attachment.

Added line to xorg.lst:
  cz_de           us: Czech and German

Added section to xorg.xml:
        <variant>
          <configItem>
            <name>cz_de</name>
            <description>Czech and German</description>
            <languageList><iso639Id>cze</iso639Id>
                          <iso639Id>eng</iso639Id>
                          <iso639Id>ger</iso639Id> </languageList>
          </configItem>
        </variant>

Please let me know if you need more details.

Thanks
Jirka
Comment 1 Jirka 2012-03-19 13:51:02 UTC
Created attachment 58709 [details]
The new section of /usr/share/X11/xkb/symbols/us

Proposed new section of the file /usr/share/X11/xkb/symbols/us which defines Czech variant of the US keyboard. It defines Czech keys accesible via Right Alt and German keys äöüß
Comment 2 Jirka 2012-03-19 14:27:38 UTC
Created attachment 58711 [details]
List of original and modified files on Fedora 16

Original and changed files to add US layout variant called Czech and German

sudo ln -sf $(pwd)/evdev.xml_czech /usr/share/X11/xkb/rules/evdev.xml
sudo ln -sf $(pwd)/evdev.lst_czech /usr/share/X11/xkb/rules/evdev.lst
sudo ln -sf $(pwd)/base.xml_czech /usr/share/X11/xkb/rules/base.xml
sudo ln -sf $(pwd)/base.lst_czech /usr/share/X11/xkb/rules/base.lst
sudo ln -sf $(pwd)/us_cz_czech /usr/share/X11/xkb/symbols/us
Comment 3 Jirka 2012-03-19 14:58:06 UTC
Created attachment 58714 [details]
The new section of /usr/share/X11/xkb/symbols/us

Proposed new section of the file /usr/share/X11/xkb/symbols/us which defines
Czech variant of the US keyboard. It defines Czech keys accesible via Right Alt
and German keys äöüß.

Update: I got an proposal from friend of mine to add following two Slovak letters:
ľô
Comment 4 Jirka 2012-03-19 15:00:58 UTC
Created attachment 58715 [details]
List of original and modified files on Fedora 16

Original and changed files to add US layout variant called Czech and German
Update: added Slovak keys ôľ

sudo ln -sf $(pwd)/evdev.xml_czech /usr/share/X11/xkb/rules/evdev.xml
sudo ln -sf $(pwd)/evdev.lst_czech /usr/share/X11/xkb/rules/evdev.lst
sudo ln -sf $(pwd)/base.xml_czech /usr/share/X11/xkb/rules/base.xml
sudo ln -sf $(pwd)/base.lst_czech /usr/share/X11/xkb/rules/base.lst
sudo ln -sf $(pwd)/us_cz_czech /usr/share/X11/xkb/symbols/us
Comment 5 Sergey V. Udaltsov 2012-03-19 15:49:46 UTC
Two things:
1. How many people are currently using your variant. I do not like to include the materials currently used by a single person. Your variant looks a bit too exotic.
2. Could you please prepare the proper patch?
Comment 6 Jirka 2012-03-20 02:41:55 UTC
Hi,

> Two things:
> 1. How many people are currently using your variant. I do not like to include
> the materials currently used by a single person. Your variant looks a bit too
> exotic.

I know about 10 people who are using this layout on Linux. It can be even more - I have been working for Red Hat in Brno, Czech republic and when I have showed this layout to my colleagues they liked it a lot and it has spread across the RH Brno office.

Almost identical layout is also used on MS Win* where many people are using it. 

The only exotic thing about it are German letters äöüß. These are however useful also for people who don't speak German as there are many German names widely spread in the Czech language. For example, the name of my friend is Richard Wünsch. He is Czech but has German surname. This is historically so as the Czech republic was 300 years part of the Austria empire and Czech language has almost disappeared.


> 2. Could you please prepare the proper patch?

Yes, sure. Could you please point me to the source files which I should take as the base version? Or is it fine to use Fedora 16 /usr/share/X11/xkb directory?

Thanks
Jirka
Comment 7 Sergey V. Udaltsov 2012-03-24 16:46:43 UTC
> > 2. Could you please prepare the proper patch?
> 
> Yes, sure. Could you please point me to the source files which I should take as
> the base version? Or is it fine to use Fedora 16 /usr/share/X11/xkb directory?
The base version would be in git. http://cgit.freedesktop.org/xkeyboard-config

Please put the meta-info into base.extras.xml.in, not into base.xml.in
Comment 8 Jirka 2012-03-25 14:11:56 UTC
Created attachment 59037 [details] [review]
Patch file based on http://cgit.freedesktop.org/xkeyboard-config

Patch file

Modified files:

xkeyboard-config/rules/base.extras.xml.in
xkeyboard-config/symbols/us
Comment 9 Jirka 2012-03-25 14:16:30 UTC
> The base version would be in git. http://cgit.freedesktop.org/xkeyboard-config
> 
> Please put the meta-info into base.extras.xml.in, not into base.xml.in

I have uploaded the patch file.

Jirka
Comment 10 Sergey V. Udaltsov 2012-03-25 15:09:51 UTC
Fine, committed!
Comment 11 Jirka 2012-03-26 14:36:28 UTC
(In reply to comment #10)
> Fine, committed!

Great, thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.