{"id":20453373,"url":"https://github.com/onedeadkey/1dk","last_synced_at":"2025-03-05T09:50:12.511Z","repository":{"id":138907903,"uuid":"127026536","full_name":"OneDeadKey/1dk","owner":"OneDeadKey","description":"A sane way to use Qwerty-US keyboards with non-English languages.","archived":false,"fork":false,"pushed_at":"2024-02-01T09:37:19.000Z","size":34,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T23:16:01.585Z","etag":null,"topics":["dead-keys","keyboard-layout","qwerty"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OneDeadKey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-03-27T18:03:05.000Z","updated_at":"2024-11-24T02:08:06.000Z","dependencies_parsed_at":"2024-02-01T10:36:30.631Z","dependency_job_id":null,"html_url":"https://github.com/OneDeadKey/1dk","commit_stats":null,"previous_names":["onedeadkey/1dk"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneDeadKey%2F1dk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneDeadKey%2F1dk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneDeadKey%2F1dk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneDeadKey%2F1dk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OneDeadKey","download_url":"https://codeload.github.com/OneDeadKey/1dk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242005733,"owners_count":20056432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dead-keys","keyboard-layout","qwerty"],"created_at":"2024-11-15T11:12:35.997Z","updated_at":"2025-03-05T09:50:12.464Z","avatar_url":"https://github.com/OneDeadKey.png","language":"Makefile","readme":"A sane way to use Qwerty-US keyboards with non-English languages.\n\n# One Dead Key (`1dk`) To Rule Them All\n\nHere is a [collection of Qwerty keyboard layouts](layouts/qwerty/) where the quote sign (`'`) is turned into [a language-specific dead key](1dk.md). This is comparable to qwerty-intl but only one key is modified, and this key is easy enough to reach to be usable for a non-English language on a daily basis.\n\nUsers looking for an increased typing comfort should have a look at the [qwerty42](layouts/qwerty42/) layouts — the learning curve is a bit steeper but totally worth it. Probably the best qwerty variant for developers. :-)\n\n# Build a Keyboard Layout\n\nThe latest version of [kalamine](https://github.com/fabi1cazenave/kalamine) is required:\n\n```bash\npip3 install kalamine\n```\n\nBuilding a keyboard layout with kalamine is straight-forward:\n\n```bash\nkalamine MyCustomLayout.yaml\n```\n\nAll files are generated in the `dist` subdirectory:\n\n- `*.klc` files for Windows\n- `*.keylayout` files for MacOS X\n- `*.xkb` files for GNU/Linux\n\nA Makefile is provided to build the whole layout collection with a single `make`.\n\n# Install a Keyboard Layout\n\n## Windows\n\nThe `1dk` toolchain produces `*.klc` files for Windows.\n\nThe [MS Keyboard Layout Creator](https://www.microsoft.com/en-us/download/details.aspx?id=22339) is required to turn a `*.klc` file into a layout installer: run this installer and your layout will appear in the language bar.\n\n\u003c!-- Note that this MSKLC expects a utf16-LE file. A utf-8 version of the `*.klc` file is provided to make it easier to diff, but cannot be used by MSKLC directly. --\u003e\n\n## MacOS X\n\nThe 1dk toolchain produces `*.keylayout` files for OSX.\n\nCopy your `*.keylayout` file into `~/Library/Keyboard Layouts` (for the current user only) or `/Library/Keyboard Layouts` (for all users), and restart your session. The keyboard layout will appear in your “Language and Text” preferences, “Input Methods” tab.\n\n\u003c!-- Known issue: X11 apps will use the `1dk` as a classical dead diacritic. An `~/.XCompose` file would be required to re-define the full behavior of your `1dk` (not supported yet). --\u003e\n\n## GNU/Linux\n\nThe 1dk toolchain produces `*.xkb` files for Linux.\n\nOn this platform, dead keys are handled by XCompose and their behavior cannot be defined in an `xkb` file; our workaround is to implement the `1dk` as a dead AltGr key (`ISO_Level3_Latch`), and the `AltGr` key is implemented as an `ISO_Level5_Switch` key.\n\nTo activate an `*.xkb` keyboard layout on Linux:\n\n```bash\nxkbcomp -w10 layout.xkb $DISPLAY\n```\n\nTo get back to the default US keyboard layout:\n\n```bash\nsetxkbmap us\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonedeadkey%2F1dk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonedeadkey%2F1dk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonedeadkey%2F1dk/lists"}