Skip to content

About

Maintenance paused. Independent Fcitx5 and Wayland compatibility for Typeless on Omarchy.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Typeless-Omarchy

Maintenance paused (December 2, 2026). Omarchy 4.5 ships Superwhisper as its default dictation backend, including native Fcitx5 text submission. The maintainer has switched to that integration and is pausing new compatibility releases and qualification of future Typeless builds. Existing releases, source code and technical reports remain available. Use Superwhisper for new Omarchy setups if it meets your needs.

2.5.0 desktop verification · ARM Linux availability

Build and test Original contributions: MIT

Independent compatibility tools for the official Typeless Linux app on Omarchy, Hyprland and Fcitx5. Release 0.6.0 for x86_64. Includes a Typeless 2.5.0 profile for Omarchy 4.5.0 alongside the 2.2.0 and 2.2.1 profiles. This project is not affiliated with or endorsed by Typeless or Omarchy.

中文说明 · Releases · Technical report · Validation

Maintainers: use the reusable QA runner, coverage matrix and manual acceptance checklist before qualifying updates or publishing releases.

What it changes

Area Behavior
Dictation A passive Fcitx module commits to the focused input context without switching the selected Chinese/keyboard engine.
Launch Runs Typeless on native Wayland and scopes the helper query adapter to Typeless's own process.
Recording HUD Removes compositor decorations and keeps the Status canvas visible across workspaces. Cancel/confirm remain clickable; keyboard focus returns to the preceding live window on the same workspace.
Updates Suppresses the in-app Debian download/install path and recurring updater notifications. Manual About checks explain the Omarchy/AUR package workflow.
Answers Keeps official AI result cards interactive and visible across workspaces.
Ask Anything recovery The selected-text replace path opens the official answer card when no eligible Fcitx input context exists, instead of attempting a paste with no reliable target.
Scrolling Defaults only Typeless to software rendering; this resolved the rectangular text flicker/displacement confirmed on the test desktop.

The Status rule prevents initial/hover focus but allows pointer interaction. A compositor-local event callback restores keyboard focus after a Status click, only while the preceding window remains visible on the same workspace and the user has not focused something else. It does not commit into an unfocused input context. Restoration preserves cursor position in the same synchronous operation without changing the user's global cursor policy. On the supported Wayland runtime, numeric HUD region metadata lets Hyprland exclude transparent areas from mouse hit-testing; a compositor-local 8 ms timer runs only while HUD controls exist. Interactive answer cards retain their normal focus behavior.

The official dashboard, tray, login, onboarding and account profile remain in use. No extra tray icon or persistent service is installed. The compatibility package does not contain the proprietary app, account data or generated runtime copies.

Tested environment

Omarchy 4.0.6, Hyprland 0.56.2, Fcitx5 5.1.23, official Typeless 2.2.1 (typeless-bin 2.2.1-1), x86_64. On 2.2.1, real native-library tests passed GTK/cross-workspace Foot insertion with unchanged Shuangpin, and an actual pointer click passed through the idle HUD. Earlier user confirmations of mixed manual/voice input, answer-card recovery and normal scrolling concern the preceding 2.2.0 setup; they do not establish a complete 2.2.1 end-to-end acceptance pass. Automated coverage and limits are in validation.

Other application versions, desktops, architectures and GPUs have not been established as supported. In particular, the answer recovery patch accepts only the exact vendor code fingerprints recorded in runtime/prepare.py and runtime/build221.py.

Install on Omarchy

Install the official typeless-bin separately through Omarchy's AUR installer. Review that recipe and the vendor's download source as you normally would for an AUR application.

Install the build dependencies with your package manager: base-devel, cmake, fcitx5, json-c, glib2, python, dbus, systemd, desktop-file-utils, lua (tests) and git. Then, as your regular desktop user:

git clone --branch v0.6.0 --depth 1 https://github.com/howiehu/typeless-omarchy.git
cd typeless-omarchy
python tools/stage-package.py /tmp/typeless-package
cd /tmp/typeless-package
makepkg -si

Read the generated PKGBUILD before building. makepkg -si builds as your user and asks for authorization to install the package. The generated recipe downloads no proprietary software.

