From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO autolearn=no version=3.2.3 X-Injected-Via-Gmane: http://gmane.org/ To: sisyphus@lists.altlinux.org From: Andrew Kornilov Date: Thu, 05 Jun 2008 12:28:43 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 213.179.231.210 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:wfnuWQXLl7qyK89CFemPVQ217bs= Sender: news Subject: [sisyphus] =?utf-8?q?X_clipboards_=D0=B8_autocutsel?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2008 09:35:03 -0000 Archived-At: List-Archive: List-Post: Всем привет. Тем, кто не любит несколько буферов обмена в 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. --