2022-02-06 05:26:05 +08:00
|
|
|
autocutsel (keep the X clipboard and the cutbuffer in sync)
|
|
|
|
|
2011-12-11 02:09:44 +08:00
|
|
|
Autocutsel tracks changes in the X server's cutbuffer and CLIPBOARD
|
|
|
|
selection. When the CLIPBOARD is changed, it updates the cutbuffer.
|
|
|
|
When the cutbuffer is changed, it owns the CLIPBOARD selection.
|
|
|
|
The cutbuffer and CLIPBOARD selection are always synchronized.
|
|
|
|
|
2022-02-06 05:26:05 +08:00
|
|
|
Autocutsel is mostly useful with window managers, since most desktop
|
|
|
|
environments today include their own clipboard managers. If you dont
|
|
|
|
use a display manager like KDM you can use autocutsel by adding an
|
|
|
|
entry to your $HOME/.xinitc file using the -fork option.
|
2014-06-09 09:09:48 +08:00
|
|
|
|
2022-02-06 05:26:05 +08:00
|
|
|
Some software (like OpenOffice Writer) has trouble when the PRIMARY
|
|
|
|
selection is requested before the mouse button is released. As a
|
|
|
|
workaround, you can run autocutsel with the "-buttonup" option and
|
|
|
|
it will only get the selection when the first mouse button is not
|
|
|
|
pressed.
|