xpaste - paste text into X windows that don’t work with selections
SYNOPSIS
xpaste <<EOF This text will be pasted into a window of your choosing. EOF
DESCRIPTION
Some applications refuse to work with any of the three selection buffers that X/X11/Xorg has: the middle-mouse selection, secondary selection and the CTRL-(SHIFT-)V clipboard selection.
If you have to insert long or difficult to type text (generated passwords), not being able to paste can be troublesome.
xpaste will read the text to paste from standard input, keep it in memory and wait for you to press ENTER. When you do, it pastes the held text into the newly focused window.
See this before/after example where the username is pasted into the SuperMicro ipmiview Java application that doesn’t accept “paste” input through the middle-mouse or CTRL-V:
The pasting of text happens through “faked” keypress events. And as you can see from the example, it works.
NOTE: xpaste now works with Wayland as well: it uses /dev/uinput to attach a virtual keyboard.
COPYRIGHT
Copyright (C) 2016,2018,2020,2022 Walter Doekes, OSSO B.V.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
SEE ALSO
xsel(1), crikey(1)
Metadata
Release files for xpaste 1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xpaste-1.6.tar.gz | 21.3 kB | Without provenance | Details for xpaste-1.6.tar.gz |
Release files / xpaste-1.6.tar.gz
| Download URL | xpaste-1.6.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d1bf5ee5b1104bbaabf127ef7597bbf6b74a9b7a958da255e4604baa65f3c74
|
|
BLAKE2b-256 checksum How to use checksums |
dcfcf647aa4bf3e1de9f4448c984cef824ac2641ef88332f6322959324bca86c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for xpaste 1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.