I've been looking for a Linux clipboard manager to use over SSH but they all error out with for example (on running SSH in Windows Warp to access a LAN Linux box):
echo "doodah" | xclip -selection c
Error: Can't open display: (null)
Here I am trying to copy to the X-11 clipboard in order to paste elsewhere inside the Linux box -- hope that's not too confusing!
Will your (eventual) clipboard manager work over SSH for this use case?
Interesting idea. Parcellite works better for me though. It's been around forever, captures both 'select' and 'copy' and can paste with a middle click or Ctl-v with or without formatting.
Klipper is great if you're using KDE and prefer something integrated with your desktop environment. It gives you a history, popup UI, and mouse-driven selection.
ClipCapsule is more minimal and focused on a keyboard-only workflow. The idea is that you can hit something like CTRL + SHIFT + 3 and instantly move that item to the top of your clipboard stack, so the next CTRL + V pastes it. No popups, no menus,just fast switching.
It’s also built in Go and Wails, and listens for raw keyboard events (currently X11-only), so it works outside of any particular desktop environment. Still early, but it’s aimed at people who prefer keeping their hands on the keyboard.
> so you won’t need the GUI open to use shortcuts
I've been looking for a Linux clipboard manager to use over SSH but they all error out with for example (on running SSH in Windows Warp to access a LAN Linux box):
Here I am trying to copy to the X-11 clipboard in order to paste elsewhere inside the Linux box -- hope that's not too confusing!Will your (eventual) clipboard manager work over SSH for this use case?
You can just connect to a running X session from an SSH shell; if your X server is on display :0 (usually the default), then you just
This even can work with Wayland, where it becomes (Note that AFAICT Wayland sessions number from 1 instead of 0)I assume this is X11 only or using one of the wayland protocols which is not supported by all major compositors?
(The exception likely being Gnome, which seems to be very set against implementing protocols allowing generic applications like this to work)
Yes, the current version is X11-only, and we’re using direct device access (e.g. reading from /dev/input/eventX) to detect global keyboard shortcuts.
Interesting idea. Parcellite works better for me though. It's been around forever, captures both 'select' and 'copy' and can paste with a middle click or Ctl-v with or without formatting.
Haven't heard of it. Will try it
how does this compare to KDE's Klipper?
https://userbase.kde.org/Klipper
Klipper is great if you're using KDE and prefer something integrated with your desktop environment. It gives you a history, popup UI, and mouse-driven selection.
ClipCapsule is more minimal and focused on a keyboard-only workflow. The idea is that you can hit something like CTRL + SHIFT + 3 and instantly move that item to the top of your clipboard stack, so the next CTRL + V pastes it. No popups, no menus,just fast switching.
It’s also built in Go and Wails, and listens for raw keyboard events (currently X11-only), so it works outside of any particular desktop environment. Still early, but it’s aimed at people who prefer keeping their hands on the keyboard.