You must be joking
You must be joking
Posted Nov 7, 2010 4:08 UTC (Sun) by dlang (guest, #313)In reply to: You must be joking by zander76
Parent article: LPC: Life after X
think about doing a text cut-n-paste between two terminal windows of different widths where the source is multiple lines, some of which wrap.
many windows apps do this wrong, most *nix apps handle this correctly.
Posted Nov 7, 2010 4:13 UTC (Sun)
by zander76 (guest, #6889)
[Link] (1 responses)
Posted Nov 7, 2010 4:35 UTC (Sun)
by zander76 (guest, #6889)
[Link]
Posted Nov 7, 2010 4:58 UTC (Sun)
by drag (guest, #31333)
[Link] (14 responses)
In Linux on Gnome:
1. Open up Gnome-terminal. Highlight some text and right click, select copy. Highlight some other text.
Notice how you have 2 copy-n-paste buffers. Highlighting text makes the first buffer go away and be replaced by new text. This makes it almost entirely worthless for anything except working with a terminal. Using middlelick copy is one of those habits I wish I can break myself from doing.
The second buffer works in a sane way.
Almost.
5. Open up firefox. Highlight some text, Right click copy.
Notice something wrong?
The only people that get it right are Gnome apps that religiously follow the HIG. Probably KDE-only apps get it right, too. Everybody else gets it wrong almost every single time. Some apps will clear everything out every time. Some apps will override one buffer with another in order to be helpful. All sorts of really weird and crappy behavior.
It's something that is fundamentally broken with X and has been since the beginning of time. I don't think there is any sane way to fix it as nobody has been able to do so. Even with aggressive clipboard managers it's still a bit hit or miss if it works sometimes.
Posted Nov 7, 2010 5:05 UTC (Sun)
by dlang (guest, #313)
[Link] (13 responses)
I do get annoyed once in a while by apps that use the second clipboard, and I've never taken the time to figure out the difference between the two. but for the most part I find that if just highlighting doesn't work, shift + highlighting almost always does.
Posted Nov 7, 2010 13:51 UTC (Sun)
by drag (guest, #31333)
[Link] (12 responses)
A simple example is try pasting a URL into your browser bar, at pretty much any point without opening a extra tag. Also many many times I'll lose my buffer by simply clicking on a terminal window and accidentally highlighting some whitespace or some tiny portion of text.
The advantage to the second buffer is mainly that you control when things are inserted. With a primary, traditional, X copy buffer it is often wiped out many times during the course of normal text manipulation in a GUI.
I wouldn't mind having 2 buffers at all except that how applications and X handles these buffers is broken. It's very inconsistent so you either have to learn how each and every application you typically use is going to behave, or you just end up having to copy stuff multiple times quite often.
Posted Nov 8, 2010 2:46 UTC (Mon)
by madscientist (subscriber, #16861)
[Link] (11 responses)
Posted Nov 8, 2010 3:39 UTC (Mon)
by dlang (guest, #313)
[Link] (2 responses)
Posted Nov 8, 2010 7:07 UTC (Mon)
by mp (subscriber, #5615)
[Link] (1 responses)
Posted Nov 8, 2010 7:14 UTC (Mon)
by dlang (guest, #313)
[Link]
Posted Nov 8, 2010 3:54 UTC (Mon)
by sfeam (subscriber, #2841)
[Link] (1 responses)
Posted Nov 8, 2010 15:53 UTC (Mon)
by jackb (guest, #41909)
[Link]
Posted Nov 8, 2010 8:56 UTC (Mon)
by nicooo (guest, #69134)
[Link]
Posted Nov 9, 2010 5:20 UTC (Tue)
by njs (subscriber, #40338)
[Link] (2 responses)
Posted Nov 14, 2010 4:57 UTC (Sun)
by tnoo (subscriber, #20427)
[Link] (1 responses)
Posted Nov 14, 2010 6:10 UTC (Sun)
by bronson (subscriber, #4806)
[Link]
Seems a rather weak reason to hate a browser.
Posted Nov 15, 2010 16:24 UTC (Mon)
by wookey (guest, #5501)
[Link]
Ctrl-U can still be made to work (as 'clear line/box'), but it gets harder to find the rune every year. A button to prod for the same function would indeed be a useful alternative.
Like many here I find middle-button paste to be one of the finest things about GNU/Linux, and it's extremely tiresome when you get apps that don't do it right. I really hope it does not get sacrificed as part of the GUI re-architecting that it looks like we are headed for.
I use remote-X-over-ssh for graphical apps fairly regularly and it's extremely useful, but accept the argument that we can achieve much the same effect by other means (SPICE/VNC/NX/whatever). I hope that does indeed come to pass.
Posted Nov 18, 2010 3:52 UTC (Thu)
by gmatht (guest, #58961)
[Link]
With Firefox, middle-click the icon to the left of the icon bar. However this does not work for searching for non-urls; see the patch to implement middle-clicking on the search icon at: https://bugzilla.mozilla.org/show_bug.cgi?id=414849. I would be particularly interested to know if you would find the functionality implemented by this patch useful.
You must be joking
You must be joking
You must be joking
2. Close out Gnome-terminal
3. Open up Gedit.
4. Middleclick to paste, then right click paste.
6. Close out firefox.
7. Attempt to paste text into Gedit.
You must be joking
You must be joking
You must be joking
You must be joking
You must be joking
You must be joking
a button on the browser bar that will clear the @#$% text when you press itYou must be joking
Konqueror has this, and I love it. That, the built-in site filtering, and the filebrowser are enough to keep me using konqueror rather than firefox.
You must be joking
You must be joking
You must be joking
You must be joking
You must be joking
You must be joking
A similar button does exist.