Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Problems with KDE and Clipboard.

Received: by 10.66.76.38 with SMTP id h6mr61467paw.15.1348662843927;
        Wed, 26 Sep 2012 05:34:03 -0700 (PDT)
Path: a8ni23580222pbd.1!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!usenet.stanford.edu!not-for-mail
From: Ian Barton <li...@wilkesley.net>
Newsgroups: gnu.emacs.help
Subject: Problems with KDE and Clipboard.
Date: Wed, 26 Sep 2012 13:30:44 +0100
Lines: 32
Approved: help-gnu-em...@gnu.org
Message-ID: <mailman.9768.1348662842.855.help-gnu-emacs@gnu.org>
Reply-To: i...@manor-farm.org
NNTP-Posting-Host: lists.gnu.org
Mime-Version: 1.0
X-Trace: usenet.stanford.edu 1348662843 3680 208.118.235.17 (26 Sep 2012 12:34:03 GMT)
X-Complaints-To: action@cs.stanford.edu
To: help-gnu-em...@gnu.org
Envelope-to: help-gnu-em...@gnu.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:15.0) Gecko/20120910 Thunderbird/15.0.1
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 109.74.196.44
X-BeenThere: help-gnu-em...@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-requ...@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-em...@gnu.org>
List-Help: <mailto:help-gnu-emacs-requ...@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-requ...@gnu.org?subject=subscribe>
Bytes: 2825
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Since upgrading to Emacs 24, I have been having problems copy/pasting 
between Emacs and other X applications. I am using Archlinux with KDE 
and my emacs is:

GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.4)
  of 2012-08-28 on shaun

Symptoms:

When I first start emacs I can copy/paste between something like Chrome 
and Emacs without a problem. However, after a while items I select from 
Klipper are not pasted into Emacs, but the last item from the Kill ring 
gets pasted instead. If I restart Emacs it works as I would expect for a 
certain number of copy pastes, but then the problem re-occurs.

Relevant sections from my .emacs:

(setq x-select-enable-clipboard t)      ;use system clipboard
(setq mouse-drag-copy-region nil)  ; stops selection with a mouse being 
immediately injected to the kill ring
(setq x-select-enable-primary nil)  ; stops killing/yanking interacting 
with primary X11 selection
(setq x-select-enable-clipboard t)  ; makes killing/yanking interact 
with clipboard X11 selection

I have read the Emacs wiki page about clipboard interaction, but can't 
see anything there that might help. My current setup works fine with 
Emacs 23.

Ian.