[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stumped by pasting to another application in linux
From: |
Emanuel Berg |
Subject: |
Re: Stumped by pasting to another application in linux |
Date: |
Wed, 15 Nov 2017 23:06:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Bill Rising wrote:
> I've been getting very vexed by
> the following.
>
> Goal: Take the clipboard contents and paste
> them into another application by using
> a shell script called by Emacs, followed by
> a Return. finally the paste of the text.
OK, so what application is it? Sure there isn't
a counterpart in Emacs which you not only can,
but *want* to migrate to, since it is probably
much better anyway and will solve all
integration issues implicitly?
If not, you can use this for X and Linux VTs
(if X is running at the same time):
http://user.it.uu.se/~embe8573/emacs-init/xsel.el
In the [M]ELPAs, there is an almost identical
file but that uses xclip instead xsel.
That makes sense, as xclip is a "command line
interface to X selections" while xsel is
a "command-line tool to access X clipboard" :)
--
underground experts united
http://user.it.uu.se/~embe8573