Exit Typeless fully, then enable the desktop integration as your regular desktop user:

typeless-omarchy-setup

Setup installs a marked per-user typeless.desktop replacement, so the menu has one Typeless entry instead of separate official and compatibility entries. The same desktop ID also routes typeless:// callbacks through the launcher. A fingerprint-guarded change exempts only this marked compatibility entry from the official cleanup; other registration behavior is retained. Setup adds one exact Lua include. Setup restarts Fcitx to discover the addon, restoring the previously selected engine. Run initial setup at a convenient time because that restart briefly interrupts input. No package install hook modifies user profiles.

Launch Typeless from the application menu. Setup repairs recognized existing vendor autostart commands, retaining the enabled/disabled state and original startup arguments. The guarded runtime patch keeps subsequent vendor autostart writes pointed at /usr/bin/typeless-omarchy instead of the generated cache executable. Autostart is not enabled if no entry exists; the official startup setting still controls it. Custom commands are left untouched.

After upgrading an existing setup, fully exit Typeless and run:

typeless-omarchy-setup --repair

Repair migrates older setup records without restarting Fcitx and removes the managed 0.4.4 independent duplicate. It preserves the original desktop backup and refuses to overwrite later menu edits. The vendor uses a single-instance lock, so an already-running instance must be closed for new runtime patches to take effect.

0.5.2 fixes Super+K hanging during Omarchy's simulated Lua config scan. The packaged Lua skips runtime operations when hl.get_windows is a scanner proxy rather than a function. Setup/repair also guards the include, migrates recognized plain/guarded blocks and collapses duplicates; removal handles both forms. Other user code is preserved and unrecognized marked-block edits are refused before integration changes. After upgrading from 0.5.0/0.5.1, run typeless-omarchy-setup --repair, then hyprctl reload and hyprctl configerrors. Keep any existing user-side guard until the corrected package is installed. This fix needs no Typeless or Fcitx restart.

How the compatibility layer works

The vendor expects a typeless-voice input endpoint, but the inspected Linux package did not include a Fcitx addon binary. This implementation uses its existing VoiceIME socket protocol and Fcitx commitString. It registers a passive module, not a selectable input method.

The launcher exposes a private gdbus adapter for one exact CurrentInputMethod query, only to its recorded parent process and while the bridge socket responds. The virtual endpoint is visible to the vendor helper; the actual selected engine stays unchanged. Unrelated calls execute the system gdbus. Global PATH and the Fcitx D-Bus service are not replaced.

Answer recovery needs a small application-side change. At launch, runtime/prepare.py selects an exact-fingerprint vendor profile (four modules for 2.2.0, three each for 2.2.1 and 2.5.0) and builds a private runtime copy under ${XDG_CACHE_HOME:-~/.cache}/typeless-omarchy/runtime/. It copies the executable, links unchanged resources, and rewrites only that profile's files in a private ASAR archive with updated integrity metadata. A private main-process status request checks the bridge before the Ask Anything replace handler inserts. No eligible context means showing the original answer card; a focused editable context preserves the vendor handler.

A separate startup-command transformation changes only the executable written to the vendor autostart entry when compatibility mode is active. The filename, flags and official enabled/disabled handling are preserved.

Installed vendor files are never edited. The generated runtime contains vendor material for local execution and is not a project release artifact. Unsupported fingerprints emit a warning and use the base input bridge without the answer-recovery and autostart-generation patches. This project does not read account/history databases to recover answers, replace the speech service, poll the clipboard or enable persistent debugging.

Controls and rollback

Exit the existing Typeless instance before testing these commands:

# Use the base input compatibility layer without the private answer-recovery/autostart copy.
TYPELESS_OMARCHY_BASE_ONLY=1 typeless-omarchy

# Restore hardware rendering for comparison.
TYPELESS_OMARCHY_GPU=1 typeless-omarchy

Software rendering can use more CPU. These overrides are independent: base-only mode still uses the default scrolling workaround unless hardware rendering is also requested.

Before uninstalling, exit Typeless and run:

typeless-omarchy-setup --remove
sudo pacman -R typeless-omarchy

