Skip to content

DanielHGimenez/clipboard-paste-keyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clipboard-paste-keyboard

GitHub Downloads (specific asset, latest release)

Summary

clipboard-paste-keyboard is a cross-platform command-line tool to write clipboard content using the keyboard. It can be used to write the clipboard content through RDS, or any software that disables pasting (Ctrl + V). On X11 and Wayland should also be able to paste international (UTF-8 characters).

Platforms

  • OSX (Bugs found during build)
  • Windows
  • Linux, Unix

Requirements

Linux and Unix platforms requires following commands to be installed:

  • xclip, xsel - "the fallback way" - doesn't support international and UTF-8 characters
  • xdotool - if you are running X11, supports international and UTF-8 characters
  • wtype - if you are running Wayland, supports international and UTF-8 characters

How to use

  1. Download the binary file
  2. Rename the file for cbpk

Execute as below to start writing clipboard content.

./cbpk write

Notice that keyboard will start writing immediately (at Linux/Unix it will execute after 2 seconds). If you need time to reach the application that you want to write on, use the option --delay value with an integer number that will be waited in seconds before the writing begins. See the example below.

./cbpk write --delay 5

The command above will start the writing after 5 seconds (7 seconds if you are using Linux/Unix).