Standardized keyboard shortcut to paste PRIMARY?
Toni Ruottu
toni.ruottu at iki.fi
Sun Feb 25 05:32:07 PST 2007
> But, as I alluded, SECONDARY is almost forgotten, so it is OK to
> just add PRIMARY support.
>
> (BTW, do qt or gtk even have mouse support SECONDARY?
> If not, then kbd support is completely unnecessary.)
- ICCCM [1]
"
The selection named by the atom SECONDARY is used:
- As the second argument to commands taking two arguments
(for example, "exchange primary and secondary selections")
- As a means of obtaining data when there is a primary
selection and the user does not want to disturb it
"
- Current Freedesktop.org clipboard specification [2]
"No one ever does anything interesting with SECONDARY as far
as I can tell."
"possibly contradicting the ICCCM, clients don't need to
support SECONDARY, though if anyone can figure out what
it's good for they should feel free to use it for that"
- Frisco Rose, on Freedesktop.org Clipboards Wiki [3]
"
X application copy/paste proposal for atom SECONDARY
Extend default X copy paste functionality to include
paste over highlight without breaking current
mouse-highlight (copy) mouse middle-click (paste)
methods.
Practical use for the atom SECONDARY. If mouse-highlight
(HL) data is different from contents of atom PRIMARY,
duplicate atom PRIMARY into atom SECONDARY and put content
of (HL) in atom PRIMARY. Then on (HL) middle-click if (HL)
is same as atom PRIMARY contents paste data from atom
SECONDARY.
This keeps the existing behavior, implements additional
features and is not difficult to implement. Since atom
SECONDARY is mostly unused this would be a good use for
it - IMO.
"
- I [4] think we should work on standardizing behavior that Frisco
describes, as it does not have a big conflict with current
specification, it seems to improve usability a lot and it should
not bother an average user in anyway. In addition it is very
close seems to the use that the original ICCCM specification
states.
I don't think that we should not blindly look at the existing
implementations. Lets design for a sane future instead.
--Toni Ruottu
[1] http://tronche.com/gui/x/icccm/sec-2.html#s-2.6.1.2
[2] http://standards.freedesktop.org/clipboards-spec/clipboards-0.1.txt
[3] http://www.freedesktop.org/wiki/Standards_2fClipboardsWiki
[4] http://cs.helsinki.fi/u/twruottu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/xdg/attachments/20070225/e8bc192e/attachment.pgp
More information about the xdg
mailing list