Removal restores the original per-user desktop entry (or removes our override so the system entry becomes active), removes the managed 0.4.4 duplicate if present, and deletes only the exact config include. It refuses to overwrite later menu edits. Recognized compatibility autostart commands are reverted while preserving later changes to the official startup toggle. User input-method group entries and Typeless account/history data are not removed. Generated runtime cache can be deleted after the app has exited; it lives in the project-specific cache directory described above.

Limits

  • This is a compatibility workaround for undocumented vendor internals, not official Typeless support. Vendor updates require revalidation.
  • Answer recovery covers the Ask Anything replace path with no eligible input context. It does not guarantee delivery after a later focus change and does not generally repair selected-text/rich-text editing. Reply, external-action, ordinary dictation and voice-translation routing are preserved.
  • The bridge refuses password/sensitive contexts. The vendor's independent clipboard fallbacks are outside its control.
  • The earlier application disappearance had no confirmed root cause. Successful tests do not establish crash freedom.
  • Automated tests use synthetic text. Long-term use and first-login flows across multiple desktop configurations still need broader testing.

Build and contribute

cmake -S . -B build-ci -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
cmake --build build-ci
ctest --test-dir build-ci --output-on-failure

See CONTRIBUTING.md, SECURITY.md and CHANGELOG.md. GUI acceptance tools require the installed vendor app and a desktop session; CI does not claim to prove those GUI behaviors.

The author has withdrawn the proposed Omarchy package, omacom/omarchy-pkgs#1294, as part of the maintenance pause.

Copyright, license and third-party rights

Copyright (c) 2026 Hao Hu and contributors. The MIT license in LICENSE applies to this project's original contributions only, to the extent contributors hold rights they can license. It does not relicense Typeless, third-party material or generated runtime copies.

NOTICE is the shared English/Chinese statement covering third-party rights, vendor-derived matching fragments, names and non-affiliation. It is installed beside LICENSE in the compatibility package. Dependencies and software supplied by their own installers retain their upstream terms and notices.

The private-runtime patch uses vendor-specific identifiers and small matching fragments; no ownership or MIT relicensing of third-party material is claimed. Installed vendor files are unchanged, but the generated runtime contains modified vendor material. Local generation, source fingerprint checks and non-distribution do not establish vendor authorization or legal compliance. Typeless's Terms of Service, including sections 3 and 7, contain restrictions relevant to reverse engineering and modification. No applicable exception, permission or legal-clearance determination is represented here.

This project is not affiliated with or endorsed by Typeless or Omarchy. Their names identify compatibility targets; no trademark rights or official support are granted by this project. These notices clarify scope and do not replace a legal review.

Vendor upgrades and automation

2.2.1 moved the main/autostart code into dist/main/index.js and changed renderer bundles. It also added direct GIO/D-Bus Fcitx queries. The launcher scopes libtypeless-query.so through LD_PRELOAD to Typeless and its children; only the main launch PID's exact Fcitx CurrentInputMethod query is adapted, and only while the passive bridge answers. Other methods/processes, canceled calls, and missing/invalid bridge replies use the real GIO function. The existing command adapter remains for the 2.2.0 path. No global environment or D-Bus service is replaced.

Run python tools/check-vendor.py --archive /opt/Typeless/resources/app.asar for a read-only, in-memory fingerprint/anchor check without generating a runtime. The official Linux release page currently contains no detailed 2.2.1 entry; this is not evidence of unchanged behavior. See the 2.2.1 audit.

For every vendor update, first read the official release-notes index and Linux release notes, then compare the actual build and record the review before changing compatibility profiles. Follow the vendor qualification and release procedure, including when detailed notes are missing.

The official-version watcher runs every six hours and can be dispatched manually. It reads only the small official release metadata, fails visibly for an unqualified version, and does not accept fingerprints, download an app, edit code, publish a release or install anything. It detects version changes, not same-version vendor rebuilds; archive checks remain required for qualification. Source/recipe CI builds on project pushes/tags. The Omarchy contribution watches this project's qualified formal releases; that downstream route requires the package PR to be accepted and its scheduled workflows to run. The vendor binary and compatibility package remain separately managed.

About

Maintenance paused. Independent Fcitx5 and Wayland compatibility for Typeless on Omarchy.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages