# XKey

A macOS Vietnamese input method with Telex and VNI typing modes, text macros, and optional translation tools.

> This is the Markdown version of the XKey page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/xkey>

- **Latest version**: `1.2.29,20261117`
- **Developer**: XKey Contributors
- **Homepage**: <https://github.com/xmannv/xkey/>
- **Categories**: [Utilities](https://opennavo.com/categories/utilities)
- **Install**: `brew install --cask xkey`
- **30-day installs**: 175
- **Homebrew**: Available; the app updates itself
- **Download URL**: <https://github.com/xmannv/xkey/releases/download/v1.2.29-20261117/XKey.dmg>
- **SHA-256**: `f78d9316252c94002ff0064b654dc7d766976a0505ac75cbcba6d1bc22672549`

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "quit": "com.codetay.XKey"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "XKey.app"
      ],
      "target": "/Applications/XKey.app"
    },
    "phase": "install",
    "sources": [
      "XKey.app"
    ],
    "target": "/Applications/XKey.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Scripts/7E6Z9B4F2H.com.codetay.inputmethod.XKey",
            "~/Library/Application Support/XKey",
            "~/Library/Group Containers/7E6Z9B4F2H.com.codetay.inputmethod.XKey",
            "~/Library/Preferences/com.codetay.XKey.plist"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

XKey is a Vietnamese input method for macOS. It offers Telex and VNI typing, along with simple Telex variants and automatic detection between Telex and VNI. The app supports Unicode, TCVN3 (ABC), and VNI Windows encoding options.

Other capabilities include:
- Text macros for custom abbreviations, with import and export of macro lists.
- Smart Switch, which can remember the language used in each app and switch when you change apps.
- Text conversion tools for changing capitalization, converting between supported encodings, or removing Vietnamese diacritics.
- Optional quick translation with configurable shortcuts and providers, plus experimental spelling checks with a personal dictionary.

Install with `brew install --cask xkey`. XKey requires macOS 12 or later. After installation, enable XKey under System Settings → Privacy & Security → Accessibility for the input method to work. The app offers a default CGEvent mode and a separate Input Method Kit mode called XKeyIM; XKeyIM has its own setup steps in the app’s Input Sources settings.

[Official project](https://github.com/xmannv/xkey/) · [Homebrew Cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/x/xkey.rb)

## System requirements

- macOS 12 or later · Version: 1.2.29,20261117 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/x/xkey.rb> · Checked 2026-11-23
  - <https://github.com/xmannv/xkey/releases/download/v1.2.29-20261117/XKey.dmg>
  - SHA-256: `f78d9316252c94002ff0064b654dc7d766976a0505ac75cbcba6d1bc22672549`
- macOS 12 or later · Version: 1.2.29,20261117 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/x/xkey.rb> · Checked 2026-11-23
  - <https://github.com/xmannv/xkey/releases/download/v1.2.29-20261117/XKey.dmg>
  - SHA-256: `f78d9316252c94002ff0064b654dc7d766976a0505ac75cbcba6d1bc22672549`

## XKey security facts

Only facts that can be checked, each with its source and date. This is not a safety certification. To check the files you downloaded, scan them on your Mac with OpenNavo.

- <https://github.com/xmannv/xkey> · Open source: Yes — <https://github.com/xmannv/xkey> · Checked 2026-11-14

## Uninstall

- `brew uninstall --cask xkey`

A regular uninstall removes the app and keeps its settings and caches.

### Deep clean (optional)

- `brew uninstall --zap --cask xkey`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/Library/Application Scripts/7E6Z9B4F2H.com.codetay.inputmethod.XKey` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/x/xkey.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Application Support/XKey` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/x/xkey.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Group Containers/7E6Z9B4F2H.com.codetay.inputmethod.XKey` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/x/xkey.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Preferences/com.codetay.XKey.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/x/xkey.rb> · These entries come from the Homebrew definition, checked 2026-11-23. They say what it declares, not what is on your Mac.

## Latest release notes

### 1.2.29-20261117 (2026-11-17)

#### What's New

fix(telex): keep the word literal after undoing a non-adjacent circumflex

Typing "queuee" undoes the free-mark ê ("quêu" -> "queue") and sets
tempDisableKey, but the vRestore branch then calls insertKey, whose
phonetic checkSpelling() ignores vowel clusters and re-enables marks.
The next tone key landed on an invalid cluster: "queuees" -> "queúe",
"keuees" -> "keúe". Adjacent undo ("teees") was only safe because of
the three-identical-vowels rule.

Keep tempDisableKey set after a circumflex undo (a/e/o) so the rest of
the word stays literal. dd, mark and w undo are unchanged. Affects
Telex and Simple Telex 1/2; VNI was never affected (its undo key is a
digit).

Bump version to 1.2.29 (20261117).

Refs #339

## Facts and sources

- <https://opennavo.com/apps/xkey>
- <https://opennavo.com/apps/xkey/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/x/xkey.rb> · Checked 2026-11-23
- <https://formulae.brew.sh/cask/xkey>
- <https://github.com/xmannv/xkey> · Checked 2026-11-14
