https://github.com/trapd00r/clipboard_to_primary
sync XA_CLIPBOARD to XA_PRIMARY selection buffers
https://github.com/trapd00r/clipboard_to_primary
clipboard gui paste terminal
Last synced: about 2 months ago
JSON representation
sync XA_CLIPBOARD to XA_PRIMARY selection buffers
- Host: GitHub
- URL: https://github.com/trapd00r/clipboard_to_primary
- Owner: trapd00r
- Created: 2018-12-24T08:02:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-08T08:06:30.000Z (about 2 years ago)
- Last Synced: 2025-01-05T10:42:55.255Z (over 1 year ago)
- Topics: clipboard, gui, paste, terminal
- Language: Perl
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NAME
clipboard\_to\_primary - sync XA\_CLIPBOARD to XA\_SELECTION X11 buffers
# SYNOPSIS
clipboard_to_primary [OPTIONS]
# DESCRIPTION
I rarely use any gui application, the exception being firefox with
tridactyl. For some reason you can't paste from the PRIMARY buffer in
firefox/tridactyl without using the mouse (and at times that doesn't
work either). This solves this issue by syncing the CLIPBOARD buffer
with the content of the PRIMARY selection so you can use Shift+Insert to
paste in gui applications as well.
The clipboard buffer to use is \*\*hardcoded\*\* in the gtk source:
["https://unix.stackexchange.com/questions/178070/why-does-shiftinsert-paste-from-clipboard-in-some-applications-and-primary-in-o"](#https-unix-stackexchange-com-questions-178070-why-does-shiftinsert-paste-from-clipboard-in-some-applications-and-primary-in-o)
# OPTIONS
-n, --no-daemon do not detach from the terminal
# AUTHOR
\ \ | / /
\ \ - /
\ | /
(O O)
( < )
(-=-)
Magnus Woldrich
CPAN ID: WOLDRICH
m@japh.se
http://japh.se
# REPORTING BUGS
Report bugs to [m@japh.se](https://metacpan.org/pod/m@japh.se) or [use the issue tracker](http://github.com/trapd00r/clipboard_to_primary/issues).
clipboard\_to\_primary home page: [http://github.com/trapd00r/clipboard\_to\_primary/](http://github.com/trapd00r/clipboard_to_primary/)
# COPYRIGHT
Copyright 2018- the **clipboard\_to\_primary**s ["AUTHOR"](#author) and ["CONTRIBUTORS"](#contributors) as listed
above.
# LICENSE
This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.