all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Stumped by pasting to another application in linux
Date: Wed, 15 Nov 2017 23:06:13 +0100	[thread overview]
Message-ID: <867euryz6y.fsf@zoho.com> (raw)
In-Reply-To: EDF57D5E-1788-421D-A2D8-579B44392829@mac.com

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




  reply	other threads:[~2017-11-15 22:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15 19:38 Stumped by pasting to another application in linux Bill Rising
2017-11-15 22:06 ` Emanuel Berg [this message]
2017-11-16  3:12 ` Kendall Shaw
2017-11-17  3:08 ` Kendall Shaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=867euryz6y.fsf@zoho.com \
    --to=moasen@zoho.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.