Skip to content
Discussion options

You must be logged in to vote

For context, the blog post you mentioned is this: https://joonas.fi/2020/12/attach-a-keyboard-to-a-docker-container/

However, i haven't managed to pass the mouse events to x11vnc yet.

what i expected was my mouse to stop being responsive (being "grabbed") as soon as i launched the docker image with the proper flag (--device /dev/input/by-id/)

Thanks for adding context via the expectation. So --device is only first part of the puzzle, that makes the device visible to inside of the container, but the app (screen-server) does not do anything with it yet.

The second part of the puzzle is this code:

processes.Start("ev…

Replies: 11 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by samuelhackwill
Comment options

You must be logged in to vote
1 reply
@joonas-fi
Comment options

Comment options

You must be logged in to vote
2 replies
@samuelhackwill
Comment options

@samuelhackwill
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #8 on April 16, 2024 06:10.