Switch from Dvorak to QWERTY while Ctrl, Alt or Meta are pressed.
Note: currently, only KDE Plasma is supported.
This project uses uinput to check when keys are pressed, and as such, requires the user to be in the input group.
You can add the current user to the input by running sudo usermod -a -G input $USER.
Note that this is a security risk: any program that runs as the current user can read all key presses (and any other input device, e.g. mouse).
- Add the current user to the
inputgroup:sudo usermod -a -G input $USERand reboot. - Clone this repository:
git clone https://github.com/ElishaAz/dq-switchandcd dq-switch - Create a virtual environment:
python -m venv .venv - Activate it:
. .venv/bin/activate - Install dependencies:
pip install -r requirements.txt
See dq-switch.cfg and dq-switch.py --help.
If you created a virtual python environment as above, simply run dq-switch. Otherwise, run python dq-switch.py.