Clipman panel plugin incorrectly remembering mouse selections
Ralf Mardorf
ralf.mardorf at alice-dsl.net
Sat May 27 08:14:34 CEST 2023
On Thu, 2023-05-25 at 17:11 +0200, Markus Hönicka wrote:
>
> Presumably because this is how copying with the mouse has always
> worked in X11? Mark something with the left mouse button, paste it
> somewhere else with the middle button.
Hi,
this feature is still available when using
https://parcellite.sourceforge.net/?page_id=2 but the selected text
isn't in parcellite's history.
Ctrl+C or Ctrl+X or from a terminal Shift+Ctrl+C or ROXTerm's
Shift+Ctrl+Y (Shift+Ctrl+Y is for copy & paste by one step) or any of
those options by a right click menu or menu or related command line
command make it into parcellite's history.
Available as package by official repos
https://archlinux.org/packages/extra/x86_64/parcellite/
https://tracker.debian.org/pkg/parcellite
https://packages.ubuntu.com/jammy/parcellite
and probably by other distro's official repos, too.
On Thu, 2023-05-25 at 16:16 +0200, Guido Falsi wrote:
> AFAIK the selection buffer is something X11 does, cannot be disabled
> by clients (maybe there is an Xorg/Xserver configuration or option,
> never checked). I guess clipman is only displaying what gets put in
> there by Xorg.
"Freedesktop.org describes the two main selections as follows:
PRIMARY
Used for the currently selected text, even if it is not explicitly
copied, and for middle-mouse-click pasting. In some cases, pasting is
also possible with a keyboard shortcut.
CLIPBOARD
Used for explicit copy/paste commands involving keyboard shortcuts
or menu items. Hence, it behaves like the single-clipboard system on
Windows. Unlike PRIMARY, it can also handle multiple data formats."
- https://wiki.archlinux.org/title/clipboard
Regards,
Ralf
PS: I autostart parcellite with the "-n" option. Alternatively you can
start it via
xfce4-appfinder --collapsed
by launching
parcellite -n
but ensure that no other clipboard manager is running before starting
parcellite.
Ctrl+Alt+H shows the history
Ctrl+Alt+P shows the menu
I never used the "-p" option before. For testing purpose I've done it
right now, but the history still only contains clipboard content, no
primary content. After checking a primary option by the preferences, the
primary content is collected, too.
>From parcellite's help:
Usage:
parcellite [OPTION…]
Clipboard CLI usage examples:
echo "copied to clipboard" | parcellite
parcellite "copied to clipboard"
echo "copied to clipboard" | parcellite -c
Help Options:
-h, --help Show help options
Application Options:
-n, --no-icon Do not use status icon (Ctrl-Alt-P for menu)
-c, --clipboard Print clipboard contents
-p, --primary Print primary contents
-v, --version Display Version info
More information about the Xfce
mailing list