help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Copy from emacs to Ubuntu clipboard


From: Bourgneuf Francois
Subject: RE: Copy from emacs to Ubuntu clipboard
Date: Mon, 15 Dec 2008 17:00:57 +0100

> -----Message d'origine-----
> De : 
> help-gnu-emacs-bounces+francois.bourgneuf=groupe-mma.fr@gnu.or
> g 
> [mailto:help-gnu-emacs-bounces+francois.bourgneuf=groupe-mma.f
> r@gnu.org] De la part de Teemu Likonen
> Envoyé : lundi 15 décembre 2008 09:04
> À : help-gnu-emacs@gnu.org
> Objet : Re: Copy from emacs to Ubuntu clipboard
> 
> Torben Knudsen (2008-12-15 08:47 +0100) wrote:
> 
> >>> How to copy from emacs to OS clipboard???
> 
> > What is the "Copy key"? I guess the paste key (outside 
> emacs) is C-v.
> >
> > I haave used some binding myself which some times get over writen
> > which is a little anoining. How do I avoid that?
> 
> I don't know if this is relevant but I have set the variable
> x-select-enable-clipboard to non-nil and I have always copy-pasted
> normally between Emacs and the rest of my KDE system.
> 
>     M-x customize-option RET x-select-enable-clipboard RET
> 
> 

On Linux, Emacs doesn't interact with the clipboard.
Just add these lines to your .emacs

;; make emacs use the clipboard
(setq x-select-enable-clipboard t)
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)

Bour9




reply via email to

[Prev in Thread] Current Thread [Next in Thread]