xclip
- Description
- Copy&paste GUI clipboard from text terminal
- Latest
- xclip-1.11.1.tar (.sig), 2024-Sep-12, 20.0 KiB
- Maintainer
- Leo Liu <[email protected]>
- Website
- https://elpa.gnu.org/packages/xclip.html
- Browse repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install
or list-packages
.
Full description
This package allows Emacs to copy to and paste from the GUI clipboard when running in text terminal. It can use external command-line tools for that, which you may need to install in order for the package to work. More specifically, it can use the following tools: - Under X11: `xclip' or `xsel' (https://xclip.sourceforge.net and https://www.vergenet.net/~conrad/software/xsel/ respectively). - MacOS: `pbpaste/pbcopy' - Cygwin: `getclip/putclip' - Under Wayland: `wl-clipboard' (https://github.com/bugaevc/wl-clipboard) - Termux: `termux-clipboard-get/set' - Emacs: It can also use Emacs's built-in GUI support to talk to the GUI. This requires an Emacs built with GUI support. It uses `make-frame-on-display' which has been tested to work under X11, but it's not known whether it works under MacOS or Windows. To use, just add (xclip-mode 1) to your ~/.emacs or do `M-x clip-mode' after which the usual kill/yank commands will use the GUI selections according to `select-enable-clipboard/primary'. An alternative package for use under X11 is [Gpastel](https://gitlab.petton.fr/DamienCassou/gpastel), which uses [GPaste](https://github.com/Keruspe/GPaste/) rather than Xclip and hooks into Emacs in a different way. AFAICT it currently only supports copy/pasting from an external application to Emacs and not from Emacs to another application (for which it relies on the default code).
Old versions
xclip-1.11.tar.lz | 2024-Apr-24 | 4.66 KiB |
xclip-1.10.el.lz | 2020-Feb-13 | 5.27 KiB |
xclip-1.9.el.lz | 2019-Jul-02 | 4.99 KiB |
xclip-1.8.el.lz | 2019-Mar-11 | 4.62 KiB |
xclip-1.7.el.lz | 2018-Dec-12 | 4.58 KiB |
xclip-1.6.el.lz | 2018-Dec-11 | 4.18 KiB |
xclip-1.5.el.lz | 2018-Nov-19 | 3.89 KiB |
xclip-1.4.el.lz | 2017-Nov-09 | 3.14 KiB |
xclip-1.3.el.lz | 2013-Sep-07 | 2.08 KiB |
xclip-1.2.el.lz | 2013-Sep-06 | 2.07 KiB |
xclip-1.1.el.lz | 2013-Sep-05 | 1.87 KiB |
xclip-1.0.el.lz | 2012-Nov-29 | 1.69 KiB |
News
Since 1.11: - Bugfixes only so far. Changes in 1.11: - Add tentative WSL support Changes in 1.9: - Add support for Termux and Wayland. Changes in 1.7: - Add `emacs' method to use built-in GUI code i.s.o external executable.