Linked by Thom Holwerda on Fri 5th Nov 2010 19:15 UTC, submitted by Debjit
Ubuntu, Kubuntu, Xubuntu Finally. Finally the leader of a major distribution who has the guts to stand up and say what a lot of people have known for a long time, but didn't dare to say because it usually leads to a storm of criticism. Mark Shuttleworth has announced that Ubuntu will be moving away from X.org, opting to go with Wayland instead.
Thread beginning with comment 448807
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: ...
by nbensa on Sat 6th Nov 2010 03:22 UTC in reply to "..."
nbensa
Member since:
2005-08-29

In my 10 years using Linux, I've never had a problem with C&P. Why so many people using Linux have problems with it?

What is not working?

Reply Parent Score: 3

RE[2]: ...
by smitty on Sat 6th Nov 2010 03:33 in reply to "RE: ..."
smitty Member since:
2005-10-13

In my 10 years using Linux, I've never had a problem with C&P. Why so many people using Linux have problems with it?

What is not working?

I believe there are 3 completely separate copy and paste systems running under Linux, and the one in X isn't even used by most people. They use the stuff that Gnome/KDE do instead. It would be nice to see all this consolidated into 1 Wayland system.

Reply Parent Score: 1

RE[3]: ...
by anda_skoa on Sat 6th Nov 2010 12:04 in reply to "RE[2]: ..."
anda_skoa Member since:
2005-07-07

I believe there are 3 completely separate copy and paste systems running under Linux, and the one in X isn't even used by most people. They use the stuff that Gnome/KDE do instead. It would be nice to see all this consolidated into 1 Wayland system.


There is only one system in X as well, but it can be used on multiple channels.
Mouse select and middle mouse button paste, keyboard/menu based copy&paste and drag&drop are all working through the same mechanism, just on different "channels."

Toolkits like GTK+, Qt, Java/AWT implement that mechanism and usually do provide access to all such channels, but always at least main clipboard and D&D.

A clipboard or D&D operation in X does at first not include any data, the source application announces that it can provide data and in which formats it can provide it.
The target application (where the drop occurs or where paste is performed) then asks for the data in the format it likes best.

Example: source application is a browser, a portion of text with markup is selected. In a copy operation is could announce text as text/plain without any formatting, as well as text/html, but also as an ODT (if it has export to OpenDocument capabilities).

Depending on the target's capabilities, it in turn can now select one of these and then the actual data transfer happens.

This even allows to transport data in an application or toolkit specific format in case both apps are the same or use the same toolkit.
For example a Java application will always announce a MIME type equivalent of java.lang.String when pasting text, allowing a target Java app to just get the serialized String object.

Reply Parent Score: 5

RE[2]: ...
by mr_pinsky on Sat 6th Nov 2010 08:19 in reply to "RE: ..."
mr_pinsky Member since:
2010-09-06

1. select some text in your web browser, hit CTRL+C
2. close the browser
3. open a text editor, hit CTRL+V
4. see what I mean?

Reply Parent Score: 3

RE[3]: ...
by Carewolf on Sun 7th Nov 2010 20:06 in reply to "RE[2]: ..."
Carewolf Member since:
2005-09-08

No. I am using KDE. This problem hasn't existed since 2.0

Reply Parent Score: 2

RE[3]: ...
by lemur2 on Sun 7th Nov 2010 23:54 in reply to "RE[2]: ..."
lemur2 Member since:
2007-02-17

1. select some text in your web browser, hit CTRL+C 2. close the browser 3. open a text editor, hit CTRL+V 4. see what I mean?


This is purely a GNOME issue (in the default configuration), I believe.

KDE uses klipper by default. This is a better clipboard than Windows XP had (I can't speak for Windows 7).

http://en.wikipedia.org/wiki/Klipper

Klipper has clipboard history, and it merges X selections and Ctrl-C selections if you want it to, or it can keep the two separate if you like.

"Keeping them separate" means you can do either of the folowing and they will not intefere with the other (i.e. you can have two different active clipboard selections at the same time, if the X clipboard and the Ctrl-C clipboard are kept separate):

X clipboard:
1. select some text in your web browser
2. with the browser still open, open a text editor, middle-click

Ctrl-C clipboard:
1. select some text in your web browser, hit CTRL+C
2. close the browser
3. open a text editor, hit CTRL+V

If you run klipper, which is part of KDE by default, then both copy-paste methods above are available at the same time, separate from each other. They can have different clipboard contents. If that is too confusing, then the two clipboards entry methods can be merged into the one combined clipboard, if you like.

For GNOME, one can choose to run Glipper instead, which offers similar functionality:
http://en.wikipedia.org/wiki/Glipper

Glipper is typically not installed by default, but it is a simple matter to add it.

KDE users by default, and GNOME users who have installed glipper, do not have the "problem" quoted above. It isn't actually a problem at all.

Reply Parent Score: 4