Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The clipboard does not work in docker. #6

Open
tyhan opened this issue Feb 9, 2019 · 1 comment
Open

The clipboard does not work in docker. #6

tyhan opened this issue Feb 9, 2019 · 1 comment

Comments

@tyhan
Copy link
Contributor

tyhan commented Feb 9, 2019

The clipboard does not work in docker. ( related with #2 )

$ docker run terminal_translator -c     
usage: translate [-h] [-c] [-d] [data [data ...]]
translate: error: 
    This error should only appear on Linux (not Windows or Mac). 
    You can fix this by installing one of the copy/paste mechanisms:
    
    sudo apt-get install xsel to install the xsel utility.
    sudo apt-get install xclip to install the xclip utility.
    pip install gtk to install the gtk Python module.
    pip install PyQt4 to install the PyQt4 Python module.
@RavenKyu
Copy link
Contributor

I found a way to solve it. But I think we can't use this way. It needs Xserver for sharing clipboard.
https://github.com/mviereck/x11docker/blob/5633f7dcf190cfb4938589b70a3000f6d5a90359/x11docker#L1620

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

No branches or pull requests

2 participants