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

Xclip usage shown, is no longer working in Linux #320

Closed
aahnik opened this issue Oct 9, 2020 · 1 comment · Fixed by #374
Closed

Xclip usage shown, is no longer working in Linux #320

aahnik opened this issue Oct 9, 2020 · 1 comment · Fixed by #374
Labels
content This issue or pull request belongs to the Docs Content team

Comments

@aahnik
Copy link

aahnik commented Oct 9, 2020

What article on docs.github.com is affected?

Adding a new SSH key to your GitHub account ( Linux )

What part(s) of the article would you like to see updated?

Linux | Copy the SSH key to your clipboard ( using xclip )

Additional information

The shown method seems to no longer work. After seeing the help of xclip

- xclip -sel clip < ~/.ssh/id_rsa.pub
+ xclip -selection clipboard < ~/.ssh/id_rsa.pub

See xclip help

❯ xclip -h
Usage: xclip [OPTION] [FILE]...
Access an X server selection for reading or writing.

  -i, -in          read text into X selection from standard input or files
                   (default)
  -o, -out         prints the selection to standard out (generally for
                   piping to a file or program)
  -l, -loops       number of selection requests to wait for before exiting
  -d, -display     X display to connect to (eg localhost:0")
  -h, -help        usage information
      -selection   selection to access ("primary", "secondary", "clipboard" or "buffer-cut")
      -noutf8      don't treat text as utf-8, use old unicode
      -target      use the given target atom
      -version     version information
      -silent      errors only, run in background (default)
      -quiet       run in foreground, show what's happening
      -verbose     running commentary

Report bugs to <[email protected]>
@welcome
Copy link

welcome bot commented Oct 9, 2020

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Oct 9, 2020
@janiceilene janiceilene added content This issue or pull request belongs to the Docs Content team core and removed triage Do not begin working on this issue until triaged by the team labels Oct 9, 2020
casals added a commit to casals/docs that referenced this issue Oct 9, 2020
jnidzwetzki pushed a commit to jnidzwetzki/docs that referenced this issue Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content This issue or pull request belongs to the Docs Content team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants