Skip to main content

fleepit

Text seleciton keyboard layout switcher based on xclip / etc for X11 & wayland

Install

  1. Install required packages:
  • X11: xclip, xdotool
  • Wayland: wl-clipboard
  1. install module: pip install fleepit

Limitations

X11

Operation is performed in 3 steps:

  • copy - copy selection buffer (primary clipboard)
  • paste - write converted selection buffer into secondary (regular) clipboard
  • send CTRL+C event

Wayland

Operation is performed in 3 steps with limitations

  • copy - reads contents of primary buffer
  • paste - write converted selection into secondary (regular) clipboard
  • user has to manually press CTRL+C - for the security reasons and/or in order to prevent depending on external daemon services that may expose potential keystroke injection vulnerabilities

Usage

Sample usage for KDE:

  • Add custom program shortcut in settings
  • Fill something like fleepit --mode x11 --langset qwerty-en-ru
  • Set some shortcut, for example CTRL+`

Langset file

Sample langset file:

{
    "langset": [
        "`1234567890-=qwertyuiop[]\\asdfghjkl;'zxcvbnm,.~!#%&*()_+QWERTYUIOP{}|ASDFGHJKL:\"ZXCVBNM<>",
        "ё1234567890-=йцукенгшщзхъ\\фывапролджэячсмитьбюЁ!№%?*()_+ЙЦУКЕНГШЩЗХЪ/ФЫВАПРОЛДЖЭЯЧСМИТЬБЮ"
    ]
}

Support

Current list of language convertations:

  • QWERTY: EN <> RU

Metadata

Release files for fleepit 7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fleepit 7
File Size Uploaded Provenance Actions
fleepit-7.tar.gz 7.4 kB Without provenance Details for fleepit-7.tar.gz

Release files / fleepit-7.tar.gz

Download URL fleepit-7.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
720a21b181d4be1b0f9c7b8a1fb2cc714151cdd180ae9b46c5bc9bb26b957b2b
BLAKE2b-256 checksum
How to use checksums
07383dd9168ab26786523e29640a5e400990bcbb42865c09585287b67686329a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.14

Security for fleepit 7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page