Skip to content
Advertisement

Tag: clipboard

shell script to use cl1p.net online clipboard in linux – Error (23) Failed writing body [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection

I’ve tried various ways to coerce xterm (versions 285 and 292) to copy the selection to the CLIPBOARD clipboard whenever I press Ctrl-Shift-C. The most promising way thus far has been, in ~/.Xresources, to put this: Ctrl-Shift-V works perfectly, but the copying has a nuance… If I restart xterm, highlighting text puts things in the PRIMARY clipboard; this is expected,

getting HTML source or rich text from the X clipboard

How can rich text or HTML source code be obtained from the X clipboard? For example, if you copy some text from a web browser and paste it into kompozer, it pastes as HTML, with links etc. preserved. However, xclip -o for the same selection just outputs plain text, reformatted in a way similar to that of elinks -dump. I’d

Pipe to/from the clipboard in a Bash script

Is it possible to pipe to/from the clipboard in Bash? Whether it is piping to/from a device handle or using an auxiliary application, I can’t find anything. For example, if /dev/clip was a device linking to the clipboard we could do: Answer 2018 answer Use clipboard-cli. It works with macOS, Windows, Linux, OpenBSD, FreeBSD, and Android without any real issues.

Advertisement