Skip to content

Conversation

@abrichr
Copy link
Member

@abrichr abrichr commented Dec 28, 2024

Implements support for Linux (#144)

Desktop application is not included.

image

Note that this requires X11. On Ubuntu 24.04:

  1. sudo apt install xorg
  2. Log out
  3. At the login screen, click the gear icon or session selector next to your username. Xorg or a similar option.
  4. Log in

Additional troubleshooting steps:

sudo apt install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.10 python3.10-venv python3.10-dev
sudo apt install -y python3-poetry libportaudio2
poetry env use 3.10
# if poetry install hangs:
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring 
python3 -m pip install -e .  # after poetry install

@abrichr abrichr changed the title oa_pynput -> pynput; handle linux Support linux Dec 28, 2024
@abrichr abrichr marked this pull request as draft December 29, 2024 22:43
@abrichr abrichr marked this pull request as ready for review December 30, 2024 19:33
@abrichr abrichr merged commit e7589f3 into main Dec 30, 2024
1 check passed
@abrichr abrichr deleted the feat/linux branch December 30, 2024 21:23
@abrichr abrichr mentioned this pull request Jan 2, 2025
@mruderman
Copy link

Thank you for adding this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants