Bug#632184: gnome-terminal: improve manual on copy paste behavior
Timo Juhani Lindfors
timo.lindfors at iki.fi
Thu Jun 30 10:40:46 UTC 2011
Package: gnome-terminal
Version: 2.30.2-1
Severity: wishlist
Tags: patch
The manual says
"For all text selections, GNOME Terminal copies the selected text
into the clipboard when you release the mouse button."
but I think it should say
"For all text selections, GNOME Terminal copies the selected text
into the primary selection when you release the mouse button. The
primary selection is an alternative to clipboard."
This is the expected behavior and this is the behavior that
gnome-terminal actually currently implements. If you want to test you
can use the following script to see the contents of primary selection
and clipboard:
#!/bin/bash
function show_container {
name="$1"
cmd="$2"
escaped_data="`$cmd | cat -A | tr -d '\n' | cut --bytes=1-70`"
echo "$name: \"$escaped_data\""
}
for i in primary secondary clipboard; do
show_container $i "xclip -o -selection $i"
done;
for i in `seq 0 7`; do
show_container cut$i "xcb -p $i"
done
I've attached a patch against git head.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Describe-current-copy-paste-behavior-more-accurately.patch
Type: text/x-diff
Size: 3100 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20110630/eeace61c/attachment.patch>
-------------- next part --------------
-- System Information:
Debian Release: 6.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnome-terminal depends on:
ii gnome-terminal-data 2.30.2-1 Data files for the GNOME terminal
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libdbus-glib-1-2 0.88-2.1 simple interprocess messaging syst
ii libgconf2-4 2.28.1-6 GNOME configuration database syste
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface
ii libice6 2:1.0.6-2 X11 Inter-Client Exchange library
ii libpango1.0-0 1.28.3-1+squeeze2 Layout and rendering of internatio
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libvte9 1:0.24.3-2 Terminal emulator widget for GTK+
ii libx11-6 2:1.3.3-4 X11 client-side library
Versions of packages gnome-terminal recommends:
ii gvfs 1.6.4-3 userspace virtual filesystem - ser
ii yelp 2.30.1+webkit-1 Help browser for GNOME
gnome-terminal suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list