Skip to content
Lithuanian keyboard layouts for Windows
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ltenh-Win9x
ltenh
ltenhd
ltenhdfn
ltenhfn
README.md

README.md

Lithuanian Keyboard Layouts for Windows

This repository contains a dump of the source folder of Windows keyboard layouts that I have made and published on https://rimas.kudelis.lt/numeric/ (or http://rq.lt/numeric for short). Currently this contains five variants of the Lithuanian Enhanced layout, which is just the stock Windows keyboard layout with a few really minor improvements (which are already available out-of-the-box on Linux systems). Each such variant resides in a separate folder, and these are as follows:

  1. ltenh: master variant. It differs from the stock Windows layout by having the following characters available:
    • U+00B4 ACUTE ACCENT (´) in the AltGr layer of the key E00 (new assignment)
    • U+2013 EN DASH (–) in the AltGr layer of key E11 (new assignment)
    • U+201E DOUBLE LOW-9 QUOTATION MARK („) in the default layer of key E09 (changed assignment)
    • U+201C LEFT DOUBLE QUOTATION MARK (“) in the default layer of key E10 (changed assignment)
  2. ltenhd: variant with U+002E FULL STOP as decimal separator (the master uses U+002C comma, as it should be done in Lithuania, but some poorly written applications aren't happy with that)
  3. ltenhfn: a special variant which ignores NumLock state and attempts to always treat it as if it were on. This might be useful if you're using a laptop with badly (at least from my point of view) implemented numeric keypad emulation.
  4. ltenhfnd: same as above, but with U+002E FULL STOP as decimal separator
  5. ltenh-Win9x: similar to the master variant, but made for legacy Windows 95/98/Me

Building

The first four layouts were made with Microsoft Keyboard Layout Creator (MSKLC for short) and the source file for each is a relevant *.klc file. I've commited the output files produced by MCKLC as well, hence all the setup and dll files. Each layout "project" has an Installer subfolder with a gensetup.bat file which wraps all files produced by MSKLC in a single easy-to-distribute installer file. Final installers produced this way (LtEnh*.exe files) have also been commited.

For NumLock-ignorant layouts (ltenhfn and ltenhfnd), the procedure is slightly different: first you have to run "Build DLL and Setup Package" using MSKLC (although you only need the "Setup Package" part of that), then run gensetup.bat to patch and recompile the layout. Note that you should probably open the relevant gensetup.bat file in your editor of choice first and check that the path to MSKLC as specified near the top of the file is actually correct.

Windows 9x Support

Windows 95/98/Me used an older file format for keyboard layouts, so I had to use a different tool (Janko's Keyboard Generator For Windows 95, 98 and ME) to build my layout for these versions of Windows. For this variant, the kbdlte.kbd file is both the binary form (the keyboard layout file) and the source form (a file that cab be edited by the tool). The author of the tool has declared it to be in Public Domain since January 2007, but hasn't made its full version with AltGr support publically available, so I took liberty to commit a copy that he sent to me personally to the repository (check out the jkbd98 subfolder).

Windows 9x is basically irrelevant today, but since I had these files on my disk, I decided to go ahead and commit them here anyway.

Acknowledgements

A bunch of binary files are commited here which I downloaded from elsewhere. These are:

  • 7zr.exe, 7zS.sfx: 7-Zip project files used for packaging the installer files for NT-based layouts. Copyright © Igor Pavlov, licensed under GNU LGPL. Project website: https://www.7-zip.org/
  • patch.exe: This is GNU Patch, used for patching the intermediate source files of NumLock-ignorant layouts. Licensed under GNU GPL. downloaded from http://gnuwin32.sourceforge.net/packages/patch.htm
  • wextract.exe, makecab.exe, iexpress.exe: These are used for building the Windows 9x installer. They're probably copied from one of these Windows versions to retain installer compatibility with them and avoid missing DLL errors.
  • jkbd98.exe: As already stated above, this tool was used for creating the Windows 9x layout file, and the author has placed it in Public Domain. Tool website: http://solair.eunet.rs/~janko/engdload.htm

MSKLC is abandonware

I am aware that Microsoft has basically abandoned its Microsoft Keyboard Layout Creator. However, last time I checked, it still worked for me, even under Windows 10, provided that the required version of .NET was installed. Since I'm not currently aware of any of its replacements (i mean, something that would be free and have a GUI), the files currently remain like this, but in the longer term, it would probably be a good idea to migrate to actual C source files. On the other hand, there isn't much more that I need to add to these particular layouts, so I'm not really in a hurry here.

You can’t perform that action at this time.