This you find around the ๐ŸŒ Internet
๐Ÿ” Web search with Google โ€ข Bing โ€ข DuckDuckGo โ€ข Marginalia โ€ข Reddit โ€ข Spotify โ€ข TikTok โ€ข Tootfinder โ€ข X โ€ข Yandex โ€ข Youtube โ€ข YTM
This you find in the ๐Ÿ›๏ธ Agora
๐Ÿค– AI assistant on 'clipboard management'
Generative AI services provided by Mistral AI. To save a generation into the Agora, for now please copy/paste into the document Stoa above.

Generating text...


๐Ÿ—ฃ๏ธ Stoas for [[clipboard management]]
A Stoa is a public space where people can meet and collaborate.
๐Ÿ“– Document at https://doc.anagora.org/clipboard management
๐Ÿ“น Meeting at https://framatalk.org/clipboard management
๐Ÿ“š Node [[clipboard management]]
๐Ÿ““ garden/flancian/clipboard management.md by @flancian ๏ธ๐Ÿ”— โœ๏ธ

clipboard management

One of my pet peeves while managing computers over VNC, like I do currently to communicate with [[nox]] mostly, is [[clipboard management]].

Iโ€™ve managed to do clipboard transfer [[nox]] -> laptop easily; I call it xclip-in:

ssh nox 'xclip -o -selection clipboard -d :0' | xclip -i -selection clipboard

But for some reason the other direction eludes me. That is, I canโ€™t seem to โ€˜pushโ€™ the clipboard from my laptop to nox. The following looks like it should work, but it doesnโ€™t; xclip -i just hangs forever:

xclip -o -selection clipboard | ssh nox 'xclip -i -selection clipboard -d :0'

If I strace the xclip -i call, I see a read() that contains the clipboard Iโ€™m trying to transfer โ€” and then an exit with 0. But the command never finishes.

Loading pushes...

Rendering context...