Skip to content

Instantly share code, notes, and snippets.

@michaelgrifalconi
Created January 18, 2021 09:33
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelgrifalconi/ff9789f41d922d404de45d4c95af4211 to your computer and use it in GitHub Desktop.
Save michaelgrifalconi/ff9789f41d922d404de45d4c95af4211 to your computer and use it in GitHub Desktop.

Paste text on VNC terminal that don't allow copy-paste

  • Prepare script on terminal
  • Copy data
  • Run script
  • Move focus to destination target
  • Script will 'type' for you
sh -c 'sleep 5.0; xdotool type --delay 100 "$(xclip -o -selection clipboard)"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment