ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] X clipboards и autocutsel
@ 2008-06-05  9:28 Andrew Kornilov
  2008-06-05  9:42 ` Michael A. Kangin
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Kornilov @ 2008-06-05  9:28 UTC (permalink / raw)
  To: sisyphus

Всем привет.

Тем, кто не любит несколько буферов обмена в X-ах так же, как и я (это когда
выделения мышью и Ctrl-C/Edit->Copy не совпадают), рекомендую
взглянуть на утилиту autocutsel (вчера прошла incoming). Очень укрепляет
нервную систему:

Autocutsel synchronizes the two copy/paste buffers mainly used by X
applications. It also unifies "clipboards" between VNC servers and Windows. 

Autocutsel tracks changes in the 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. Since the VNC client synchronizes the
Windows' clipboard and the server's cutbuffer, all three "clipboards" are
always kept synchronized. When you copy some text in Windows, the cutbuffer
and the CLIPBOARD selection are updated. When you copy text on the server
using either the cutbuffer or the CLIPBOARD selection, the Windows's clipboard
is always updated.

You can also use autocutsel to track the PRIMARY selection to copy text when
it's selected. To do this, simply run autocutsel with the arguments "-s PRIMARY"

Some softwares (like Open Office Writer) have 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.

-- 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-05 11:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-05  9:28 [sisyphus] X clipboards и autocutsel Andrew Kornilov
2008-06-05  9:42 ` Michael A. Kangin
2008-06-05  9:47   ` Mikhail Gusarov
2008-06-05 11:03     ` Igor Zubkov
2008-06-05 10:21   ` Andrew Kornilov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git