XCUTSEL(1)
π XCUTSEL(1) π
okay so hi bestie, welcome to xcutsel(1) from the General Commands Manual β she is literally the bridge between cut buffers and selections, and sheβs here to make apps that donβt speak selection and apps that do finally get along. π
β¨ NAME β¨
xcutsel β interchange between cut buffer and selection. thatβs the name, and she ate. π
π¦ SYNOPSIS π¦
xcutsel [ -toolkitoption ...] [-selection selection] [-cutbuffer number]
πΈ DESCRIPTION πΈ
xcutsel copies the current selection into a cut buffer, and it can also make a selection that contains the current contents of the cut buffer. sheβs the middle-bestie bridge between applications that donβt support selections and those that do. π«Ά
By default, xcutsel uses the selection named PRIMARY and the cut buffer CUT_BUFFER0. either one or both of those can be overridden by command line arguments or by resources. no cap. β¨
An xcutsel window has these buttons:
quitβ press this button andxcutselexits. any selections held byxcutselare automatically released. bye bestie. πcopy PRIMARY to 0β press this button andxcutselcopies the current selection into the cut buffer. periodt.copy 0 to PRIMARYβ press this button andxcutselconverts the current contents of the cut buffer into the selection. iconic.
The button labels reflect the selection and cutbuffer selected by command line options or through the resource database. π
When the copy 0 to PRIMARY button is activated, the button will remain inverted as long as xcutsel remains the owner of the selection. this serves to remind you which client owns the current selection. note that the value of the selection remains constant; if the cutbuffer is changed, you must again activate the copy button to retrieve the new value when desired. lowkey important. π
π OPTIONS π
xcutsel accepts all of the standard X Toolkit command line options as well as these:
-selectionname β specifies the name of the selection to use. the default isPRIMARY. the only supported abbreviations for this option are-select,-sel, and-s, as the standard toolkit option-selectionTimeouthas a similar name. iykyk. π-cutbuffernumber β specifies the cut buffer to use. the default is cut buffer0. slay. π₯
π X DEFAULTS π
This program accepts all of the standard X Toolkit resource names and classes as well as:
selection(classSelection) β this resource specifies the name of the selection to use. the default isPRIMARY.cutBuffer(classCutBuffer) β this resource specifies the number of the cut buffer to use. the default is0.
π§ WIDGET NAMES π§
The following instance names may be used when user configuration of the labels in them is desired:
sel-cut(classCommand) β this is thecopy SELECTION to BUFFERbutton.cut-sel(classCommand) β this is thecopy BUFFER to SELECTIONbutton.quit(classCommand) β this is thequitbutton.
π SEE ALSO π
X(7)xclipboard(1)xterm(1)- text widget documentation
- individual client documentation for how to make a selection
π BUGS π
big sigh: there is no way to change the name of the selection or the number of the cut buffer while the program is running. not me wanting hot-swap vibes and getting none. π
π AUTHOR π
Ralph R. Swick, DEC/MIT Project Athena β thank you king. π
okay thatβs the whole page, bestie π
footer vibe check: X Version 11 and xclipboard 1.1.5 β thatβs the source/version situation, and thereβs no date line here to quote, so weβre not making one up. π«Ά
π¦ where this page comes from
- epel 9: xclipboard 1.1.5-1.el9 Β· MIT-open-group
- fedora 43: xclipboard 1.1.5-3.fc43 Β· MIT-open-group
- fedora 44: xclipboard 1.1.5-4.fc44 Β· MIT-open-group
- opensuse-leap 16.0: xclipboard 1.1.5-bp160.1.12 Β· MIT
- opensuse-leap 16.0: xclipboard 1.1.5-bp160.1.12 Β· MIT
- opensuse-leap 16.0: xclipboard 1.1.5-bp160.1.12 Β· MIT
- opensuse-leap 16.0: xclipboard 1.1.5-bp160.1.12 Β· MIT
- Copyright 1994, 1998 The Open Group
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms