xclip
wl-clipboard
Our great sponsors
xclip | wl-clipboard | |
---|---|---|
13 | 20 | |
999 | 1,352 | |
- | - | |
0.0 | 6.2 | |
3 months ago | 8 days ago | |
C | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xclip
-
macOS Command-Line Tools You Might Not Know About
I find it so annoying that these only work with plain text and RTF. On X11 there is `xclip`[0] and on Wayland there is `wl-clipboard`[1] both of which support binary file formats either through parsing the header or explicitly setting the MIME type.
This means you can do things like copy an image from the terminal and paste it into a graphical program like a browser or chat client and vice-versa. Also can be very useful in shell scripts for desktop automation.
The workaround on MacOS is to use AppleScript via `osascript` to `set the clipboard to...`.
[0] https://github.com/astrand/xclip
-
shcopy: a command line utility that copies content from anywhere, locally, remotely, over SSH...
This reminds me of xclip.
-
Best program to paste premade text from a file to where the cursor is on a desktop environment
I haven't used it in a while but xclip is a thing for X11 and you can create your own keyboard shortcuts and present a window with zenity or something.
- What are some of your favorite CLI/TUI apps?
-
clipboard: error: Error: target STRING not available
This is apparently an issue with xclip, not Neovim: https://github.com/astrand/xclip/issues/38
-
Do you find yourself often deleting a ":wq<newline>" from nano before pressing <ctrl>-X?
Lately I've become a big fan of Micro. It's as portable as Nano. By default it uses the same shortcuts as typical desktop programs: Ctrl-S for save, Ctrl-Q for quit, Ctrl-C/Ctrl-V for copy/paste, etc. It integrates well with Linux desktops' clipboards by optionally using xclip. Just like Nano, it can have multiple files open for easy copy/pasting between files. But the best thing of all is that its scripting/plugin system is plain old Lua 5.1.
- A way to copy text to the clipboard in Linux?
-
xplr - A hackable, minimal, fast TUI file explorer
Requires: xclip
- Copie e Cole pelo terminal com Xclip
-
macOS Big Sur breaks PostgreSQL because of new security API
> How do you select text in your virtual terminal with the keyboard?
with xsel(1x) or xclip(1)
https://github.com/kfish/xsel
https://github.com/astrand/xclip
wl-clipboard
-
With Firefox on X11, any page can pastejack you anytime (middle button paste)
> things it doesn't support like xclip
https://github.com/bugaevc/wl-clipboard
$ cat ~/bin/clip
#!/bin/sh
-
How to enable Primary Selection and Clipboard?
With the default config I noticed I couldn't paste contents from the selection buffer in some applications, so I added the following wl-clipboard calls in my hyprland.conf:
- macOS Command-Line Tools You Might Not Know About
-
Announcing zp: zp is a cli command to copy the contents of the source file or of the std output buffer to the clipboard, allowing users to easily paste the contents into another file or program
This is just kinda how wayland works. The way wl-clipboard handles it is it forks off and stays in the background. That process is what serves the clipboard requests.
-
Attach file path from clipboard to mutt/neomutt email
On wayland wl-paste pastes the from the clipboard. On X11 replace wl-paste with either xsel --clipboard --output or xclip -selection clipboard -o
-
Clipboard 0.4.0 - Tack stuff on, copy 100x faster, and feast your eyes on beauty!
No, but there's a wl-clipboard for that
- Fast OCR to clipboard
-
Wayland Protocol Finally Ready for Fractional Scaling
Linux isn't very pleasant.
> choosing to have vsync enabled or disabled in games
See this thread? https://www.reddit.com/r/swaywm/comments/ntszm9/how_can_i_ma...
I'm not 100% sure what you're asking.
> EDIT: I should another important one for me: xclip, read from and write to the clipboard in the command line
https://github.com/bugaevc/wl-clipboard
-
How can I run a script with clipboard as the only parameter?
I just had a quick Google and xclip or wl-clipboard may be what you’re looking for. I’ve never used them but they sound promising.
-
I did some hack to integrate emacs in wsl2 with the windows host
For point 2 I found that wl-paste seems to share the windows clipboard. Taking a screenshot and then in WSL
What are some alternatives?
neovim - Vim-fork focused on extensibility and usability
clipman - A simple clipboard manager for Wayland
micro-editor - A modern and intuitive terminal-based text editor
GPaste - Clipboard management system
CopyQ - Clipboard manager with advanced features
autocutsel - automated xcutsel
kinto - Mac-style shortcut keys for Linux & Windows.
kanshi - Dynamic display configuration (mirror)
xplr.vim - Fork of https://github.com/mcchrish/nnn.vim modified to work with xplr. Until xplr has its own plugin.
sway - i3-compatible Wayland compositor
PostgresApp - The easiest way to get started with PostgreSQL on the Mac
grim - Grab images from a Wayland compositor