Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Jul 2016 12:15:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 188264] [patch] No way to paste primary selection in GTK Programs using x11-toolkits/gtk20 and x11/toolkits/gtk30
Message-ID:  <bug-188264-6497-9wC28gggG2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-188264-6497@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188264

--- Comment #18 from Michael Danilov <mike.d.ft402@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-188264-6497-9wC28gggG2>