AUTOCUTSEL(1)
π AUTOCUTSEL(1) π
okay bestie, sit DOWN, because autocutsel is about to fix the most annoying problem you didn't even know you had π it lives in the General Commands Manual section of the manual, and its whole entire job is keeping your X clipboard and your cutbuffer in sync. no cap.
β¨ NAME β¨
autocutsel β keep the X clipboard and the cutbuffer in sync π«Ά
πΈ SYNOPSIS πΈ
autocutsel [-selection selection_name] [-cutbuffer number] [-debug]
[-verbose] [-fork] [-pause milliseconds] [-buttonup]
π¦ DESCRIPTION π¦
So this manual page is a lil quick-and-dirty rundown of the autocutsel command. it's giving "briefly documents" energy, and honestly? valid.
fun lore: this page was written for the Debian distribution because the original program doesn't have a manual page. not me being the only source of truth here π iconic of Debian fr fr.
Now the actual tea β β autocutsel tracks changes in the server's cutbuffer and the clipboard selection. like a little guardian angel for your copy-paste:
- when the clipboard gets changed β it updates the cutbuffer
- when the cutbuffer gets changed β it owns the clipboard selection
and the cutbuffer and clipboard selection are always synchronized. periodt. π
and here's the part that makes it main character: since the VNC client synchronizes the Windows' clipboard and the server's cutbuffer, all three "clipboards" are always kept synchronized. so:
- you copy some text in Windows β the cutbuffer and the clipboard selection get updated β¨
- you copy text on the server, using either the cutbuffer or the clipboard selection β the Windows's clipboard is always updated π
all three, in lockstep, forever. slay.
π OPTIONS π
-selection,-select,-sel,-s{CLIPBOARD|PRIMARY} β specify which selection to use. default isCLIPBOARD. yes, it has four whole names, she contains multitudes π-cutbuffer<number> β (details of this parameter unknown.) that's it, that's the whole description, we simply do not know π-debug,-dβ run with debugging mode. for when you need to see everything π-verbose,-vβ be more verbose. it reports the version and announces synchronizations. she's a talker, we love her π£οΈ-fork,-fβ run as a daemon program in the background. this is recommended when used from an X startup script π§-pause,-p<milliseconds> β wait some milliseconds before owning the selection β³-buttonupβ get the selection only when the button 1 is not pressed. this may help with OpenOffice Writer π
π AUTHOR π
this manual page was written by Elmar S. Heeb <elmar@heebs.ch> for the Debian system (but may be used by others). permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. π«Ά
on Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. go read it if you want, bestie, it's right there π
lowkey the sweetest part? this whole thing is autocutsel version 0.9.0, dated 5 December 2007 β and it still hits different. no notes. πβ¨
periodt. go sync your clipboards, queen. π π
π¦ where this page comes from
- debian bookworm: autocutsel 0.10.1-1 Β· GPL-2.0-or-later
- debian trixie: autocutsel 0.10.1-1+b1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: autocutsel 0.10.1-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: autocutsel 0.10.1-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: autocutsel 0.10.1-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: autocutsel 0.10.1-bp160.1.13 Β· GPL-2.0-or-later
- ubuntu jammy: autocutsel 0.10.1-1 Β· GPL-2.0-or-later
- ubuntu noble: autocutsel 0.10.1-1build2 Β· GPL-2.0-or-later
- ubuntu resolute: autocutsel 0.10.1-1build3 Β· GPL-2.0-or-later
- ubuntu stonking: autocutsel 0.10.1-1build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms