News for hackers. Stuff that matters.
Re:The sad state of Linux Wi-Fi by bri3d on Wednesday July 23, 2014 @03:24PM (#8076414)
In X, you have N selections referenced by atom. Two atoms (PRIMARY and CLIPBOARD) are sometimes used interchangeably by various software, leading to all sorts of shenanigans where for example selecting then middle clicking pastes something that was "Ctrl+Ced" elsewhere or vice versa.

Additionally, X selections aren't buffers - they're handles used asynchronously. So, when you paste, if the source application is dead or has mis-handled its state internally, you don't get what you expect.

These behaviors are patched over by clipboard managers which manage PRIMARY and CLIPBOARD interactions and which immediately copy the selection into a buffer to make it long-lived. However, each desktop environment's clipboard manager has gradually expanded to include all kinds of strange environment-specific metadata possibilities (to enable, i.e. "Paste Special" options from a spreadsheet).

Re:The sad state of Linux Wi-Fi by undersuit on Wednesday July 23, 2014 @07:27PM (#8077509)
This has some nice little side effects, like I can use the highlight -> middle-click action to get around JS in the browser that is triggered on copying text.

Not that I'm a fan of the situation, Keepass2/Mono break my routine everyday.