Skip to main content

Plover output plugin for linux using evdev / uinput

Project description

Plover output plugin for linux using uinput

This plugin directly emulates the keyboard using uinput, which is present on most linux distributions. This means that it will work on X11, wayland and even in the tty.

Setup

Add your user to the input group, and install this udev rule:

KERNEL=="uinput", GROUP="input", MODE="0660", OPTIONS+="static_node=uinput"

Set the PLOVER_UINPUT_LAYOUT environment variable to your two-letter xkb keyboard layout, for example us, no or fr. This is not necessary if you're using a US keyboard.

Issues

Unicode characters

If you want to use unicode characters, either iBus or fcitx5 has to be installed. You might have to increase the key press delay in plover if some characters do not output properly.

Other issues

If you encounter any other problems, feel free to open an issue, pull request or send a message on discord (lilleaila)! Before asking for help, please check if the plugin is enabled in the settings.

Inspired by:

TODO

  • Implement keyboard capture
  • Make it easier to install udev rules
  • Add a github action for publishing to PyPi

Copyright (c) 2024 LilleAila

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plover_uinput-0.0.15.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

plover_uinput-0.0.15-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file plover_uinput-0.0.15.tar.gz.

File metadata

  • Download URL: plover_uinput-0.0.15.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for plover_uinput-0.0.15.tar.gz
Algorithm Hash digest
SHA256 7f87aa0f8115ca5d42d25cd1dd3b72fa1a95d81eaeb2695c635c510071a5e8f2
MD5 5987519d2b4468ec29d3c70043986741
BLAKE2b-256 1b356ace19ad459c1c87bcf25bdfd44f8e71f8fe7fae1e29c0b2c81c72c5244a

See more details on using hashes here.

File details

Details for the file plover_uinput-0.0.15-py3-none-any.whl.

File metadata

File hashes

Hashes for plover_uinput-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 6f455bf268d5fe4f1836e8ea49d9cbc25d6bf99baf3500b52cf3d3cf3f5481e2
MD5 52365ae6bff6de8b8ab75221f376d43b
BLAKE2b-256 8e417b5d72bd4d9f1cfa78903f069950f7e897e9ad91880b1062d50199a8c74f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page