[Bug 188264] [patch] No way to paste primary selection in GTK Programs using x11-toolkits/gtk20 and x11/toolkits/gtk30
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 2 12:15:19 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188264
--- Comment #18 from Michael Danilov <mike.d.ft402 at gmail.com> ---
The problem with this patch is, in some programs for whatever reason it still
does not work, likely because they use own key bindings. And GNOME folks, as
well as some authors of GTK-based programs are never going to admit there is a
problem with that.
In case someone stumbles upon this, there are two workarounds that are better
than the solution: they work across all GUI toolkits, as not only GTK seems to
suffer from the same problem.
A) Sync primary selection and clipboard manually.
Assign window manager key bindings for x11/xsel-conrad (x11/xsel might work,
too):
$ xsel -p | xsel -b -i # Copy from primary to clipboard
$ xsel -b | xsel -p -i # Copy from clipboard to primary
B) Sync automatically.
This seems the best way. Has been around since at least 2009, but for some
reason is rarely if ever mentioned:
https://bbs.archlinux.org/viewtopic.php?id=22682 .
Run two instances of deskutils/autocutsel:
$ autocutsel -selection CLIPBOARD -fork
$ autocutsel -selection PRIMARY -fork
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gnome
mailing list