Slashdot Mirror


Dealing with the Unix Copy and Paste Paradigm?

MolecularBear asks: "I grew up on Windows machines, using the ol' ctrl-c to copy and ctrl-v to paste. For the past few years I've been a hardcore Linux user, running it almost exclusively at home and at work. As I am sure you are all aware, highlighting text in Linux automatically performs a copy while the middle mouse button performs a paste. The Ctrl-c, Ctrl-v standard works in many applications, but not all. Lately I have begun to find the automatic highlight-copy to be annoying. As in, I'll highlight text to copy it, then realize I want to highlight a block of text for the purpose of deleting it. Of course, the second highlighting overwrites the first highlighting. I am curious about how other people accomplish their copy/paste needs. Any special setups, applications, or words of wisdom?"

1,125 comments

  1. Common problem.. by SeanTobin · · Score: 5, Insightful

    ..but I don't have a solution either :)

    What annoys me the most is when copying/pasteing URL's. I'll highlight&copy a url somewhere then I go and paste it into firefox. Out of habbit I'll go and highlight the current URL and control+v what I assume I'm pasteing... and end up with the same URL that I started with.

    Whats more interesting is that sometimes what control+v pastes is different from what the middle-click pastes. I'm sure there is a reason, and I'm also sure its my fault for not knowing it... but its still annoying..

    What I've come to do is to copy a link via control+c or highlighting then opening a new tab in firefox. I have firefox to open new tabs to blank URL's and then I just middle click or control+v the URL.

    Its a partial and flawed solution to a small part of your problem. Of course, this is Slashdot ;)

    --
    Karma: SELECT `karma` FROM `users` WHERE `userid`=138474;
    1. Re:Common problem.. by GigsVT · · Score: 5, Informative

      Whats more interesting is that sometimes what control+v pastes is different from what the middle-click pastes.

      Yeah, there's basically two clipboards. The one when you just highlight something, and the one where you click "copy" in the menu.

      The confusion comes when bugs in some programs confuse the two (or only implement one of them .. cough xchat cough). It's extremely hard to convince egotistical programmers that their clipboard behaviour is actually wrong and confusing to users.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    2. Re:Common problem.. by Coneasfast · · Score: 4, Insightful

      i think the problem is many toolkits/programs combine the primary/secondary 'clipboard' buffer.

      IIRC, what should happen is the primary selection (ctrl-c/ctrl-v) should be seperate from secondary selection (select text, then middle click)

      --
      Marge, get me your address book, 4 beers, and my conversation hat.
    3. Re:Common problem.. by nachoman · · Score: 3, Informative

      The difference between the select/middle-click paste and the Control-C/Control-V paste is because they each use different Clipboards. For instance if you are using KDE, The Control-C will copy to the KDE clipboard and the select with mouse will copy to the X-Windows clipboard.

      I think the reason for the two different Clipboards is because the KDE (Or gnome? Not sure if it works the same way) clipboard handles copying content other than plain text and the X-Windows one not.

    4. Re:Common problem.. by Klerck · · Score: 2, Informative

      You can press ctrl+l in firefox and it will take you to the address bar while simultaneously highlighting it. Since you didn't manually highlight it, it doesn't copy into the paste buffer, and you're free to paste the other URL you had in the buffer into the address bar.

    5. Re:Common problem.. by nizo · · Score: 1

      Ahh, but that is what Control-t (new tab) in mozilla/firefox is for :-) Nice new blank tab with no URL.

    6. Re:Common problem.. by Random+Web+Developer · · Score: 1

      not contradicting the problem (eg for the google search box in firefox i have no solution) but if you open a new tab (ctrl t) the url box is blank and you can paste by middle clicking.

      --
      Artists against online scams http://www.aa419.org/
    7. Re:Common problem.. by Anonymous Coward · · Score: 1, Funny

      I'll copy from my bookmarks URL with the solution for your problem:

      http://goatse.cx

      Ops, sorry. Wrong paste.

    8. Re:Common problem.. by mini+me · · Score: 1

      Just middle click in the HTML area, it will go to the URL you've copied.

      Assuming you don't have Autoscroll enabled.

    9. Re:Common problem.. by Apro+im · · Score: 2, Informative

      In GNOME, at least, i think there's a separate clipboard that's for Ctrl+C and Ctrl+V, so if you use those two, you can use normal windows-styl C&P

    10. Re:Common problem.. by Nightreaver · · Score: 0, Troll

      For you guys who don't want to run into the copy/paste problem:

      Click here

    11. Re:Common problem.. by ArmpitMan · · Score: 5, Insightful
      Does anyone else find the phrase "I'm sure there is a reason, and I'm also sure it's my fault for not knowing it" with respect to basic, everyday user interface tasks troubling?

      Because you really should.

    12. Re:Common problem.. by Coneasfast · · Score: 1

      uh, my mistake, primary selection is middle-click, secondary is ctrl-c/v

      --
      Marge, get me your address book, 4 beers, and my conversation hat.
    13. Re:Common problem.. by Anonymous Coward · · Score: 0

      That's because X has two different and separate clipboards.

      You have the SELECTION, which is what highlighting and middle-clicking is supposed to use.

      Then you have the CLIPBOARD, which is supposed to be the one ^C and ^V use.

      Now, if your toolkit/app doesn't follow this simple predictable protocol, complain or write a patch. Easy.

      I think a lot of the confusion stems from the fact that a lot of misguided programs, if there is no CLIPBOARD content, paste the SELECTION on ^V and vice-versa.

      The biggest flaw with X clipboards however is the fact that when the owner of the clipboard dies or quits, the contents of the clipboard also dies.

    14. Re:Common problem.. by forevermore · · Score: 4, Informative

      Don't forget that shift-insert is almost always used to paste the X clipboard (as opposed to the ctrl-c/ctrl-v one managed by the desktop environment). But then some programs (gecko browsers being the most annoying for me) go and alias this to the functionality of ctrl-v, so I have no keyboard equivalent for middle-click paste.

      --
      Do you really need reason for beer? Wingman Brewers
    15. Re:Common problem.. by RossyB · · Score: 4, Informative

      Urr, all wrong.

      Control-C/V will copy/paste the CLIPBOARD selection. Highlight/middle click will copy/paste the PRIMARY selection. No real applications use the SECONDAY selection, but it still exists.

      There is no difference between any of these clipboards, GNOME and KDE don't have their own clipboards (though KDE does have a daemon to collect copied data so that it persists after the application closes), and all X clipboards can handle any content type: it's the applications which don't support it.

      http://freedesktop.org/Standards/ClipboardsWiki is an excellent summary of the X clipboard.

    16. Re:Common problem.. by Anonymous Coward · · Score: 0

      Firefox 0.7 fixes this.

      When I click the URL for the first time, it highlights the entire URL, but does not copy it into the clipboard.

      This allows you to highlight some URL from another window, click the URL field in firefox, high the "delete" key, and then middle-click.

      Very nice.

      I noticed that my firefox at home does not support this, and I assume it is an older version.

    17. Re:Common problem.. by On+Lawn · · Score: 1

      I have seen the same thing. All I can say is that there seems to be two clipboards.

      To fix this, I've gotten in the habit of right clicking on URL's and saying "Open in New [Tab | Window]" or "Copy [Link | Image] Location". Its like trying to thread a needle sometimes picking up a URL (or other text) by highlight. I don't run Gnome or KDE so I can't drag and drop links (I wonder if ol' DnD can do it too).

    18. Re:Common problem.. by Bryan_W · · Score: 2, Funny

      What have YOU been doing to have that on your clipboard?

    19. Re:Common problem.. by Curtman · · Score: 1

      ctrl+j for the google bar too. At least it is in Linux anyway. Last time I was working with Firefox in Windows, I kept hitting ctrl+j out of habbit, and getting the page info dialog as seen in ctrl+i. They should fix that, its all fine and good having an application as widely ported as Firefox, but making it behave differently kills some of the fuzzies.

    20. Re:Common problem.. by psoriac · · Score: 2, Informative

      This annoyed the hell out of me too, until I realized that ctrl-L will highlight the current url *without* overwriting your other highlighted text. Then hit delete or backspace to clear the url bar, and middle-click to paste in the new url.

      At least, Mozilla on FreeBSD in X with WindowMaker does this. I can't claim it works on any other combo, which in itself is a discussion for another day.

      --
      I browse Slashdot at +3, Funny
    21. Re:Common problem.. by Anonymous Coward · · Score: 0

      No, "CLIPBOARD" is ctrl-x/c/v. "SECONDARY" only exists to confuse people.

    22. Re:Common problem.. by Anonymous Coward · · Score: 0

      On the one true good old *user* OS, namely MacOS,
      there has always been (starting from MacOS 1) a
      system wide "clipboard" manager, with an system API used by all applications...
      I wonder why there has been no "standard" API for this in X. Or does it exists but no programer uses it ?

    23. Re:Common problem.. by mackman · · Score: 0, Redundant

      Select the url you want to paste, type Ctrl-L to highlight the old URL without putting it in the clipboard, hit delete, then middle click to paste.

    24. Re:Common problem.. by irix · · Score: 5, Informative

      Yeah, there's basically two clipboards.

      Yup. The best explanation I know of how this works from someone who would know :)

      --

      Do you even know anything about perl? -- AC Replying to Tom Christiansen post.
    25. Re:Common problem.. by Anonymous Coward · · Score: 0

      So what you're saying is that a user should know basic things such as the in's and out's of the Clipboard on Linux? I could see if there was only 1 clipboard and the user didn't know how to use it. However, the user is confused by the 3 clipboards and how they function. I think that's pretty legitimate considering I've been working with Linux for 4+ years and still find myself in the same situations. Funny enough, before encountering your post... SO HAVE MANY MANY OTHER USERS!!! It must just be you.

    26. Re:Common problem.. by Anonymous Coward · · Score: 0

      Duh....

    27. Re:Common problem.. by DeadInSpace · · Score: 3, Informative
      I think the reason for the two different Clipboards is because the KDE (Or gnome? Not sure if it works the same way) clipboard handles copying content other than plain text and the X-Windows one not.
      Wrong. X' selections mechanism (which is a general data sharing mechanism that's also used for copy/paste) supports any kind of data, not just text. It's the widgetsets and/or applications that don't understand anything other than text. Luckily, this is improving as GTK and QT are working on this.

      From the ICCCM, section 2.6.2 (referring to data transferred through selections):
      The atom that a requestor supplies as the target of a ConvertSelection request determines the form of the data supplied. The set of such atoms is extensible, but a generally accepted base set of target atoms is needed. As a starting point for this, the following table contains those that have been suggested so far.
      From a document explaining X selections:
      One of the really cool, yet rarely used, features of the selection mechanism is that it can negotiate what data formats to use. It's not just about text. When one application asks another for the selection, part of their communication involves the requester asking the owner for the list of types in which they are capable of delivering the selection data; then the requester picks the format they like best, and asks for it that way.
      By the way, "X-Windows" doesn't exist, it's the "X Window System", or "X" for short.
    28. Re:Common problem.. by Anonymous Coward · · Score: 0
      "...Whats more interesting is that sometimes what control+v pastes is different from what the middle-click pastes. I'm sure there is a reason, and I'm also sure its my fault for not knowing it... but its still annoying..."
      It most definitely is not your fault; it is bad UI design. What you're doing is behaving in a manner consistent with how you believe the system operates. Good user interfaces strive to live up to the user's expectations. In this case, the expectation that pasting should work the same regardless of technique applied is not unreasonable.

      I'm sure that there are justifications that developers will put forth for this behavior, and to power users it may well be a feature rather than a design flaw... but these developers might better serve the Linux community by logging off their system and spending some time with a book such as Donald Norman's The Design of Everyday Things.
    29. Re:Common problem.. by g0_p · · Score: 1

      Out of habbit I'll go and highlight the current URL and control+v what I assume I'm pasteing... and end up with the same URL that I started with.

      In Mozilla, an easy way to delete the current URL without selecting it is to do a Alt-D followed by a Ctrl+Backspace. Then you can do a middle click to paste the new URL in the cleared space.

      I believe that the Unix versions of Mozilla purposely do not select the content of the address bar when you do a Alt+D (as compared to windows where an Alt+D selects the content in the Address bar) so that you do not end up accidentally erasing out out the content of your copy buffer.

    30. Re:Common problem.. by serviscope_minor · · Score: 1

      Whats more interesting is that sometimes what control+v pastes is different from what the middle-click pastes. I'm sure there is a reason, and I'm also sure its my fault for not knowing it... but its still annoying.

      There is a very good reason, as it happens, but unfortunately the behaviour is not widespread, which causes many people to complain about X, not the applications. Anyway, the reason is that X has many cut buffers. The primary buffer was made with fast, transient actions, like highlighting in mind. The secodary cut buffer is meant to be a little less dynamic and is supposed to be for actions like copy/paste key strokes (or keys, if you have a Sun). However, many programs only use the primary buffer. I believe that Firefox now gets this right. Kudos to the firefox team.

      -

      --
      SJW n. One who posts facts.
    31. Re:Common problem.. by ArmpitMan · · Score: 1
      I think you took my comment exactly backwards from how I meant it. I'm saying that the fact that you've been working with Linux for 4+ years and still have trouble with copy and paste means that something is pretty fucking seriously wrong with copy and paste. The clipboard is a vital piece of functionality, used by almost all users many times a day, and it's totally, hopelessly broken. A complete and utter failure of user interface design, in almost every imaginable respect.

      The fact that someone would blame themselves for not knowing how to work around such a blatant design flaw is troubling, to me.

    32. Re:Common problem.. by Mr+Z · · Score: 1

      You know, you can just middle-click anywhere in the HTML pane to paste your URL. At least, that works in Mozilla.

    33. Re:Common problem.. by Lussarn · · Score: 1

      Another way is to place the cursor in the addressbar and press ctrl+u to delete whats there. Press middle to paste in. This works on most textinputs. Gtk and QT too I think.

    34. Re:Common problem.. by puddpunk · · Score: 1

      KDE has "Klipper". You know that annoying little bastard (it can be disabled!!!) that pops up when you copy to the clipboard something it recognizes (such as a URL). While useful, that isn't it's best feature.

      It also keeps a "Clipboard History" of the last half-dozen or so (configureable) clipboard entries which you can easily switch between.

      Cheers,
      Chris.

    35. Re:Common problem.. by Anonymous Coward · · Score: 0

      Sounds like there's a serious problem with the interface.

    36. Re:Common problem.. by Autumnmist · · Score: 1

      Use one of these two Firefox extensions: "text/plain" or "text links"

      They allow you to open plaintext urls in a new tab/window.

      Plus, you can eliminate a lot of the URL opening issues by right-open-in-new-tab.

      --
      --- "Many of the truths we cling to depend greatly on our own point of view." ~ Ben Kenobi, 'Return of the Jedi'
    37. Re:Common problem.. by FreakWent · · Score: 1

      In Windows:

      mouse click home shift-end shift-del alt-tab -tab -tab shift-ins enter.

      Fastest way of all, try it. I use it all the time, as regular del kills the highlighted text.

      Now, in Linux, evolution email:

      mouse click home shift-end shift-del ---- hey, where's my email gone?

      Course, don't try it in windows with files, just text...

      Good keystroke navigation and copy/paste is a must for me on any GUI.

    38. Re:Common problem.. by boinger · · Score: 1

      I highlight, click into the address bar, press CTRL-U (line delete), then middle click.

      It's not perfect, but it works.

      --
      Send your friends messages of love at fuck-you.org
    39. Re:Common problem.. by Anonymous Coward · · Score: 0

      I once pasted (using CONTROL-V) a URL into an email to my boss suggesting he go have a look at an article relevant to our most important product line. (I work in the defense industry, and this was a new boss I was hoping to impress.)

      He forwarded that article on to his boss and so on and so on before looking at the URL.

      Unfortunately, the URL that was pasted was not the one I had just highlighted (given my UNIX habits), but the one I had copied into the buffer previously which was... ... a photo of the rock band DEVO from the early 80s.

      Let's just say I'm glad it wasn't a URL to goatse.

    40. Re:Common problem.. by spitzak · · Score: 1

      Wrong. In fact KDE and Gnome are doing what they were supposed to be doing all along, at least since the ICCCM standard was written in 1986 or so.

      Both KDE and Gnome and every other program that "works" uses the same clipboard, called CLIPBOARD. All programs (I suspect) use the clipboard called SELECTION for when you select text and when you click the middle mouse for paste.

      The problem is with programs that use SELECTION for the cut/paste commands. Unfortunatly to the user the correctly-working program appears to be broken, because it pasted the "wrong thing". In fact it was the program you did the cut/copy from that is broken.

      There is absolutely no solution except to replace the broken programs. In fact they would be better if you could just disable the cut/copy/paste keys and only let middle-mouse work.

      PS: my own code had exactly this problem. I fixed it, and so should everybody else. This is not a problem with KDE or Gnome or with the ICCCM design, it is a very common mistake done by idiots like me who did not realize that the middle-mouse is more like drag & drop than cut & paste.

    41. Re:Common problem.. by Hatta · · Score: 1

      What annoys me the most is when copying/pasteing URL's. I'll highlight&copy a url somewhere then I go and paste it into firefox. Out of habbit I'll go and highlight the current URL and control+v what I assume I'm pasteing... and end up with the same URL that I started with.

      Which is why we should have multiple clipboards. Yes, there is clipboard/primary/secondary, but what I'm thinking about is like the vi yank buffers. So if you copy something new, it doesn't delete the old selection, just pushes it to the next slot. I'd have to think about how to implement this elegantly. Right click-mouse wheel comes to mind, but amazingly there are people in this day and age that don't have mouse wheels.

      Seriously though, isn't this an obvious idea? vi has had multiple buffers for ages, why not X? Let's do some innovation based on 20+ years of unix culture instead of just copying microsoft.

      --
      Give me Classic Slashdot or give me death!
    42. Re:Common problem.. by Hatta · · Score: 1

      What annoys me the most is when copying/pasteing URL's. I'll highlight&copy a url somewhere then I go and paste it into firefox. Out of habbit I'll go and highlight the current URL and control+v what I assume I'm pasteing... and end up with the same URL that I started with.

      Oh good idea. More inconsistancy in cutting and pasting is exactly what we need.

      --
      Give me Classic Slashdot or give me death!
    43. Re:Common problem.. by RelentlessWeevilHowl · · Score: 1

      Repeat the following to yourself. "Xterm is broken." "Xterm is broken."

      When you drag the mouse in xterm, it defines the PRIMARY selection. This has the same meaning as it does on the Mac and Windows, in GTK and in Mozilla: this text is significant for later. The text gets highlighted. Now what?

      For everything else listed above, you run some sort of command and load that selection into the clipboard. As the ClipboardsWiki page mentioned above (http://freedesktop.org/Standards/ClipboardsWiki), PRIMARY is used as the argument to the "copy to clipboard" command.

      Xterm doesn't provide any way of setting the clipboard. It doesn't provide any way of getting the clipboard contents. Instead the middle mouse button is a completely different command: "insert text at cursor". The argument to this command is, once again, PRIMARY. The clipboard is completely bypassed. No wonder it doesn't work correctly.

      Various programs like rxvt and Emacs have inherited this broken behavior to be compatible with xterm. Luckily, modern terminal emulators like "gnome-terminal" have fixed it. You select the region with the mouse, then do an explicit copy to the clipboard. This can be with a right-click content menu, an entry on the menu-bar, or the chord "Ctrl-Shift-C". (Note that adding the "shift" modifier prevents it from conflicting with ordinary "Ctrl-C"). To paste at the cursor, there's an explicit command to read from the clipboard.

    44. Re:Common problem.. by Hatta · · Score: 1

      Nope, I think it's great when a user acknowledges his own incompetancy. That's the only way you'll learn.

      Suppose a person buys a manual transmission after ever only experiencing an automatic. He gets in to drive away and says "wtf there are three pedals!?!?" The wise user will then add "I'm sure there's a reason, and I'm also sure it's my fault for not knowing it." He can then go on and learn to enjoy the control provided by a stick shift. A clueless user on the other hand will return the car to the shop in a fit, failing to expand his horizons.

      Apologies for the tenuous and overused automobile analogy. But at least changing gears is a "basic, everyday user interface task"

      --
      Give me Classic Slashdot or give me death!
    45. Re:Common problem.. by thrykol · · Score: 1

      What annoys me the most is when copying/pasteing URL's. I'll highlight&copy a url somewhere then I go and paste it into firefox. Out of habbit I'll go and highlight the current URL and control+v what I assume I'm pasteing... and end up with the same URL that I started with.

      Solutions (Mozdev.org)

    46. Re:Common problem.. by Anonymous Coward · · Score: 0

      You are missing the point completely. Computer interfaces should be intuitive and natural. You shouldn't have to learn it -- you should be able to sit down and use it. If a certain interface doesn't allow you to do this, then it fails the basic purpose of a user interface.

      There should be no "learning curve" -- it should just work the way you expect it to from the beginning.

    47. Re:Common problem.. by Hatta · · Score: 1

      Good user interfaces strive to live up to the user's expectations.

      Nonsense. Good user interfaces strive to be functional. When I first started using the unix shell it was very different from the GUI I was used to, and even the DOS command line I was rather familiar with. It took me a long time to acclimate and I did spend quite a bit of time with the documentation in the beginning.

      Does this mean that the shell is a bad UI? No, because it's more powerful than either a GUI or DOS. I can do things with for loops and pipes and regex's that I never imagined were possible. And bash is now my preferred UI.

      Now, I'll grant you that the current situation with regards to cutting and pasting in X is badly designed. But I don't think copying windows is the way to fix it. As I posted elsewhere, I think multiple buffers a la vi are the answer. This would have to be different than windows, but it would be more powerful.

      Besides, why is what the windows user expects more important than what the vi user expects? Is good design based on the vagaries of fasion, or is it derived from principles?

      --
      Give me Classic Slashdot or give me death!
    48. Re:Common problem.. by Throtex · · Score: 1

      "A reasonable man adapts himself to the world around him. An unreasonable man expects the world to adapt to him. Therefore, all progress is made by unreasonable men."
      George Bernard Shaw

      The sequential manual gearbox is a fine example as to why your manual transmission analogy is no good.

    49. Re:Common problem.. by jrumney · · Score: 1
      Whats more interesting is that sometimes what control+v pastes is different from what the middle-click pastes.

      That is how it should be, to avoid the problem with Ctrl-V just pasting what you are trying to replace.

      X has a number of seperate selection mechanisms. The "primary selection" is what is currently highlighted, and is what should be pasted by the middle mouse button. The "clipboard" should be used by Ctrl-C/X/V (or Alt-C/X/V in Motif), and should require data to be explicitly put there. Then there is the "secondary selection", which most programs just ignore.

    50. Re:Common problem.. by Spacepup · · Score: 1

      If I highlight something and need to delete something else, I just place the cursor at the begining of the line I want to delete and then use crtl-k to delete it.

    51. Re:Common problem.. by BroncoInCalifornia · · Score: 1
      I think there are 3 clipboards!

      The X clipboard that nabs anything highlighted and pastes with the middle button.

      KDE (or is it Qt?) has a clipboard that works in more the way we think it should work.

      Gnome ( or is it GTk ? ) seems to have it's own clipboard too!

      --

      Religion is the main cause of atheism.

    52. Re:Common problem.. by sydb · · Score: 1

      OK so shift-insert is paste (I'm sure this was an early dos/windows shortcut too) but what's cut/copy? shift-delete did this in windows 3.1 or something... but won't work for me in X.

      --
      Yours Sincerely, Michael.
    53. Re:Common problem.. by KrizDog · · Score: 1

      I agree this is a major problem in user interfaces, I have been using Unix for many years and I occasinally learn new stuff, but mostly from other people. I had no clue there were multiple clipboard until this article, probably cause i dont use kde/gnome....
      One of the most important things to a user interface is feedback. Unfortunatly this feedback is too often limited to single actions. User interface should suggest faster methods of doing things. If it sees you doing something with 4 actions that could have been done in 1, it should tell you.
      I have many things to do in a day, besides learning the subtlties of various everchanging software. If you made something easier to do and you see me doing it the stupid way, let me know. That's the UI's job.
      I know this is no simple task, but by no means impossible.

    54. Re:Common problem.. by vladkrupin · · Score: 1

      Very troubling indeed. Especially when coming user with a low slashdot ID (138474).

      No, I am not saying the user is dumb. What I am saying is that if a slashdot geek with years of slashdot "experience" (whatever that is) has a problem with this rather basic functionality, how can I expect my grandma to figure that out?

      --footnote--
      I am exceptionally fortunate that my wife is using my linux box with little or no complaints, but my grandma would be really, really lost... but then you have to ask yourself if you really want your grandma to use your box at all

      --

      Jobs? Which jobs?
    55. Re:Common problem.. by Hatta · · Score: 2, Insightful

      Come on. Everything is learned. Forget who said it, but "The only intuitive user interface is the nipple." If you had your way, the only way to use anything would be to suck on it, and that doesn't give you much granularity of control. Hell, even the human-human interface isn't entirely intuitive. Language, surprise, is learned.

      --
      Give me Classic Slashdot or give me death!
    56. Re:Common problem.. by ArmpitMan · · Score: 1
      You know, Ctrl-C/Ctrl-V is the manual transmission of your story, really. The middle-click method makes an assumption about when you want to copy (switch gears) which are often less than optimal and that there's no real way to control. I mean, sure it's efficient, when it's right.

      Now, pretending for a moment that the middle-click system wasn't so deficient that an entirely different mode of copy/paste is needed alongside it to make up for its shortcomings, are you saying the clueless user shouldn't be allowed to drive an automatic? That it's somehow a failing that he wants technology to solve his problems, rather than aggrivate them? That he should be strapped down and educated for his own good?

      I mean, there needs to be a balance, here. I agree, the user shouldn't say, "This is bullshit, why can't the machine read my mind?", but he also shouldn't say, "This is a poorly thought out piece of garbage, but I'll put up with it anyway, and maybe even learn to like it one day." You need to look at it critically, see both its good and bad points. Then you can say whether it fits your needs or doesn't.

      The needs for cut and paste: Efficient, easy to learn, hard to fuck up. There just aren't really very many good points about middle-clicking with those goals in mind. The efficiency gains from not having to explicity copy, in my mind, are negated by the much higher complexity of the mental model needed to support two modes of cut/paste at once. Especially when many applications are broken, only supporting one or the other, or maybe even combining them. And it's important to realize that the applications are broken precisely because the model was too complicated. The programmers couldn't be bothered to figure it out properly when it came time to implement cut/paste functionality. Hardly the mark of the Right Way To Do Things!

      However, you've learned, probably after a fair bit of training, to use it properly. Great! I'm happy that you are able to navigate the minefield by heart and have become more productive for it. More power to the power users, I say! But it's still a fucking minefield. It's not something you want to force on everybody. And nobody is going to clean it up unless someone points out that it's there.

    57. Re:Common problem.. by Anonymous Coward · · Score: 1, Interesting

      I don't agree, at least for current state of the art. Too often, the more "user friendly" an interface becomes, the less useful it is. The thing about a learning curve is, as I use the thing, I get better at it. Some programs have a long learning curve, which means I can get really good at using the program. At that point, the interface melts away, and I am interacting with my ideas.

      Emacs and vi have long learning curves. Notepad has all options visible and simple to understand. For those who use editors for hours on end, the simplified interface becomes a liability, where the "hard" interface becomes almost thought control.

      As an engineer, I've been watching nice, thorough, programmable Unix-like interfaces being replaced by "user friendly" Windows interfaces. I'm becoming less efficient accordingly.

      Now, someone could probably design an interface that would be easy to use while being backed up by a powerful, configurable UI engine. If they could then make the steps to go to the next level easy and obvious, then we would have a really cool engine. Everyone starts out the same, with an easy standard interface. Everyone ends up with an interface that exactly meets their needs (by their choice, not the computer's). Then I would agree with you.

    58. Re:Common problem.. by 42forty-two42 · · Score: 1

      I'm sure there's a reason why people think this. It's probably my fault that I don't know it, though.

    59. Re:Common problem.. by jonnystiph · · Score: 1

      This annoyed the hell out of me too, until I realized that ctrl-L will highlight the current url *without* overwriting your other highlighted text. Then hit delete or backspace to clear the url bar, and middle-click to paste in the new url.

      At least, Mozilla on FreeBSD in X with WindowMaker does this. I can't claim it works on any other combo, which in itself is a discussion for another day


      Just for sake of flogging dead horses and stating the obvious, yes this works on Linux too. (Config:slack,X,mozilla,fluxbox)

      --

      If we don't make light of everything, we are just stumbling in the dark - Blank

    60. Re:Common problem.. by IdleTime · · Score: 1

      I use Clippy... err... Klipper I mean :)

      --
      If you mod me down, I *will* introduce you to my sister!
    61. Re:Common problem.. by Hatta · · Score: 1

      "A reasonable man adapts himself to the world around him. An unreasonable man expects the world to adapt to him. Therefore, all progress is made by unreasonable men."



      You realize of course that this quote could apply just as well to ghe X developers who have not adapted to the windows way of doing thins.

      The sequential manual gearbox is a fine example as to why your manual transmission analogy is no good.

      Perhaps, if I knew what that was I could comment more. I still believe that there are cases where consistancy must be sacrificed for functionality. This may or may not be one of them, but to expect everything to be obvious and elegant ignores a lot of complexity in the world.

      --
      Give me Classic Slashdot or give me death!
    62. Re:Common problem.. by Anonymous Coward · · Score: 0

      > You realize of course that this quote could apply just as well to ghe X developers who have not adapted
      > to the windows way of doing thins. ...or the Windows developers not adapting to the X way of doing things...

    63. Re:Common problem.. by swillden · · Score: 1

      are you saying the clueless user shouldn't be allowed to drive an automatic?

      It seems like you're saying all users should be required to drive the stick, clueless or not. Let the clueless users use Ctrl-C/Ctrl-V, it works, it's reliable, it's simple. When they get ready to add something new to their skill set, show them select and middle-click -- it's more efficient for the cases in which it works.

      Where's the problem?

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    64. Re:Common problem.. by David+Jao · · Score: 1
      ctrl-L will highlight the current url *without* overwriting your other highlighted text. Then hit delete or backspace to clear the url bar, and middle-click to paste in the new url.

      The quickest way to paste a new URL into mozilla on Linux (and, I assume, FreeBSD as well) is to middle click directly into the main browser window. As long as you don't middle click a hyperlink, the browser will automatically load the pasted URL.

    65. Re:Common problem.. by Anonymous Coward · · Score: 0

      > What I am saying is that if a slashdot geek with years of slashdot "experience" (whatever that is) has
      > a problem with this rather basic functionality, how can I expect my grandma to figure that out?

      Why is it automatically assumed that the Windows way is intuitive?

      Not *more* intuitive, just intuitive. I've had/heard/seen this argument before - and it's often completely ignored by the person making said argument that all computer interfaces are learned, none of them are truly intuitive. They are only intuitive once you're familiar with them - which is really internal consistancy with the interface.

    66. Re:Common problem.. by ArmpitMan · · Score: 2, Insightful
      Not quite -- imagine, if you will, if I rolled out of the lot with a hybrid manual/automatic car. The smarmy used car salesmen is smiling and waving as he says to me, "You don't want to worry about shifting gears? Just don't touch the clutch. No problem!"

      The user, slightly wary, but trusting, cruises along in his slightly strange car. A song comes up on the radio that the user has a particularly passionate hatred for, so he fiddles with the dial to find a new station.

      Suddely, the engine sputters out and stalls. The hapless user manages to make it to the side of the road before the car dies completely. Irate, he calls the dealer on his celphone. "Oh, were you listening to 98.3FM?", he says. "Yeah, that station doesn't support the automatic transmission; you have to switch to manual if you want to listen to it. Don't worry! You'll get used to it."

      The problem? Because the scheme is so complicated, and because it got changed several times over the lifetime of X, developers haven't always properly supported it. And so, with some programs, Ctrl-C/Ctrl-V simply doesn't work. And then what does old Aunt Grandma User get told by her well-meaning Unix-expert grandnephewson? "Oh, that program works a little differently -- here, let me show you how to do it." She gets confused, forgets which program to use which technique in, tries to paste in a URL with the middle mouse button and all hell breaks loose. "This UNIX stuff is like reading Greek backwards while underwater!" she exclaims. And a little piece of Linux on the desktop dies.

      Turn the middle-click off by default. Let the power-users enable it explicitly if they want it.

    67. Re:Common problem.. by Guy+Harris · · Score: 1
      I think there are 3 clipboards!

      There are three things called "selections" in X terminology, only one of which is properly called a "clipboard" (otherwise, you run the risk of confusing the heck out of people used to the meaning of "clipboard" in other GUIs):

      1. the PRIMARY selection;
      2. the SECONDARY selection;
      3. the CLIPBOARD selection.

      The SECONDARY selection, however, is not used by many toolkits; I think XView (Sun's OPEN LOOK-ified port of their old toolkit for their old pre-X11 and pre-NeWS window system) and OLIT (AT&T's Xt-based OPEN LOOK toolkit) might have used it, but I don't know of any other toolkits that do.

      The X clipboard that nabs anything highlighted and pastes with the middle button.

      That's the PRIMARY selection.

      KDE (or is it Qt?) has a clipboard that works in more the way we think it should work.

      It's Qt, and it's the CLIPBOARD selection, although Qt prior to 3.0 (hence, KDE prior to 3.0) didn't, as I remember, use it at all, it used the PRIMARY selection as the clipboard - 3.0 and later use CLIPBOARD for that.

      Gnome ( or is it GTk ? ) seems to have it's own clipboard too!

      Really? It should just be using CLIPBOARD; what behaviors lead you to think it's using something different from KDE 3.x?

    68. Re:Common problem.. by Qzukk · · Score: 1

      Whats more interesting is that sometimes what control+v pastes is different from what the middle-click pastes.

      The reason is that there are actually more than one copy and paste buffer in operation. Normally there are two in X, a selection buffer (which uses the currently highlighted selection to paste) and the cut buffer. The program xcutsel lets you swap between the selection and the cut buffer for applications that don't support one or the other.

      The third case is an application buffer. This is typically what you're using when you hit ctrl-v or ctrl-c, unless the application specifically captures these keypresses and handles the events required to make them use the cut buffer or selection buffer itself. Applications using the KDE or Gnome libraries have the benefit of already having this work done with them, with the additional bonus of being compatible with other KDE or Gnome programs. But, you get the penalty of not having things work the way you expect when dealing with other applications that don't use the same buffer.

      Also, the reason that control C, V, and X don't do anything by default is because they were already being used as control sequences. It'd suck if you couldn't stop the program you were running because ^C was remapped to do something else.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    69. Re:Common problem.. by shaitand · · Score: 1

      Never heard of using shift anything to cut/paste myself.

      keyboard
      ctrl+x should cut
      ctrl+v should copy
      ctrl+p should paste

      mouse
      select+rightclick+copy should copy
      ''+''+cut should cut
      ''+''+paste should paste

      This of course isn't just windows behavior, but the behavior of the known gui world.

    70. Re:Common problem.. by norsk_hedensk · · Score: 1

      if you ctrl c something then highlight something you may find you will have two different things you can now paste. using ctrl v, you will paste what you copied with ctrl c, and using middle click you will paste what youve copied with selecting. its like having two clipboards, makes it even better!

    71. Re:Common problem.. by shaitand · · Score: 1

      I'd disagree, I like middle-click just fine, but it would be better to add support to the terminals for the control, right-click and edit menu options and drop middle-click if it was one or the other.

      middle-click is x windows only, the others are the de facto standard in the graphical world (not just windows).

    72. Re:Common problem.. by whereiswaldo · · Score: 1

      As I've said before, user input needs to be treated like gold. You can't just go overwriting it. With Windows, I can copy something to the clipboard and not worry that something will overwrite it without my direct action. With Linux distro's, they are getting better, but user input is still not treated like gold. It gets overwritten easily and unintentionally. This needs to be changed.

    73. Re:Common problem.. by jonadab · · Score: 1

      > IIRC, what should happen is the primary selection (ctrl-c/ctrl-v) should
      > be seperate from secondary selection (select text, then middle click)

      This creates serious problems when going from one application to another.
      IMO, there should only be *one* clipboard, and *all* applications and toolkits
      should support it. It is not necessary for the same keystroke (or mouse)
      combination to be used in all applications, but *whatever* keystrokes (or
      mousestrokes) are used for copy and paste in any given application should
      interoperate with the *same* clipboard used by all other applications.

      Currently this is not the case. There are for example significant issues
      with moving stuff back and forth between Mozilla and Emacs, under X11. I
      don't have this problem with the same applications on Windows. (I have
      other problems under Windows, but they're not relevant to this thread.)

      I don't know (or care) whether the problem is with X11's having multiple
      clipboards or whether the problem is with applications supporting them
      improperly; what I do know (and care about) is that it's not obvious how
      to copy and paste information between applications that use different
      toolkits, and that's bad.

      The other annoying thing about highlight/middle-click copying and pasting is
      that it requires me to put my hand on the mouse. I should *NOT* have to put
      my hand on the mouse to copy and paste when I'm typing. All applications
      and toolkits SHOULD support a form of copying and pasting that can be done
      with the keyboard -- and it should use the same one clipboard as all other
      applications.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    74. Re:Common problem.. by Ed209 · · Score: 2, Insightful

      Try Control-Insert for copy. Cut is supposed to be Shift-Delete (it works in Windows). These are what I learned originally for cut/copy/paste, don't know where from, somewhere in the dos world. Ctrl-c/v/x are still uncomfortable for me. Shift-delete works in Mandrake under KDE, though I don't know if its X, KDE, or the application (Mozilla) that is providing the functionality.

      --
      If at first you dont succeed, relax, success is overrated anyway.
    75. Re:Common problem.. by vindaci · · Score: 1
      Here's some extra information from the VIM help menu (`:help "+`):

      There are three documented X selections: PRIMARY (which is expected to represent the current visual selection - as in Vim's Visual mode), SECONDARY (which is ill-defined) and CLIPBOARD (which is expected to be used for cut, copy and paste operations).

      Of these three, Vim uses PRIMARY when reading and writing the "* register (hence when the X11 selections are available, Vim sets a default value for |'clipboard'| of "autoselect"), and CLIPBOARD when reading and writing the "+ register. Vim does not access the SECONDARY selection.

      Examples: (assuming the default option values)

      • Select an URL in Visual mode in Vim. Go to a text field in Netscape and click the middle mouse button. The selected text will be inserted (hopefully!).
      • Select some text in Netscape by dragging with the mouse. Go to Vim and press the middle mouse button: The selected text is inserted.
      • Select some text in Vim and do "+y. Go to Netscape, select some text in a textfield by dragging with the mouse. Now use the right mouse button and select "Paste" from the popup menu. The selected text is overwritten by the text from Vim.

      Note that the text in the "+ register remains available when making a Visual selection, which makes other text available in the "* register. That allows overwriting selected text.

      The netscape example works with Mozilla, Epiphany, and Konquoror on my system (Debian unstable). Furthermore, what I copy in Mozilla pastes under Konqueror, and vice versa, and what I select in Mozilla middle-clicks fine under Konqueror, and vice versa. It appears all the apps are simply following the standards to me?

    76. Re:Common problem.. by fyoory · · Score: 0

      Perhaps THAT explains why the secondary clipboard selection isnt used, its hard coded to goat.cx.

    77. Re:Common problem.. by Anonymous Coward · · Score: 0

      Konqueror (KDE) has an X> button next to the Location URL field that you can use to clear the field.

    78. Re:Common problem.. by jonadab · · Score: 1

      > Currently this is not the case. There are for example significant issues
      > with moving stuff back and forth between Mozilla and Emacs, under X11.

      For the record, this thread motivated me to figure out the problem here.
      Apparently x-select-enable-clipboard has a default value of nil (hysterical
      raisins, no doubt), but to get the correct behavior it must be set to t.

      Well, that solves my problem for Emacs, but Emacs wasn't the only app I ever
      had this problem with under X11, only the most important one. And it irks me
      that the default is the clearly wrong behavior.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    79. Re:Common problem.. by jonadab · · Score: 1

      > Now, I'll grant you that the current situation with regards to cutting and
      > pasting in X is badly designed. But I don't think copying windows is the way
      > to fix it. As I posted elsewhere, I think multiple buffers a la vi are the
      > answer.

      Why not a kill ring, a la Emacs?

      Yes, that's tongue-in-cheek; as an avid Emacs user[1], I've yet to discover a
      use for the kill ring beyond the top entry -- and as an avid X11 user, I've
      yet to discover a use for having more than one clipboard, unless you count
      confusing people as a "use". There are quite a lot of things I dislike about
      Windows, but the cliboard is *NOT* one of them; it works, it works right, it
      works in virtually all applications, and it works that way every single time.
      And you don't lose the clipboard contents when you close an app, either. If
      other aspects of Windows were as solid as the clipboard, I'd probably still
      be using it.

      I'm not generally a big fan of copying Windows, but for this we should make
      an exception (or, think of it as copying Mac if you prefer, or the BeOS).

      [1] In the "know and use Emacs lisp regularly" category. I have a rather
      sizeable collection of custom lisp that automates a lot of stuff for
      me, and hardly any of my keystrokes still have their default bindings.
      I use Gnus for email and eshell for commandline stuff. If there were
      a real use for the kill ring, one of the people on gnu.emacs.help would
      have pointed it out to me. Kai probably would have posted a useful tip
      about it, or something. Anyway, I'd know.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    80. Re:Common problem.. by Anonymous Coward · · Score: 0

      This is pure bullshit.

      The only reason some user interfaces appear more "intuitive" is because they resemble interfaces people started to use early on.

      As computers become a more integrated part of culture and people start using them more, this problem is going to disappear. Have you ever wondered why we only worry about grandma have trouble with the linux desktop? Why not Junior? Because Junior started using computers when he was 5 and knows almost as much as you.

    81. Re:Common problem.. by Anonymous Coward · · Score: 0

      Nobody suggested that Windows should follow X in this regard. Windows has always been, and will always be "One Microsoft Way". Don't expect choice there.

      The problem here is that some people want to get rid of choice, although nobody forces them to learn both ways. They can continue to use the windows way, and never discover "PRIMARY". There are a few buggy apps, but these whould be fixed, instead of removing functionality.

    82. Re:Common problem.. by pamri · · Score: 1

      In konqueror, there is a nice button to clear the current URL. On mozilla & firefox, install the diggler extension, which provides the same function.

    83. Re:Common problem.. by markscarbrough · · Score: 1

      One thing I will say though is that the linux desktops seem to have developed a "clipboard history" which I can't seem to find on mac or windows desktops. I wish I could because I find that thing tremendously useful.

    84. Re:Common problem.. by jimmyharris · · Score: 1

      Shouldn't it be:

      ctrl+x cuts
      ctrl+c copies
      ctrl+v pastes

      The idea being that x, c and v are right next to each other and easy to use with one hand in conjunction with the ctrl key. No jokes about what the other hand is doing...

    85. Re:Common problem.. by doom · · Score: 1
      Besides, why is what the windows user expects more important than what the vi user expects? Is good design based on the vagaries of fasion, or is it derived from principles?
      But if you cared about principles you'd probably be using emacs.
    86. Re:Common problem.. by INT+21h · · Score: 1

      Why not the other way around? I only use select/middleclick, except in vim :)

    87. Re:Common problem.. by God!+Awful+2 · · Score: 1

      What annoys me the most is when copying/pasteing URL's. I'll highlight&copy a url somewhere then I go and paste it into firefox. Out of habbit I'll go and highlight the current URL and control+v what I assume I'm pasteing... and end up with the same URL that I started with.

      Okay, is it just me but when I highlight the address bar in Firefox and pause for about 1 second, some stupid Mozilla menu pops up in the bottom right portion of my screen and then it usually opens a new e-mail. It is completely puzzling to me.

      Logical and coherent Cut&Paste support is one of the best things about Windows and one of the worst things about Linux. If you want to know what needs to be improved about Linux before we can start teaching it to soccer moms, that would be a good start.

      -a

    88. Re:Common problem.. by rifter · · Score: 1

      What annoys me the most is when copying/pasteing URL's. I'll highlight&copy a url somewhere then I go and paste it into firefox. Out of habbit I'll go and highlight the current URL and control+v what I assume I'm pasteing... and end up with the same URL that I started with.

      That used to annow me, too. Then I found out that Mozilla-based browsers in Linux will go to the url in the clipboard if you put the cursor anywhere on the current page and click the middle mouse button. That is actually even faster than the other method required for Windows, especially since Windows selection was designed by assholes and will not let you select what you actually want to select (the selection does not necessarily start where you point the mouse, and if you try to select only part of a "word" the rest of the word is usually automagically selected, which is very fucking annoying. I usually end up fine-tuning the selection with the keyboard but that does not always work. Why in the hell can't Windows let the selection be WHAT I FUCKING SELECTED instead of what Windows thinks I wanted to select? Erg.

      Whats more interesting is that sometimes what control+v pastes is different from what the middle-click pastes. I'm sure there is a reason, and I'm also sure its my fault for not knowing it... but its still annoying..

      The reason for this is that ctrl-c puts things into a different copy and paste buffer than the selection. In Windows you usually have only one copy and paste buffer, but you will end up in the same boat if you use non-native gui apps (such as X apps). In Linux, you have X apps, gtk apps, and qt apps all of which have their own seperate buffers. Sometimes an individual application has its own buffer too which is only shared within that application. Typically the select-to-copy goes to the X buffer which should be shared by all applications that use X, and he ctrl-c will go to the buffer maintained by the toolkit of the given application (tk/qt/whatever) and shared by apps which use that toolkit. In a given environment there may be copying going on between buffers, but this is inconsistent at best even in the major desktop environments.

      Of course Windows copying and pasting is anot always consistent, either. Someties what you paste is something you copied long ago, maybe even days ago, rather than what you just copied. I think part of the reason for this is that Microsoft started adding additional clipboards to Windows, notably the Microsoft Office Clipboard, and the "feature" of storing multiple previous copies. Of course this is basically a waste of memory especially when you consider that Microsoft's clipboard stores an entire document worth of data for each copy so that it can reproduce the data when you paste. For the most part even if this feature worked right it would be useless to everyone but the two nuts in the corner who decided they liked it and used it a lot. But it never worked right even when there was a Clipboard Viewer application in Windows to control this feature (which is notably absent these days).

    89. Re:Common problem.. by ssimontis · · Score: 1

      I have this same problem all the time. There is a good and a bad to it if you look at it however. The good is that it shows that we aren't trying to just copy Windows (I have seen hardcore Windows users whine about this). The bad thing is that it is annoying for anyone who has used Windows on a regular basis. I normally check for a keyboard combo I can use for copying and pasting, or find a way to let that work for me. This is a really annoying problem for anyone who is forced to use Linux and Windows. For example, my school uses Windows on all its computers, and won't do a thing to change it, even though I'm pretty sure that it could save LOTS of money so we could get color printers. However, I find that you just have to stick with it and actually think about what you are doing before you work. A solution I use it to keep an empty document open, so that I can copy stuff to it, and if I need it again, I just go to that document. I do it on WIndows too, just to make sure I don't overwrite something very long which I am storing in the clipboard.

      --
      Scott Simontis
    90. Re:Common problem.. by spitzak · · Score: 1

      Sorry I was unclear. What I meant was that "broken" programs would probably be better if ctrl+x/v did not do anything, verses their current behavior. A program where ctrl+x/v did the right thing is even better, and a program where both that and the middle-mouse do the right thing is best.

    91. Re:Common problem.. by shaitand · · Score: 1

      Yes, my mind automagically inserted the wrong key there.

    92. Re:Common problem.. by phiz187 · · Score: 1

      Yup, power users use ctrl-ins and shift-ins.

      Graphic designers use ctrl-c ctrl-v

      It's a unix convention that has been in windows from day one.

      -PHiZ

      --
      Pretend I said something meaningful or insightful here.
    93. Re:Common problem.. by SmittyTheBold · · Score: 1

      Psh, like I'm going to take UNIX advice from some guy whose claim to fame is that he runs a night club.

      I mean, I go to the neighborhood bar when I have Windows problems, but it's certainly not for advice on how to solve said problem.

      --
      ± 29 dB
    94. Re:Common problem.. by Hognoxious · · Score: 0
      anyone else find the phrase "I'm sure there is a reason, and I'm also sure it's my fault for not knowing it" with respect to basic, everyday user interface tasks troubling?
      Not really. But if I didn't get irony, I probably would consider it disturbing, and rightly so.
      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    95. Re:Common problem.. by Hognoxious · · Score: 0
      Apologies for the tenuous and overused automobile analogy.
      Apologies for another. The problem is that lots of software (particularly open source) performs the equivalent of swapping the brake and gas pedals around, locking the steering wheel when in reverse and making the volume control on the radio act as the steering whel when in an even numbered gear.
      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    96. Re:Common problem.. by archivis · · Score: 1

      Amen brother. Or sister. Or whatever.

      --
      In July O7, I got a mac pro. There's no punchline. Just endless joy and wonder.
    97. Re:Common problem.. by xpyr · · Score: 1

      oh gawd that would be so annoying. I do the same thing in windows all the time. I highlight a url and copy it using control+c, then highlight the current url in mozilla and hit control+v to paste it. But if it automatically copies whatever is highlighted I would want that option off ASAP. The only other program in windows that actually does that is mirc in the chat window when you highlight text someone else has said while chatting on irc, then it'll copy it for you automatically. It only does that because it only highlights the text for you while the mouse button is held down, but stops the highlight once you let go of the mouse button. So it was appropriate here that it copy it for you what was highlighted. Other then that, most other windows programs only copy text that is highlighted after you press control+c or when you go to the edit menu and click on copy. This method makes sense to me. So as long as kde/gnome has a way to turn off that highlight/autocopy function, then I can use it. But if it doesn't, then I wont use it. And dont whine about how its open source that I can change it if I want to, I'm not a programmer. So having the source means didly squat to me.

  2. Pasting urls by grahamsz · · Score: 5, Informative

    I usually find you can just pick up the url by selecting it, then middle button drop it into the browser. That seems to work on konq, netscape, mozilla and firefox on both linux and solaris.

    But i do feel your pain :)

    Firefox and Konqueror should have a button for "Open the clipboard in a new tab".

    1. Re:Pasting urls by Anonymous Coward · · Score: 0

      ...firefox DOES. setup mouse gestures, and use the new tab gesture (up by default). if your clipboard has a URL in it, the new tab will go there, otherwise, it'll go to your homepage

    2. Re:Pasting urls by divirg · · Score: 3, Informative

      There's a plugin for Firefox that puts a button next to the URL field to clear it when you're about to paste. Don't remember what it's called - check the Firefox plugins page on mozilla.org.

      Doesn't help the general problem though...

    3. Re:Pasting urls by Martin+Blank · · Score: 5, Informative

      Firefox and Konqueror should have a button for "Open the clipboard in a new tab".

      Agreed. While not a perfect solution, Clipboard Observer may be a possible way of dealing with this. It can get really intrusive, though, because it can end up opening tabs when you're copying a link to paste somewhere else, like in e-mail or IM. Worth a try, though.

      On an unrelated note, the same author also has Tabbrowser Extensions, basically some really, really, REALLY useful alterations to how Mozilla and Firefox handle tabs. With it, you can do things that should (IMHO) be in the codebase, like re-ordering tabs, moving tabs in groups, moving tabs between windows, opening duplicate tabs (complete with the tab's page history), and (my favorite) undoing the closing of a tab. I've been saved on a number of occasions by this last feature. Very handy. The author should be getting more recognition.

      --
      You can never go home again... but I guess you can shop there.
    4. Re:Pasting urls by mrwonton · · Score: 1

      I think you're thinking of the Past and Go plugin. It works for both Firefox and Mozilla, and lets you copy and go to a URL in one step.

      --
      Not more than you need, just more than you want
    5. Re:Pasting urls by gnu-generation-one · · Score: 1

      "I usually find you can just pick up the url by selecting it, then middle button drop it into the browser"

      Oh, and try selecting a URL without either doing a mousedown or a mouseup on either end (both of which will open the URL in a browser)

      If it needs to be selected, don't make it a hyperlink!

    6. Re:Pasting urls by Curtman · · Score: 1

      Doesn't anyone use Gnome Clipboard Manager? I'm sure there's a KDE and generic X equivilent. It gives you a nice little panel applet with easy access to your clipboard history.

      I usually just paste text into my gdict applet temporarily though, then reselect and paste.

    7. Re:Pasting urls by AppyPappy · · Score: 5, Funny

      Using a mouse in unix? That's heresy.

      --

      If you aren't part of the solution, there is good money to be made prolonging the problem

    8. Re:Pasting urls by connsmythe96 · · Score: 4, Informative

      Firefox and Konqueror should have a button for "Open the clipboard in a new tab".

      Try middle-clicking in the main view area of mozilla/firefox with a URL in the clipboard... ;)

      --
      if(!cool) exit(-1);
    9. Re:Pasting urls by taniwha · · Score: 4, Informative

      Konq at least attempts to solve this by having a delete button next to the URL - clicking that black thing with an X on it while 'holding' text from a hilite clears the URL so you can drop a new one in there

    10. Re:Pasting urls by galore · · Score: 1
      Firefox and Konqueror should have a button for "Open the clipboard in a new tab".
      Amen. On linux I constantly used the middleclick-paste-load-url. Now I'm using a new mac and though lack of unix autocopy/paste isn't a big deal, I can't stand that to load a new url i have to cmd-C, cmd-L (highlight text in address bar), cmd-V, Enter. It's exhausting just typing it all out. Having a key command in firefox to load a url from the clipboard would rock.
    11. Re:Pasting urls by divirg · · Score: 5, Informative

      No, I'm thinking of Diggler.

      "Diggler is a small but powerful add-on for Mozilla, Netscape and Firefox. It adds a button next to the location bar which can clear the location bar..."

      Similar, but without the keystrokes.

    12. Re:Pasting urls by Anonymous Coward · · Score: 0
      On an unrelated note, the same author also has Tabbrowser Extensions, basically some really, really, REALLY useful alterations to how Mozilla and Firefox handle tabs...

      Cool, man. Thanks for the tip!

    13. Re:Pasting urls by Anonymous Coward · · Score: 0

      You don't have to do that.

      Either select the URL and then do SHIFT-CMD-U (see the services menu), or select the URL, CMD-C, double click the address bar, and CTRL-V.

      grahan

    14. Re:Pasting urls by orasio · · Score: 3, Interesting

      Firefox and Konqueror should have a button for "Open the clipboard in a new tab".

      Ctrl-T (new tab)
      Middle click on the location bar (paste url)
      Enter

      Also, Ctrl-U clears the location bar.

    15. Re:Pasting urls by GMC-jimmy · · Score: 3, Informative

      X Windows, like bash, has it's own way of copy/paste (ie: highlight/middle-click) and KDE/GNOME have their own way of copy/paste (ie: ctrl+c/ctrl+v). What that means is while you're running X with a popular desktop suite like KDE or GNOME, you have more than one clipboard. As you propbably wouldn't use multiple text editors to simultaneously edit the same file, you shouldn't try to use multiple clipboard copy&paste functions for the same task.

      --
      __________________________________
      Free your mind - Flush your toilet
    16. Re:Pasting urls by What'sInAName · · Score: 1


      Wow, sure enough it does. Thanks, I never knew this! I've always done the afforementioned ctrl-t to open a new tab in Mozilla...

    17. Re:Pasting urls by el-spectre · · Score: 1

      Yeah, I finally figured out how to turn that shit off! :) I like my autoscroll click-the-center-button thingie. Never could figure out why it was trying to load a URL.

      As a side note, what kind of weird default behavior is that... we have the primary button (for selecting, clicking links, etc), and alternate (usually for context sensitive jazz) and the URL button? Those wacky hackers...

      --
      "Faith: Belief without evidence in what is told by one who speaks without knowledge, of things without parallel." - A.B.
    18. Re:Pasting urls by ronlusk · · Score: 4, Informative
      I've created a script for working with KDE's klipper clipboard tool.
      # point at the browser
      $FIREFOX=/opt/mozilla/firefox/firefox
      ($FIREFOX -remote "ping()" && \
      $FIREFOX -remote "openUrl($1,new-tab)") || \
      $FIREFOX $1 &
      I'm not sure I have everything the best it can be. But when I select a URL somewhere, klipper pops up a menu offering to open it in Konqueror, Mozilla, or Firefox (among other things). I have configured klipper so pressing "F" is a shortcut for opening in Firefox, where it opens it in a new tab.
    19. Re:Pasting urls by CmdrTHAC0 · · Score: 1

      "Also, Ctrl-U clears the location bar."

      But only if the focus is inside the location bar already. Otherwise it may clear something else (lines in text{,area} elements), open the page source, or even do nothing if Mozilla has placed focus in the bit bucket for the time being. Moz's focus handling is so sucky, you can probably get the page source for a tab not even currently displayed if you tried hard enough. (C-u C-tab doesn't count!)

      --
      __CmdrTHAC0__
      In Soviet Russia, Spanish Inquisition doesn't expect YOU!!
    20. Re:Pasting urls by Anonymous Coward · · Score: 0

      Hey c'mon. This is Slashdot.

      It's hairisy.

    21. Re:Pasting urls by galore · · Score: 1

      hmm... good point about the services menu, i always forget about that. however 1) firefox doesn't support it at all, and 2) the inactive menu item says "Open in Camino" (firefox is the default browser). so i guess your suggestion would be great if firefox would fix its mac support.

      regarding your other comment: the goal is to keep my hands on the keyboard and double-clicking is definitely out of the question.

    22. Re:Pasting urls by vrtsdaemon · · Score: 1

      I could kiss you right now.

    23. Re:Pasting urls by pantherace · · Score: 4, Interesting
      Yes, there is a similar thing in KDE called klipper (been there since kde-2.0) which handles text much better. It's a tray applet which uses a stack to handle text selections.

      Honestly, I never use a clipboard to copy anything other than text. If I must use a mouse to copy something, I will drag & drop it, not select, copy, select insert point, paste. Honestly, I don't get the whole copy/paste using the Windows style. X's highlight/copy & middle click paste is so much more useful, when used with klipper (or presumably gcm), which eliminates the one weakness of it, and actually makes it better (multiple item storage).

      People should try to adapt. Middle click in any browser with a url (at least among konqueror, mozilla & derivatives, opera & everything I can recall using except links.) & it opens it, no need to go to a location bar. Or drag the url & drop it on a browser window.

      So many ways to do it, but people will whine that 'the one way' doesn't work. It makes me wonder if there is an intuitive interface for a computer AT ALL. (And, NO, Mac Zealots, the Mac doesn't qualify!) Current GUIs aren't, CLIs don't seem to be, & voice commands are unlikely to be in my opinion.

    24. Re:Pasting urls by AntiOrganic · · Score: 3, Informative
      On an unrelated note, the same author also has Tabbrowser Extensions [sakura.ne.jp], basically some really, really, REALLY useful alterations to how Mozilla and Firefox handle tabs. With it, you can do things that should (IMHO) be in the codebase, like re-ordering tabs, moving tabs in groups, moving tabs between windows, opening duplicate tabs (complete with the tab's page history), and (my favorite) undoing the closing of a tab. I've been saved on a number of occasions by this last feature. Very handy. The author should be getting more recognition.


      Unfortunately, it's so bug-ridden and terrible that Firefox developers won't accept bug reports from people who have it installed.
    25. Re:Pasting urls by Anonymous Coward · · Score: 0

      Firefox and Konqueror should have a button for "Open the clipboard in a new tab".

      I do this all the time, with my left hand on the keyboard and my right hand on the mouse. Ctrl+T to open a new tab, middle-click to load the URL.

    26. Re:Pasting urls by Prowl · · Score: 1

      in fact most readline keystrokes work (C-d, C-w, C-f, C-b etc). the Alt keys ones bring up menus unfortunately. i believe the readline keybindings are actually pretty common throughout UN*X/X etc

      no idea as to whether mozilla parses .inputrc though.

      --
      That man tried to kill mah Daddy
    27. Re:Pasting urls by Malc · · Score: 1

      The irony is that X is unusable without the mouse... unlike MS Windows.

    28. Re:Pasting urls by fishbot · · Score: 2, Informative

      Not quite. There are windowmanagers out there designed to be exclusively used with the keyboard (ratpoison for one, evilwm for another). X itself is input device agnostic. The window managers assume to much.

    29. Re:Pasting urls by Anonymous Coward · · Score: 0

      I had to turn that off. My mouse-wheel is too sticky, so when scrolling with it I kept accidently doing middle clicks and trying to open whatever happened to be in the clipboard as a link.

    30. Re:Pasting urls by Martin+Blank · · Score: 3, Interesting

      I went looking for something to back up your statement, but I couldn't find it. Perhaps you could point me to something about this?

      And isn't the normal response to any installation with extensions installed to advise removing the extensions first and seeing if the problem lies with the extension code, thereby moving the onus of fixing the problem to the extension developer?

      --
      You can never go home again... but I guess you can shop there.
    31. Re:Pasting urls by hackstraw · · Score: 1

      You can also do this with typing 'pwd' or whatever to get a full path and drop that in your browser. Very handy for some software that has html documentation. Much easier than File->Open and going through the gui.

    32. Re:Pasting urls by Anonymous Coward · · Score: 0

      Nope. X can easily be configured to use the number keypad as a replacement for the mouse.

    33. Re:Pasting urls by Tellarin · · Score: 1


      It has been really useful for me, specially as I always have a Pine window open for reading e-mail, and there I can use ctrl+c/ctrl+v, highlight/middle-click and pines ctrl+k/ctrl+u.

      I have no problem with that 3 "clipboards".

    34. Re:Pasting urls by dindi · · Score: 1

      >> The irony is that X is unusable without the mouse... unlike MS Windows.

      Hey, what are you talking about unusable without a mouse ?

      Stop using a monkey Wmanager and use let's say Wmaker ...
      Just as a p[rotest a friend of mine was using twm and Wmaker WITHOUT a mouse in the office a few years ago for a week ...

      it's amazing what you can do with a keyboard ...

      ps: i do not have a mouse, i have a trackball and i use gnome, and I can access everything with a keyboard

    35. Re:Pasting urls by GMC-jimmy · · Score: 5, Insightful
      Which is simply a broken system. It's one of the things that definitely needs to be fixed before you can tryly say that Linux is ready for prime time.

      That depends on who you ask. I personally like and use both ways. Each can do things the other can not. For example X Windows method of copy/paste can work across different terminal sessions whereas KDE/GNOME's can not. On the other hand, KDE/GNOME's clipboard keeps a history whereas X or even bash does not. So depending on the environment you are in and the work you're doing. Both can be very useful at different times and for different needs. To think of both methods as one system is incorrect, they are most definitely two seperate systems. Being aware of that and making a decision on which to use will save you the frustration usually accompanied by confusing the two as a single system.
      --
      __________________________________
      Free your mind - Flush your toilet
    36. Re:Pasting urls by Lussarn · · Score: 2, Insightful

      As it is you can pretty much ignore the one of them you don't like. If you run Gnome or kde booth ways works pretty well.

      Or you can see the X way as the "Quick'n dirty" copy and paste and the Gnome/KDE as the more solid.

    37. Re:Pasting urls by Anonymous Coward · · Score: 1, Interesting

      You are probably right about what he said, but it is still massive bloatware and buggy. I need about 10% of what it does, I wish he modularize it or something along those lines to make it's footprint smaller and destabilization less.

    38. Re:Pasting urls by BinLadenMyHero · · Score: 2, Informative

      I prefer Digger.

      Also note that you can, within Firefox, drag a link or a selected URL text to the tab bar to open it. If you drag to an existing tab it will replace that tab, and on an empty area (or the X button, if the bar is full) of the tab bar it will open a new tab.

    39. Re:Pasting urls by optikSmoke · · Score: 1

      Firefox and Konqueror should have a button for "Open the clipboard in a new tab".

      There already is a solution for Konqueror. Simply middle-click on an empty area of the tab bar, and a new tab will be created with the highlight-clipboard contents used as the URL. I just tested Firefox, and while it doesn't work quite as simply/quickly, you can acheive almost the same effect by double-clicking on an empty area in the tab bar, then middle-clicking to paste/load URL.

    40. Re:Pasting urls by RAMMS+EIN · · Score: 1

      ``Firefox and Konqueror should have a button for "Open the clipboard in a new tab".''

      Isn't that what happens when you paste the URL on the tab bar?

      --
      Please correct me if I got my facts wrong.
    41. Re:Pasting urls by aichpvee · · Score: 0

      As an Opera user I just mouse gesture down to get a new tab and then middle-click the browser pane if I want to open the link in a new tab.

      --
      The Farewell Tour II
    42. Re:Pasting urls by Anonymous Coward · · Score: 0

      Yeah, he should definately get more recognition for copying all of opera's features into mozilla. Seriously, just use opera, you get all the features without the instability of this guys buggy work, and without the horrible slowness of fire_animaloftheweek_.

    43. Re:Pasting urls by Malc · · Score: 1

      Oh yes, what a great alternative! I was fiddling an X config tool the other day that did that. It was painful even for that simple case... I would call it unusable for daily use. I'm sick of this configurability excuse... I don't want that. I want simple and easy to use straight out of the box. The KDE team make usability an issue... but that doesn't help with all the badly written non-KDE apps they break it. Sometimes I wonder just how clueless some of these programmers really are - I would lose my job over some of these UIs.

      BTW, I used "X" to be all encompassing... I don't need to be corrected about Window Managers, especially considering the WMs don't give me any guarantees anyway.

    44. Re:Pasting urls by lerouxt · · Score: 5, Informative

      In KDE you can configure Klipper to either "Synchronize contents of the clipboard and the selection" or "Separate clipboard and selection".

      Your choice.

    45. Re:Pasting urls by jargoone · · Score: 3, Funny

      The author should be getting more recognition.

      Yeah, he should. Funny that you don't mention his name though, isn't it?

    46. Re:Pasting urls by jargoone · · Score: 1

      X Windows, like bash, has it's own way of copy/paste

      bash doesn't have any way at all of copying and pasting. The window or virtual console that bash is running in might, but bash itself knows only standard input.

    47. Re:Pasting urls by bitspotter · · Score: 1

      it's called Diggler, and you can install it into Mozilla or Mozilla Firefox right from the install screen.

      Either that, or you can just "apt-get install mozilla-diggler" , and restart your browser in any Debian-based distro.

      Konqueror already came with the little delete button from the get go.

    48. Re:Pasting urls by newhoggy · · Score: 1
      I usually find you can just pick up the url by selecting it, then middle button drop it into the browser.

      Ha! You think that's a solution?

      I am a chronic tab browser and I open all my links with the middle button. Occasionally due to my complete lack of coordination my click misses the link entirely and the browser tries to open whatever is in the clipboard at the moment.

      At least now I know why.

    49. Re:Pasting urls by aardwolf204 · · Score: 1

      Firefox and Konqueror should have a button for "Open the clipboard in a new tab".

      If you paste your URL into the address bar and hit ALT+Enter the URL will open in a new tab.

      This is only a partial solution.

      Sometimes I will highlight the URL and right click selecting "Web Search For ''" which will open a new tab with a google search on the URL. This is a partial solution also.

      What I would love in addition to the "Web Search For..." context menu would be a "Wikipedia Search for...", and "Google Define: for..." but maybe I'm just too picky.

      --
      Im dreaming ofa big bndwdth, That can resist the /.crowd.May ur days b merry & bright & may al
    50. Re:Pasting urls by sirReal.83. · · Score: 1, Flamebait

      You are completely fucking clueless. If you don't want to use X selections (the left-/middle-click one - it is NOT a clipboard) you don't have to, and you'll never know they exist. If you want to use the "normal" clipboard, you can do that.

      That said, I use both on a regular basis. X selections are actually one of my favorite features of X, and I've only been using it for a little over a year. I come from Windows, and I love this "broken system." There's nothing to fix but the fact that GNOME and KDE have separate clipboards. Actually, it's fixed on my box (though I'm not sure how) already.

      Free Software is about choice. "Fixing" X selections would needlessly eliminate choice. You don't know what you're talking about.

    51. Re:Pasting urls by mrfatmann · · Score: 1

      Damn. I've been a hobbist on Linux for about two years. I believed it existed, but in some other configuration. I'm astonished to read that there is no bash C'nP function. Just the arrow key command history, eh? What do the wonks do when working on multiple vritual terminals and you need to take carry a search result?

    52. Re:Pasting urls by funky+womble · · Score: 1

      Opera does the tab things too, via the 'Windows' tab on the hotlist (or ctrl-alt-Z for 'undo close tab'). I usually have this open instead of using the page bar, it works really nicely (also, it gives you scrollbars when you have more than a screenfull of pages open).

    53. Re:Pasting urls by Anonymous Coward · · Score: 0

      I'm astonished to read that there is no bash C'nP function. Just the arrow key command history, eh? What do the wonks do when working on multiple vritual terminals and you need to take carry a search result?

      Use the copy/paste function provided by the terminal, of course.

      Unix is component-based. There's no more need for a shell to provide copy and paste than there is for it to provide framebuffer consoles or keyboard drivers.

    54. Re:Pasting urls by Anonymous Coward · · Score: 0

      kill and yank through GNU readline. ctrl-k, ctrl-y and other things. In emacs mode anyway, I think theres some vi happy equivalent.

    55. Re:Pasting urls by Watts+Martin · · Score: 2, Informative

      I admit it's been a while since I used X regularly, but as I recall, you often didn't have a choice of which system to use -- many programs only responded to one or the other. This is what can be irksome. I distinctly remember some combination I had when I was running under XFce where I couldn't move a URL from the terminal window to Mozilla, period. Each of them knew about their own clipboard style, and that was it.

      I admit I'm not sure what you mean when you say that the X windows system can "work across different terminal sessions whereas KDE/GNOME's cannot." If you simply had one unified clipboard, wouldn't this still be the case (if it was done correctly?) That's the way it works in OS X. This sounds like a problem with KDE/GNOME's implementation, unless I'm misunderstanding you.

    56. Re:Pasting urls by Chris+Mattern · · Score: 1

      > X itself is input device agnostic.

      But the X server implementation often isn't. XFree86 will refuse to start if you don't have a pointing device. Your window manager is irrelevant; it never even gets a chance to load.

      Chris Mattern

    57. Re:Pasting urls by sydb · · Score: 1

      OK so how do I get my URL field into vi mode?

      I'm half-joking, of course, but I do have superscroll installed in Firefox which lets me use hjkl for scrolling, I have 1 and G set to top and bottom of the page. Moving from browser to a real man's editor has never been more lovely.

      --
      Yours Sincerely, Michael.
    58. Re:Pasting urls by argan0n · · Score: 1

      Aside from the readline commands (ctrl+y pasting back what you just delete with other commands) one usually runs screen(1) to enable multiple session cut-n-paste.

      --
      argan0n
    59. Re:Pasting urls by Anonymous Coward · · Score: 0

      Oy... I find this in and of itself annoying. I copy something to the clipboard that I want to paste into a text box in a form, miss the form text box by millimeters, Mozilla loads my_text.com, I hit the back button and all of my form data is gone. Arrrghhhh! Linux copy and paste sucks! For this reason alone I would never make it my desktop system. At work it shall stay.

    60. Re:Pasting urls by Anonymous Coward · · Score: 5, Informative

      Option "AllowMouseOpenFail" "true" in your XF86Config. This is on by default on all linux distributions I've used recently, actually, so I'd be interested to know what distro you were using so it can be corrected.

    61. Re:Pasting urls by Anonymous Coward · · Score: 0

      Then turn off that feature (it's off on my Mozilla. I should turn it on). On Linux, you're allowed to change the behavior of your system and apps. One size does not fit all.

    62. Re:Pasting urls by Wyzard · · Score: 2, Informative

      You can paste between terminal sessions using GNOME's clipboard mechanism -- you just have to use different hotkeys (in gnome-terminal it's ctrl-shift-C to copy) since the usual ones need to be passed through to the shell (ctrl-C to abort a job, for example).

    63. Re:Pasting urls by hennypenny · · Score: 1

      I found that when used with Venkman running, it made several chunks of javascript fail.

    64. Re:Pasting urls by phoenix.bam! · · Score: 4, Informative

      You don't need mouse gestures, all you need to do is highlight a URL, and paste it into the MAIN WINDOW of the FireFox browser, NOT THE URL BAR, and it will load that website.

    65. Re:Pasting urls by Anonymous Coward · · Score: 0

      I have a window-manager wide key-binding that loads the current selection as a URL in a new tab, and if it isn't a URL, then it opens a new tab and does a Google search for the current selection, and a lot of other cool key-bindings that work along the same lines.

      See lookup.jl here http://www.ewanmellor.org.uk/sawfish.html

      Sorry, if you're not running sawfish (w/ or w/o gnome) then you're out of luck ;)

    66. Re:Pasting urls by Anonymous Coward · · Score: 0

      I stopped using it because of the bugs. While some versions are worse than others, I think it's safe to say that it wins the "most buggy extension" award (it's also a contender for "most popular extension"). Check out the MozillaZine Forums, and look for posts reporting bugs. The replies frequently ask if the poster is using TBE, because the people who troubleshoot problems there have learned from experience that it is a likely source.

      It's simply indisputable that the TBE extension has caused problems for many people.

    67. Re:Pasting urls by Anonymous Coward · · Score: 0

      Also, you have to paste with the middle mouse button, NOT ctrl+v

    68. Re:Pasting urls by shaitand · · Score: 1

      The broken part is that they are two systems.

      Having one system in which your current clipboard is accessed by ctrl+c/x/v AND highlight/middle-click which a simple docked util to let you choose between... lets say 10 clipboards is a far superior system.

      Having two seperate systems, where every other OS in existance supports both a single functionality is the broken part. The only advantage again is multiple clipboards and there are better ways to handle it which require only one system that functions in a fashion that is familiar to everyone on earth who is familiar with copy/paste.

    69. Re:Pasting urls by Martin+Blank · · Score: 1

      Well, it's about the only one I use, so that may be why I haven't had many problems. It's still functionality that should be in the base code, though.

      --
      You can never go home again... but I guess you can shop there.
    70. Re:Pasting urls by Politburo · · Score: 1

      You say this with a winky face as if the poster should have easily known it. However, it is not intuitive at all to think about pasting the URL to what is essentially 'nowhere'. We generally think about pasting text to an area that accepts text input. The main screen of a browser, unless you are at an HTML form, does not accept text input (Yes, I know about type ahead find, etc. That is also not very intuitive when you think about it).

    71. Re:Pasting urls by Anonymous Coward · · Score: 0
      Sometimes I wonder just how clueless some of these programmers really are - I would lose my job over some of these UIs.

      Judging from your extremely low UID I think it's safe to say that you don't have a job.

    72. Re:Pasting urls by shaitand · · Score: 1

      In Mozilla/Firebird (on linux at least) you just click anywhere in the bar and press CTRL+U.

    73. Re:Pasting urls by Trejkaz · · Score: 1

      It seems a bit annoying that you would need mouse gestures for this. They should implement it for the ctrl-T method of opening tabs too. I just tested that one now and it certainly doesn't do the same thing.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    74. Re:Pasting urls by shaitand · · Score: 2, Insightful

      Or put the cursor anywhere in the location bar and press CTRL+U. This nukes the line in the bar (in mozilla/firebird on *nix).

      Quite handy for broken text links on slashdot since it gives you the chance to correct them before trying to load the page.

    75. Re:Pasting urls by Trejkaz · · Score: 1

      Choosing between 10 clipboards stinks of the Microsoft Office horror. I don't like it... maybe if it were implemented properly though, unlike Microsoft's...

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    76. Re:Pasting urls by shellbeach · · Score: 1

      AFAIK, there is no generic equivalent for X - which is a sad thing, since I consider both KDE and GNOME to be rather bloated and have never installed the required libraries. If anyone knows of multi-clipboard manager that works just in X, please post a link!

      On a side note, I find having two methods of copying text in X to be extremely useful. And despite what the topic poster claims, I'm yet to come across any X application that doesn't support the Ctrl-Z/Ctrl-X/Ctrl-C/Ctrl-V standard - every toolkit that I'm aware of has it built in: GTK, QT, Motif (there is another model available here as well for developers, but I'm not aware of any current application that uses it), Tk, and I'm fairly sure FLTK supports them too ...

      And for serious text editing I use NEdit, which does things with selections and middle-mouse clicks that you wouldn't believe ... :)

    77. Re:Pasting urls by shaitand · · Score: 1

      A good solid implementation should be ok, particularly with a keystroke combo to switch between clipboards.

      10 was a random pick meant to be so ridiculously high that nobody could whine it wasn't enough. Personally I doubt I'd use more than 3 and generally wouldn't even use 2. I'd think 5 would actually probably be enough to keep the power clipboarders at it... any more than that would get confusing.

    78. Re:Pasting urls by Trejkaz · · Score: 1

      That's because unfortunately the developers of Firefox are maintaining an application which doesn't seem to be resilient to arbitrary third-party data...

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    79. Re:Pasting urls by darkwhite · · Score: 1

      it's so bug-ridden and terrible

      Funny, I never noticed either of these qualities in 5 months of using latest builds (Firefox itself, on the other hand...)

      I've never had a crash attributable to TBE. It's a bit slow with 60 tabs open, but that can be expected.

      The bug reports are not accepted because it's a complex and tightly integrated extension. In my experience, it's far more stable than the Firefox codebase itself.

      --

      [an error occurred while processing this directive]
    80. Re:Pasting urls by swillden · · Score: 3, Insightful

      The broken part is that they are two systems.

      I have two different systems for heating food in my kitchen. Is that broken? No, and neither is X cut-n-paste, for the same reason. The two different systems are separate, distinguishable and serve different purposes.

      The only brokenness is the number of old apps that don't use the selection and clipboard correctly. If you stick to well-written applications you really don't even need to know about the selection/clipboard duality. But you'll be more effective if you do understand and exploit it.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    81. Re:Pasting urls by Doctor+Crumb · · Score: 1

      Opera7 has most if not all of those tab-related features, even going so far as to have a list of all recently closed tabs/windows accessible via the 'Window' menu.

    82. Re:Pasting urls by aoeuid · · Score: 1

      Why don't you just click on the whitespace directly before the link and start your highlighting there.

    83. Re:Pasting urls by pantherace · · Score: 1
      Look at it a different way, have you ever draged a url to a browser window? If so, did you drop it on the main window? Honestly, how is this different from clicking on a hyperlink in the middle of the main window? You just get your source URL from a different location (a left click gets it from the HREF, a middle from the clipboard). Think of copy/paste as a drag & drop that allows switching to something else.

      Not to mention that every browser I can recall using in recent years (I can't recall about ns4 & that era of browsers) on Linux, accepts this.

      Now, I just noticed a difference of handling: Middle click on top of a tab in konqueror, it opens it in that tab, in firefox it opens in the window you are in. My personal preference is the way Konqueror does it.

    84. Re:Pasting urls by crossconnects · · Score: 2, Informative

      Easy.

      redirect the output to a file.

      switch to the other terminal

      read back from the file. use grep if necessary.

      --
      no big sig
    85. Re:Pasting urls by Anonymous Coward · · Score: 0

      KDE's paste method works if you're using kterm. :) Right click->Paste. I don't think it works for other terminals though, and it would be nice to have a unified clipboard that uses both ctrl-c, ctrl-v and middle-click.

    86. Re:Pasting urls by lorien420 · · Score: 1
      Firefox and Konqueror should have a button for "Open the clipboard in a new tab".

      Middle-clicking on any part of a webpage that isn't a link in Firefox causes it to load the contents of the xselection.

      --
      "[We'll be] really getting inside your head and making it an unpleasant place to be" -- Trent Reznor
    87. Re:Pasting urls by vikool · · Score: 2, Informative
    88. Re:Pasting urls by mr_sas · · Score: 1

      as a firefox user i just middle click the link if i want it in a new tab

    89. Re:Pasting urls by shaitand · · Score: 0, Troll

      "The only brokenness is the number of old apps that don't use the selection and clipboard correctly. If you stick to well-written applications you really don't even need to know about the selection/clipboard duality. But you'll be more effective if you do understand and exploit it."

      No, the brokeness is working in an unfamiliar manner compared with EVERY other graphical system in existance without ANY actual gain.

      I really don't see how you'd exploit it, it offers nothing that multiple clipboard support doesn't already offer. The best you could hope for is to cope with it.

      A well written application would what, copy the data from either method to the clipboard for both? Seems a little pointless to me this way.

      Or support both methods... great but what if a person uses the keyboard for some things and the mouse for others and sometimes needs to switch between the two modes of working? Not knowing about the two imcompatible implementations would be a tad troublesome there I imagine.

      "I have two different systems for heating food in my kitchen. Is that broken? No, and neither is X cut-n-paste, for the same reason. The two different systems are separate, distinguishable and serve different purposes."

      Let's hit this in reverse ;) Serve different purposes? Gee, I thought they were just incompatible methods for doing the EXACT SAME THING, that would be selecting information, making a copy of it to a buffer, and pasting it into another application. Correct me if I'm wrong that's NOT the purpose of the clipboard in ANY implementation.

      Distinguishable. Well I suppose if you ignore that fact that the same commands were implemented in numerous guis before X/Gnome/KDE and have a De Facto if not published behavior on which the X/WMofchoice methods don't improve in any fashion.

      Let's come up with something a bit closer to home than appliances which are seperate devices and perform seperate functions. After all the only reason you have two is that although what they do is vaguely related in the sense of preparing food via heat, they are otherwise unrelated. All Microwaves behave more or less similarly and all ovens as well.

      Here, closer we have(takes a minute to come up with something else broken in this fashion and decides he needs to make up a scenerio), Twelve modems of identical look, feel, weight, shape, size, color, and capabilities.

      All the modems need to have a function to dial. 11 of the modems use the command ATDT# for this purpose, the last modem has a similar command, still ATDT, but it has three jacks (the other not being used and hidden under the plastic casing of the modem). While ATDT is implemented, instead of the standard behavior, ATDT1# dials out on one of the jacks and ATDT0# dials out on the other jack.

      This is pretty much the same thing, while the behavior the copy and paste commands is a de facto standard, there are two+ implementations under linux which each implement a portion of it and are incompatible with eachother and none of them are compatible with the de facto standard. The only gain is the other port (clipboard) but it's hidden underneath the plastic where you have to hunt for it. There are also plenty of other modems which add superior functionality and DON'T break the standard.

    90. Re:Pasting urls by mrfatmann · · Score: 1

      I am familiar with the redirect to file, but I need real commands.
      I like the "paste deleted" option, I'm hand writing (>_) a Post-It as we speak.

    91. Re:Pasting urls by radiophonic · · Score: 1

      Hmmm, seems that within the past couple of years I've never had one bug or crash from that extension. Tell us please, what are you doing to your browser that makes you so different and susceptible to bugs?

      --
      Whenever you read this sig someone's refrigerator light turns on.
    92. Re:Pasting urls by Fancia · · Score: 3, Informative

      But it also offers a "Light" mode with only the more commonly-used features turned on, which makes it much faster and less buggy.

      --

      Bít, zabít, jen proto, ze su liska!
    93. Re:Pasting urls by flonker · · Score: 1

      I have something like that on Moz:
      http://diggler.mozdev.org/

      Clicking the little X button clears the URL bar, while the dropdown button gives you a nice, easy way to navigate up directories.

    94. Re:Pasting urls by swillden · · Score: 2, Insightful

      No, the brokeness is working in an unfamiliar manner compared with EVERY other graphical system in existance without ANY actual gain.

      But it does work exactly the way it does in every other GUI. Ctrl-C copies, Ctrl-X cuts, Ctrl-V pastes.

      In addition, *if* you choose to use it, there's another mode of operation that allows you to accomplish most of the same tasks with fewer keystrokes.

      The gain is that I can copy and paste without touching the keyboard or pulling down menu options. The cost, for those who don't want to use this feature is... NOTHING! (excepting in poorly implemented -- and mostly old --- X apps).

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    95. Re:Pasting urls by jargoone · · Score: 2, Informative

      I don't know if you're being a smart ass, but I'll assume you're not so I actually help you if that's the case. I wasn't just being pedantic when I said bash itself doesn't have copy and paste. It's a combination of the window manager and the terminal program.

      It just so happens that most Linux distributions that I've seen come with a console-mode copy and paste program called "gpm". Look at the output of "ps" and see if it's running. If not, start it. Once it's running, switch to a virtual console and move your mouse and you should see a cursor floating around.

    96. Re:Pasting urls by Anonymous Coward · · Score: 0

      yes, but thats just a stupid idea. why use the keypad for a mouse, when you have say a mouse. i lived with a broken mouse for a month before i bothered to get a new one. using the keypad is extremely frustrating.

    97. Re:Pasting urls by Anonymous Coward · · Score: 0

      In KDE, go to "System Tray", right click on "Klipper", select "Actions Enabled".
      Or, just push Alt+Ctrl+X.
      Then, every time you select an URL (http, ftp, ssh, telnet, etc, etc, etc), a little klipper window will open in the lower right hand corner and ask you if you want to open it and you can select with which application.
      Simple, but effective.
      And yes, clipboard in unix sucks balls.

    98. Re:Pasting urls by srcosmo · · Score: 1
      This "feature" annoyed me to no end. I'm fond of autoscrolling in Firefox by clicking the scroll wheel, and then clicking it again to stop. Unfortunately, doing this causes FF to try to surf to whatever's in the clipboard (usually not a valid URL), and pop up a modal error dialog in protest!

      Fortunately, it can be remedied by setting the middlemouse.contentLoadURL, middlemouse.paste, and middlemouse.scrollbarPosition to false in Firefox's about:prefs menu.

      --
      free speach
      Did you mean: free speech
    99. Re:Pasting urls by donscarletti · · Score: 2, Insightful
      No, X itself has multiple clipboards.

      One of them is automatically invoked when the middle mouse button is used or text is selected, another has to be manually invoked (in KDE and Gnome with ctrl+c/ctrl+v)

      --
      When Argumentum ad Hominem falls short, try Argumentum ad Matrem
    100. Re:Pasting urls by shaitand · · Score: 1

      highlight/middle-click is indeed a nice feature. What is NOT a nice feature is the seperate buffer.

      BOTH of the extra buffers should be eliminated. All that is needed is one buffer, or better yet, for it to be selectable. Three options for X. Single buffer with and without middle-click, dual-buffer.

      Personally I love highlight copying, it's much faster, middle click pasting is NOT faster than what I can achieve with my pinky already on ctrl and my forefinger already on the v before my mouse gets where it's going. (pretty much everytime, keystrokes are faster than mouse movements or clicks).

      *sigh* I guess I'm already spoiled by highlight copying but don't want to give up the advantages of the keystrokes either and want the ability to mix the two.

      Surely you can't deny for instance, that in a text box like the one we type our comments in, there is no reason for your fingers to ever leave the keyboard.

      "Surely you can't deny for instance, that in a text box like the one we type our comments in, there is no reason for your fingers to ever leave the keyboard."

      I challenge you to beat my time copying and quoting that text if you have to touch a mouse. Try it both ways and claim the mouse is faster (assuming you know the most basic keys for manipulating the text, like pressing home and then shift+end to highlight a line and shift down to highlight two, etc).

      Now try to claim you've never highlighted something with the mouse and wanted to alt+tab to a text editor or word processor and ctrl+v the text in because it's faster than positioning the mouse and middle-clicking.

      The way I see it, there are:
      1. ctrl+v
      2. middle-click
      3. right-click paste
      4. edit-paste
      5. ctrl+x
      6. right-click cut
      7. edit+cut
      8. ctrl+c
      9. highlight
      10.edit+copy
      11.right-click copy

      11 fundemental copying/cutting/pasting functions, What sense does it make to have 9 of them operate on the same buffer but pick two random ones to operate on a different buffer and be incompatible with all the others?

      We'll simply have to agree to disagree I suppose.

    101. Re:Pasting urls by Bitsy+Boffin · · Score: 3, Interesting

      I *HATE* that so-called feature. For the simple reason that when I am doing data entry into a web form, as I often do by copying data from some other application/legacy wehsite, I want to be using left-select-middle-click-paste for the extra speed.

      But, especially if I'm entering lots of data, I'll occasionally miss the input field when I middle click, then, even though what I have pasted looks *nothing* like a URL, firefox will in it's infinite wisdom try to load something, anything, it's not even sensible about it, I get odd pages I havn't been to in months, strange things completely out of the blue. And if I don't hit escape quick enough it'll load the 'supposed' page I wanted and then when I hit back, all the data I entered into my form is gone (because it came from an expired form post and had to be reposted to the server to generate the form again).

      ARGH! I *HATE* THAT "FEATURE".

      --
      NZ Electronics Enthusiasts: Check out my Trade Me Listings
    102. Re:Pasting urls by Harry8 · · Score: 1

      Copy & paste is controlled by your terminal. So it works the way it works for the xterm/gnome-terminal/e-term or console in which you are running your shell. Change from bash to zsh? Copy and paste will work the same way. Highlight text & middle click at your shell prompt seems to work just about everywhere and work between xterms.

    103. Re:Pasting urls by Anonymous Coward · · Score: 0

      My firefox never does that. Always opens it in the current tab. How do you get it to do that?

    104. Re:Pasting urls by Anonymous Coward · · Score: 0

      1. Mozilla supports both.

      2. A unified clipboard won't work. Not even on a Mac. You cannot have a clipboard that both does what the unix people expect (copy immidiately) and what the windows people expect (don't copy unless told to). They are opposites.

      3. No, it's not a problem with the Gnome/KDE implementation, it's simply xterm that lacks the windows way. If people used GnomeTerminal og Konsole, it would behave like every other Gnome or KDE program.

    105. Re:Pasting urls by Anonymous Coward · · Score: 0

      They can't be combined into one buffer. Actually, KDE tried it in the old days (fixed in 3.0 I believe), and it confused both Windows and Unix people.

      One allows you to select -> paste. Two operations, very fast. The other allows you to copy -> select -> delete -> paste. More flexible, but takes twice as many operations. Personally I will use the flexible method when I need the flexibility, and the fast method otherways.

      And no, the keyboard is not always faster. When you are writing text, sure, ctrl-c/ctrl-v wins, but when working with a mouse, keyboard pushed away under the table, the mouse only way wins. And, the mouse is used with one hand. Perfect for "one-hand-surfing".

    106. Re:Pasting urls by Anonymous Coward · · Score: 0
      BTW, I used "X" to be all encompassing... I don't need to be corrected about Window Managers, especially considering the WMs don't give me any guarantees anyway.
      So, other words, you are not interested in having people point out when you are wrong. Typical.
    107. Re:Pasting urls by stef49 · · Score: 1

      Then you may want to combine those shortcuts

      Ctrl-L : get focus in the location bar.
      Ctrl-U : clear the location bar
      Ctrl-T : open new tab (and clear the location bar)
      Alt-Enter : (from the location bar) open in a new tab.

      So for example, if your URL is in clipboard you can open it in another tab by

      Ctrl-T + Ctrl-L + Ctrl-V + Enter

      or

      Ctrl-L + Ctrl-U + Ctrl-V + Alt-Enter

    108. Re:Pasting urls by ader · · Score: 2, Informative

      On Mozilla, Multizilla provides a similar button next to the URL bar. (Plug: it's a great extension, almost like having a new browser.)

      Ade_
      /

      --
      Big Bubbles (no troubles) - what sucks, who sucks and you suck
    109. Re:Pasting urls by zcat_NZ · · Score: 1

      If you use screen, it also has a copy-and-paste system. From memory, press ctrl-A C to start copy mode.. move the cursor to the start of the selection, press enter, highlight, press enter again. ctrl-A V pastes.

      I agree with a previous poster; just because you have several options doesn't mean you have to go using ALL of them and confuse yourself. If you're used to using ^X/^C/^V like in Windows, use that. I can't think of any apps offhand that it doesn't work for.

      If you prefer highlight/middle-click, go ahead.

      I tend to use both; the traditional 'X' way (middle-click) is quicker but sometimes I want to paste things using highlight and replace, in which case the 'Redmond' way works better.

      --
      455fe10422ca29c4933f95052b792ab2
    110. Re:Pasting urls by DemoLiter3 · · Score: 1

      ... or drop it onto tab bar, it then creates new tab automatically

    111. Re:Pasting urls by digitaleus · · Score: 1

      Before you can assess whether something is broken, you need to have a task.

      If the task is "making the linux desktop usable for 'mom and pop'", then more consistency for such thing with windows and apple is necessary.

      The issue is not that the system hasn't been well engineered . The fact is, it's being repurposed from its original use as a geek system to a mainstream one. And to do this, much more consistency is necessary. It's a similar situation to compatability with Word formats.

      The ideal solution would be to include a system-wide configuration option where you can choose your clipboard configuration. Bigger picture, you could develop a cross-platform preference file format, and then put it onto a usb memory card, and take your desktop with you wherever you go: apple, unix, or windows.

    112. Re:Pasting urls by KlaymenDK · · Score: 1
      This "feature" annoyed me to no end.
      "Me too!"

      Once I started using Mozilla (on Windows), tabbed browsing immediately "clicked" with me. You know, when things are so intuitive they become second nature in mere minutes.
      Same thing with middle-clicking of links to spawn new (background) tabs -- excellent!!! And it's very natural that you can also close tabs by the same means (i.e. right-clicking on the tab). This is how it works on Windows.

      Alas, the same application performs differently on Linux, and for the longest time I couldn't figure it out. When I right-clicked a tab to close it, instead it started loading something -- I had no idea what.

      And to those of you who say "just use CTRL-whatnot" -- well, that's at least TWO additional keyboard hits instead of a single mouse click (where I've already got my hand).

      The simple-but-expert remedy is to add
      user_pref("middlemouse.contentLoadURL", false);
      to your "prefs.js" file (reference here (you gotta copy/paste the link, Bugzilla blocks referrals from Salshdot)).
      Sadly, it's a wontfix, so no hope of seeing this as an option in the GUI for regular users.
    113. Re:Pasting urls by Prowl · · Score: 1

      this crossed my mind when i posted. you can configure readline to be vi-ish (set editing-mode vi), but i don't think that mozilla uses readline directly. it just mimics its behaviour.

      never tried it though

      --
      That man tried to kill mah Daddy
    114. Re:Pasting urls by Anonymous Coward · · Score: 0

      Hold down the Ctrl-key and middle click somewhere on the webpage (of course not on a link). Then Firefox will open a new tab with the copied URL.

    115. Re:Pasting urls by chthonicdaemon · · Score: 1

      Bash does have a history. If you use the emacs keybindings for killing text (C-w, C-k and C-u), you can use C-y to yank that text, then press M-y to rotate the kill ring, effectively cycling through recent kills. This is all supplied by GNU readline, free of charge.

      Unfortunately, the kill ring is not shared between different bash sessions.

      --
      Languages aren't inherently fast -- implementations are efficient
    116. Re:Pasting urls by gowen · · Score: 2, Informative

      Me too. Fortunately, you can turn it off.

      Go to about:config and set the value of middlemouse.contentLoadURL to false

      I felt a whole lot better afterwards.

      --
      Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    117. Re:Pasting urls by gowen · · Score: 1
      i don't think that mozilla uses readline directly.
      I doesn't. Readline is GPL, not LGPL, so if mozilla linked to it, mozilla would have to be GPL too.
      --
      Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    118. Re:Pasting urls by ThogScully · · Score: 1

      Not there in mine... a Debian Woody install that's since been upgraded to Testing/Unstable, but then again, I don't upgrade my config files when with the packages, if I can avoid it.
      -N

      --
      I've nothing to say here...
    119. Re:Pasting urls by Bjortolf · · Score: 1

      I use a little script I found at the Gentoo forums (end of first post) which opens highlighted text in a new mozilla or firebird-tab.

      I've got a keyboard with a lot of extra buttons (of which I use 3) so when I open a URL I only highlight it and press the 'Go'-button (you can map it to any key-combination you want) and it opens in a new tab. Really smooth. So now, when I'm chatting, I'm getting freaked out much quicker.

    120. Re:Pasting urls by stokkie · · Score: 1

      People should try to adapt.

      I'm sorry, I have to adapt to software? I thought it was the other way aroud.

    121. Re:Pasting urls by gbjbaanb · · Score: 1

      middle click pasting is NOT faster than what I can achieve with my pinky already on ctrl and my forefinger already on the v before my mouse gets where it's going

      did someone suggest that the mouse was quicker than the keyboard in linux??? they'll be suggesting that the GUI is quicker than the command line next!!! :)

    122. Re:Pasting urls by garwain · · Score: 1

      My linux box doesn't have any GUI, so a mouse is quite pointless (pun intended)

    123. Re:Pasting urls by japhie · · Score: 1
      Personally I love highlight copying, it's much faster, middle click pasting is NOT faster than what I can achieve with my pinky already on ctrl and my forefinger already on the v before my mouse gets where it's going. (pretty much everytime, keystrokes are faster than mouse movements or clicks).
      Some apps use Shift+Insert to paste the highlight-copy buffer. Quite braindead (requires moving hands from alphanumeric keyboard) but still better than reaching the mouse.
    124. Re:Pasting urls by mr_sas · · Score: 1

      uhm can't remember......possibly something to do with:
      user_pref("browser.tabs.extensions.tabbar_o nmiddle click", 0); ??

      extensions i've got installed inclue all-in-one-gest

    125. Re:Pasting urls by Chris+Mattern · · Score: 1

      Yep, Debian it'd be. I was installing Sarge from the ground up, so it's still there.

      Chris Mattern

    126. Re:Pasting urls by Anonymous Coward · · Score: 0

      You'll want to take out the dollar in the initial line so that bash knows it's an assignment. Maybe add a #!/bin/bash too :)

      Now that's said, thankyou very much! This is a most handy script.

    127. Re:Pasting urls by shaitand · · Score: 1

      Yup, the gui is better for looking at pretty pictures or working with things which are by nature visual (the web, graphics work, games... decent games on the command line simply impement their own built in gui).

      There are certain times the gui can be faster (selection of 30 files in directory that is 12 levels deep and when there is no text pattern to the selection). Arbitrarily looking through files for something other than a text based pattern is also faster in the gui... it's a visual thing and the gui does visual better after all.

      For everything else, the cli is obviously faster.

    128. Re:Pasting urls by mrfatmann · · Score: 1

      I don't know if you're being a smart ass,
      Often. ehehe.

      You're assuming that I'm running X, no?

    129. Re:Pasting urls by CaptnMArk · · Score: 1

      Personally I am annoyed when the apps don't support even more standard combinations of Ctrl+Ins/Del,Shift+Ins,Alt+Backspace, ...

    130. Re:Pasting urls by swillden · · Score: 1

      If the task is "making the linux desktop usable for 'mom and pop'"

      So don't tell them about middle-click, and it'll work just like Windows!

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    131. Re:Pasting urls by swillden · · Score: 1

      highlight/middle-click is indeed a nice feature. What is NOT a nice feature is the seperate buffer.

      Eliminating the separate buffer would break Windows-style cut-n-paste. You could not: select text to copy, hit Ctrl-C, select text to replace, hit Ctrl-V.

      You might like that, but I think it would create even more pain for new users.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    132. Re:Pasting urls by Rosonowski · · Score: 1

      I personally like Opera, it has a "paste and go" context menu option.

      --
      01101001 01100001 01101101 01101110 01101111 01110100 01100001 01101100 01100001 01110111 01111001 01100101 01110010
    133. Re:Pasting urls by shaitand · · Score: 1

      Which is why I suggested the default of working like other OS's with no highlight/middle-click at all, but giving the two other optional behaviors.

    134. Re:Pasting urls by ronlusk · · Score: 1

      Thanks for the hint...I actually had the location hard-coded where $FIREFOX appears, so that initial assignment was a throwaway for posting only. But I'll be happy to take your advice, since you give it.

    135. Re:Pasting urls by GiMP · · Score: 1

      Actually, bash does have a copy and paste. Lookup 'readline' in the bash manual. This isn't useful between multiple virtual terminals, for that use 'screen' instead.

    136. Re:Pasting urls by digitaleus · · Score: 1

      So don't tell them about middle-click, and it'll work just like Windows!

      *sigh*

      No it won't. Unless you've got 2 entirely seperate clipboards for the 2 different mechanisms, which would be even more confusing. Because whenever mom selects text, or accidentally clicks the middle button, wierd stuff would happen. ...and she'd run the virus checker, because obviously her computer had a virus ;)

    137. Re:Pasting urls by jargoone · · Score: 1

      You're assuming that I'm running X, no?

      For the first part, maybe. For the second part about gpm, no, it has nothing to do with X whatsoever.

    138. Re:Pasting urls by catenos · · Score: 1

      So for example, if your URL is in clipboard you can open it in another tab by

      Ctrl-T + Ctrl-L + Ctrl-V + Enter


      Or shorter:

      Ctrl-T + MiddleButton (in the content area)

      ("pasting" an URL into the content area will try to load said URL, at least with Mozilla)

      --
      Keep an eye on which arguments are silently dropped in replies. Not always, but often times it's very telling.
    139. Re:Pasting urls by jani · · Score: 1
      That means you'll disable the useful feature.

      To disable the keyword feature, go to the same config page, and set:
      keyword.enabled
      to
      false
      Unfortunately, this doesn't prevent Firefox from attempting to load www.smile.com if you paste smile into it.
    140. Re:Pasting urls by jani · · Score: 1

      My Firefox bugs, and opens the URL in both the current tab and the new tab.

      The behavior of opening the page also works if you hold Ctrl and middle click on the tab.

    141. Re:Pasting urls by gowen · · Score: 1
      That means you'll disable the useful feature.
      Useful is in the eye of the beholder. I don't have a wheel mouse, so the middle button does vertical scrolling, but if I accidentally hit it twice, this "useful feature" would jump me to a random web page based on whatever is in the selection.

      Yuck.
      --
      Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    142. Re:Pasting urls by Anonymous Coward · · Score: 0

      But there *are* two different buffers. If you never teach them about the select/middle-click method, then they'll never use it. If they accidentally use it, you can explain the behavior when they ask, and they can either take advantage of it, or avoid it.

    143. Re:Pasting urls by Ragica · · Score: 1
      KDE's klipper applet can do what "clipboard observer" is described as doing, and a whole bunch more (since it's not just browser oriented, but can interact with the whole desktop environment).

      Also Konqueror tabs support most of the things you list, with light, fast load/response times. Re-ordering tabs is an absolute must-have feature. Really easy to do in Konqueror via keyboard... ALT-SHIFT arrow. Konsole works the same way. (Probably all KDE tab controls are capable of it, i'd guess.)

      Undoing the closing of a tab would be nice though; i've greatly annoyed myself by accidentally closed the wrong tab not a few times. Too many tabs!

    144. Re:Pasting urls by mrfatmann · · Score: 1
      A-OK
      Anyone want to post the basic use of
      >
      and
      grep
      to copy and paste between virtual terminals in bash?
    145. Re:Pasting urls by zemoo · · Score: 1

      That's what libedit is for!

  3. Your proiblem... by nother_nix_hacker · · Score: 4, Insightful

    ...is the lack of a standard toolkit. Keep an eye on X.org. I only really work in terminal appart from web browsing. When I copy a url from a term I have to remember to have left the URL bar in firefox bare. Otherwise I end up selecting it to delete the text in there.... you see whats happening anyway :)

    1. Re:Your proiblem... by Psiren · · Score: 3, Informative

      You can just click the middle button anywhere on the page. It'll do a paste of the buffer and load the url in it. You don't have to paste it into the url bar. Once you've done it a few times it makes life a lot easier. It's a far larger target to paste into. Just be careful not to click when you're hovering over a link.

    2. Re:Your proiblem... by GigsVT · · Score: 1

      Make a button on the toolbar, the "new tab" button. Put it right next to the URL bar (where it should be by default anyway). When you want to paste, get in the habit of opening a clean tab first.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    3. Re:Your proiblem... by swordboy · · Score: 0

      I only really work in terminal appart from web browsing.

      Repeat after me... ONE PERCENTER.

      If we are to see an open-source desktop, then we need an option for this behavior to act exactly like Windows because the majority of people have cut/copy/paste in their DNA at this stage in the game.

      Its okay to copy this functionality. It isn't like it is a Microsoft innovation.

      --

      Life is the leading cause of death in America.
    4. Re:Your proiblem... by bigbango · · Score: 1

      Try installing diggler to get a button similar to Konqueror's "Clear Location Bar" button on the leftside of your location bar.

      You would probably also want to turn on "focus follows mouse" if your window manager allows it. Then you can copy and paste without using the keyboard.

    5. Re:Your proiblem... by Anonymous Coward · · Score: 0

      No, the problem is not a lack of a standard toolkit. It's not the Open Source way to require someone to use a special piece of code. The problem is a lack of standard specification for this sort of thing. But there are standards for D&D these days, isn't there?

    6. Re:Your proiblem... by Anonymous Coward · · Score: 0

      *takes notes*

      Great. What else should I do to get all the freeloading sheep to use my product at no gain to myself?

      As an open source developer, I write things that are interesting, or that I need/want. If these things are useful to other people, great. If they help schools afford technology, lower the bar to computing for third world countries, and by their very nature become part of what could be called the largest, most universally accessable technical library ever known, great.

      If YOU want "the majority of people" who can't get over a convenience FEATURE that's ALREADY backwards compatible with ineffective windows methods, how about you do the programming, or pay somebody to do it.

      "If we are to see an open-source desktop"... I, personally, see more open-source desktops than I can count.

    7. Re:Your proiblem... by Anonymous Coward · · Score: 0

      If you are using KDE's Konsole, just highlight, then go edit->copy. This will copy the buffer to the CLIPBOARD, not the primary selection. You will then be able to highlight a url and press ctrl-v (or edit->paste) to paste over something.

      If highlight/middle mouse button is too confusing, don't use it. Just use the clipboard, it behaves exactly like in windows.

  4. Minor solution - Ctrl-K by jmdjmd · · Score: 5, Informative

    Just a small shortcut - Ctrl-K will (should!) erase the rest of the line, no need for highlighting it. Works wonders for clearing the URL bar :-).

    1. Re:Minor solution - Ctrl-K by dijjnn · · Score: 1

      also, Ctrl-A takes you to the beginning of a line, Ctrl-E to the end. not not as relevant to cut & paste, but handy time savers over the arrow keys.

      --
      ~dijjnn
    2. Re:Minor solution - Ctrl-K by Nightreaver · · Score: 1

      Your right, but in many applications the ctrl+k command actually also copies the text, and then we are back to square one :(

    3. Re:Minor solution - Ctrl-K by Xzzy · · Score: 3, Informative

      control-u blasts all of it. I know I've seen this convention somewhere I just can't place it. ;)

      Many of the bash control sequences do the same thing in web browsers. In most text editing situations, really.

    4. Re:Minor solution - Ctrl-K by alphan · · Score: 1
      Yep, mouse is for chilren after all.

      But, I don't think ctrl-k works for (most) non gtk applications or gtk without emacs keybindings :). Still whatever application it is, keyboard selection shouldn't override the copy buffer.

    5. Re:Minor solution - Ctrl-K by dijjnn · · Score: 1

      that's just ape shit crazy.

      ctrl+k copies text? what apps? i've gotta see that, as it is weird.

      --
      ~dijjnn
    6. Re:Minor solution - Ctrl-K by Nightreaver · · Score: 1

      easy, Emacs.

    7. Re:Minor solution - Ctrl-K by aldousd666 · · Score: 1

      End, Shift+Home highlights the whole line, Shift+End Highlights to the end of the line... There are probably 10, ok well not ten, other ways to do it too..

      --
      Speak for yourself.
    8. Re:Minor solution - Ctrl-K by buttahead · · Score: 1

      pico. any other app that has an emacs type text interface.

    9. Re:Minor solution - Ctrl-K by Anonymous Coward · · Score: 0

      ... and Ctrl+Alt+De

    10. Re:Minor solution - Ctrl-K by meowsqueak · · Score: 1

      ^U kills the entire line (or everything from the current cursor to the end of the line if you prefer and configure it this way) in pico/nano. Emacs too. The bash shell as well. Readline. Probably many others...

    11. Re:Minor solution - Ctrl-K by Craig+Davison · · Score: 1

      Ctrl-A/E/K/U works in Mozilla, except if, god forbid, your cursor is not in a text edit box like the location bar! Then Ctrl-A is Select All, Ctrl-E opens the HTML editor and Ctrl-U is View Source. It's inconsistent and pretty annoying.
      Then there's the middle button, which is Paste inside a text box, but "Go to whatever's in the clipboard" outside! Gaaah!

    12. Re:Minor solution - Ctrl-K by Anonymous Coward · · Score: 0

      No one but me uses ctrl+insert shift+insert and shift+delete?

    13. Re:Minor solution - Ctrl-K by shaitand · · Score: 1

      Actually I don't know of anywhere else this is the convention... but close.

      In Mozilla/firebird ctrl+u blasts the entire line, so long as the cursor is in the location bar... BUT it doesn't matter where in the location bar, the cursor can actually be at the beginning and ctrl+u will STILL blast the entire line.

      In bash, emacs, etc ctrl+u blasts all characters to the left of the cursor, not the entire line (unless the cursor is at the end of the line).

    14. Re:Minor solution - Ctrl-K by mat.h · · Score: 1
      ^U is not really a bash control sequence. The default readline bindings are just emulating what the Unix terminal driver (canonical mode) has been doing for decades: the default KILL key is ^U.

      SEE ALSO
      termios(4)

    15. Re:Minor solution - Ctrl-K by Pxtl · · Score: 1

      Ahh, that's 'cause that's the Windows standard. CTRL-A as anything but Select All is utterly bewildering to me.

      Windows has a lot of flaws, but I like the hotkey conventions:

      ctrl-A select all
      ctrl-S save
      ctrl-X,C,V - cut copy paste
      ctrl-Z undo
      ctrl-Y redo
      ctrl left/right/up/down - move by word or paragraph.
      ctrl-F find
      ctrl-G go

      move the cursor? Thats what the cursor keys are for. Home,e nd, are for end of line. Just hold shift to take the whole line out.

  5. I wish! by NerveGas · · Score: 2, Insightful

    highlighting text in Linux automatically performs a copy while the middle mouse button performs a paste

    I wish. That's the behavior that I prefer. In the past half-year, I've tried about four different distributions, and none of them have had that as the default behavior. It seems like they're intentionally trying to become like Windows.

    steve

    --
    Oh, you're not stuck, you're just unable to let go of the onion rings.
    1. Re:I wish! by Stealth+Potato · · Score: 1

      Everbody's different, of course, but my take on this is that the operation of selection should be just that: selection. It's like aiming a gun at something; once you've designated a target, you have to press Ctrl+C, er, I mean, pull the trigger in order to fire. Would you want your gun to go off every time you pointed it at something?

    2. Re:I wish! by riffraff · · Score: 4, Insightful
      Exactly. That's why I stopped using galeon for my browser, and went back to mozilla. I like the 'standard' emacs keyboard bindings, but the programmers of galeon decided that the windows key bindings were much better (or less confusing to new linux users, whatever) than the previous behavior. The problem is that the new users have no problem using, but now the rest of us have to remember two different bindings, depending on which application we use.


      Linux is not Windows. Stop trying to make it as such.

    3. Re:I wish! by NerveGas · · Score: 1


      Before firing a bullet, your gun will be pointed at a great many things before needing to be fired. But I highlight precious few things without wanting them to be copied!

      steve

      --
      Oh, you're not stuck, you're just unable to let go of the onion rings.
    4. Re:I wish! by Anonymous Coward · · Score: 0

      Linux is not Windows. Stop trying to make it as such.

      Exactly why so many people don't use it ;)

    5. Re:I wish! by kfg · · Score: 1

      . . .you have to press Ctrl+C, er, I mean, pull the trigger in order to fire. Would you want your gun to go off every time you pointed it at something?

      You are confusing putting a bullet in the chamber with pulling the trigger.

      KFG

    6. Re:I wish! by 91degrees · · Score: 1

      I work differently from you then. I often highlight stuff that I want to replace. Highlight to copy is a pain there.

    7. Re:I wish! by radish · · Score: 2, Insightful

      But there needs to be a standard. It seems pretty arbitrary to decide that a web browser should behave like Emacs (for example).

      --

      ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

    8. Re:I wish! by Mr+Z · · Score: 1

      It's not so arbitrary when you consider that many applications (esp. commandline shells) have adopted Emacs-like bindings for editing for years. I remember being introduced to these keybindings back in the 1993 time-frame, and they were already well established then.

      Emacs is a pretty good standard to follow since it's been a staple of UNIX environments for, oh, 20+ years, hasn't it?

      --Joe
    9. Re:I wish! by Carewolf · · Score: 1

      Just select synchronized selection and clipboard in klipper. Why do you want to impose your own preferences on other peoples defaults?

    10. Re:I wish! by ttk · · Score: 1

      We decided nothing of the sorts. On the contrary we've gone great lengths in trying to make Emacs-keybindings usable for those who use them. Thanks to conflicting shortcuts in the HIG and the way the keypress events are handled by default in gtk+ it's not exactly nice.

      Just see src/galeon-window.c(galeon_window_key_press_event) if you're morbidly curious.

    11. Re:I wish! by dave420 · · Score: 1
      Linux is not Windows. Stop trying to make it as such.

      Very true, but linux is trying to beat windows at its own game, which little "nuances" like this proves needs lots more work than some on here would admit. Not meaning to sound funny, but consitency isn't something to be shunned because windows has it. Consistency is what brings non-computer-literate people to a system. They know they only have to learn how to do something once, and it applies to everything else. On linux, as you will agree, that isn't the case. Each application has its own unique way of doing things, and that doesn't sit well with lots of potential end-users.

  6. emacs. by dijjnn · · Score: 0, Troll

    yeay.

    it's called, "paste in emacs first if neccessary"

    it's a pretty advanced system, seems to work on most distros i've worked with out of the box.

    I'm sorry, i think this article is fluff as far as "ask slashdot" goes. yesterdays girl vs. gaming discussion was more interesting.

    --
    ~dijjnn
    1. Re:emacs. by MoneyT · · Score: 1

      So we need a third application in the mix now?

      And this is better because.........

      --
      T Money
      World Domination with a plastic spoon since 1984
    2. Re:emacs. by dijjnn · · Score: 1

      because then there are less replies, comments, unoriginal thoughs, and repetitive flames cramming slashdot repositories and archives, obstructing my view.

      this is obviously a simple paradigm issue; neither is better, both are easy to adapt to. if you have trouble adapting, then in the interim use a crutch to remind yourself what's going on.

      in short, the reason why it's better is because all the solutions are boring and pointless because they solve non-existant problems.

      --
      ~dijjnn
    3. Re:emacs. by Anonymous Coward · · Score: 0

      Because you're now supporting MORE free software!

      If it takes 4 programs to overcome the deficiencies in 2 programs, you're then supporting 3 times as many programmers!

    4. Re:emacs. by Anonymous Coward · · Score: 0

      I see now, I must have missed my weekly conditioning. I'll report to the re-education center immediately.

    5. Re:emacs. by peawee03 · · Score: 1

      Wow...

      I think I just felt my brain collapse upon itself, thus creating a black hole in my skull just pondering your statement. Good job.

      Wait, isn't that MS's idea?

      --
      I wish I could write clever and witty sigs.
  7. I am against the X11 copy/paste by Anonymous Coward · · Score: 0

    I personally hope that there is a copy/paste that works among ALL applications and that there is no X11-kind of copy. While handy, it is also the source of problems and very bad usability-wise.

  8. Terminals are a problem for me by TehHustler · · Score: 1
    I am going to have to configure putty to paste on middle mouse button, because sometimes I'll have lots of text in the clipboard, and miss while right clicking on something else.

    Which is embarrassing sometimes, depending on the contents of the aforementioned clipboard.

    --

    TheHustler
    http://www.elmarko.org/ - Useless bilge
    http://www.asylum-games.co.uk/ - Co-Founder
    1. Re:Terminals are a problem for me by Anonymous Coward · · Score: 0

      How many times have I told you, we don't want to read your cyber logs. I mean really, "TheHustler rams Bob in the ass" is only amusing to a point.

    2. Re:Terminals are a problem for me by Anonymous Coward · · Score: 0

      > Which is embarrassing sometimes, depending on the contents of the aforementioned clipboard

      Looking for underage hookers again?
      Where do you find them?

    3. Re:Terminals are a problem for me by hoggoth · · Score: 1

      I think you find them in Thailand. Why don't you go down to the nearest police station and ask them to help arrange the trip?

      --
      - For the complete works of Shakespeare: cat /dev/random (may take some time)
  9. This is a usability problem... by Anonymous Coward · · Score: 5, Interesting

    Whew, glad to see I'm not the only one .. the whole "click middle button to
    paste" thing drives me NUTS.

    I started computer life as a Mac user. I think one button is the simplest and
    most elegant way to design a mouse. I think mod-C and mod-V is the easiest way
    to cut & paste (one hand on keyboard, one on mouse). I also have big hands and
    fumbling fingers. I very often paste garbage into Mutt or other programs (for
    instance, extremely critical SSH sessions to production machines) in my
    Konsole windows. Hold breath, wait 2 seconds for the beeping to stop, paste
    text into another window and try to figure out if I just emailed porn to the
    client or sent /boot/kernel-2.4.25 to the printer.

    I even whipped out the soldering iron and replaced the Omron tactile switches
    in my trackball with the stiffest they had a digikey. It did help a little.

    And I also have dealt with the slight confusion that results after I highlight
    something, whip over to another window, and realize that I have to select
    everything to delete it first, which trashes the selection. Thankfully,
    Control-C/V works in the programs that I usually do this with.

    I bet most people don't even realize that X11 actually has more than one
    "clipboard". Did you? There is nothing in the interface that suggests I should
    have a mental model of multiple selection areas. Only after learning about
    Vim's keystrokes for accessing the various buffers did I realize what was
    going on.

    I just wish I could permanently and completely switch off this "feature" of
    X11, in all programs. I'm not stupid, I've been using X11 nearly daily since
    1990, and I've been screwing it up since then. Apparently just bringing this
    up in public is enough to condemn a person to flames, but there it is.

    Dear X11: please join the rest of the world and shed at least one of those
    buttons. Get rid of multiple clipboards or whatever you call them. I don't
    need it. My grandmother doesn't need it. Maybe some geeks have trained
    themselves to need it, let them figure out how to turn it back on.

    And while we're on the subject can we please standardize Control-C vs. ALT-C,
    etc.???

    (And yes I wrote this in a terminal and selected/pasted it with the button.. because Control-C doesn't work in the terminal!)

    1. Re:This is a usability problem... by ViolentGreen · · Score: 2, Insightful

      And while we're on the subject can we please standardize Control-C vs. ALT-C, etc.???

      That is my biggest issue with the linux/open source world. Not that in particular, but the lack of standardization. The lack of standardization of shortcut keys, graphical interface design and general look-and-feel of the interface.

      For me, usability is much more important then functionality. I wouldn't run a server on anything else but a little more maturity is needed to get me to use linux as a home system.

      --
      Not everything is analogous to cars. Car analogies rarely work.
    2. Re:This is a usability problem... by Suidae · · Score: 3, Interesting

      I think mod-C and mod-V is the easiest way
      to cut & paste


      You obviously don't use a dvorak keyboard.

      ctrl+j and ctrl+k :)

    3. Re:This is a usability problem... by b0rken · · Score: 1

      I think mod-C and mod-V is the easiest way
      to cut & paste (one hand on keyboard, one on mouse).

      This stinks for people who naturally mouse with the left hand. In fact, it's nearly the worst combination you could come up with!

      It also stinks for users of DVORAK keyboards, or any national keyboard that moves X C or V to a different location.

      It's possible that these keyboard shortcuts are good choices for a majority of users, but don't think for a moment that there's not a trade-off.

      If configurability wasn't another nightmare, I'd argue that these keystrokes should all be configurable, probably with right- and left-handed defaults ("m", ",", "." for lefties, for instance) but ... well, that's a nightmare too.

      --
      Hate stupid software on freshmeat? Laugh at
    4. Re:This is a usability problem... by superbondbond · · Score: 1
      I am a big fan of the hi-light/middle click method. Though I daily face the dilemna when on my laptop which has only the two buttons. It's clumsy to try to simultaneously click them, so I find myself falling back on the ctrl+c/ctrl+v for that.

      I can't be alone on this one.......

    5. Re:This is a usability problem... by spir0 · · Score: 1
      I started computer life as a Mac user. I think one button is the simplest and
      most elegant way to design a mouse.


      I don't understand this logic.

      At first I thought it was a retro thing - hell, I play my PC Engine as much as my Xbox, I thought I understood.

      Then I thought it was just people who are kidding themselves. I still haven't managed to get past this one.

      My mac has a 5 button mouse + scroll wheel. The scroll wheel is my life. My only computer which doesn't have a scroll wheel is my Sparc at work and I'm forever finding myself scrolling my finger to no avail.

      and no, I don't use my mac for serious cad or 3d work. just web surfing, writing, and looking at pr0n.

      I like my computer - mouse included to be FUNCTIONAL, before it's elegant.

      I just wish I could permanently and completely switch off this "feature" of
      X11, in all programs. I'm not stupid, I've been using X11 nearly daily since
      1990, and I've been screwing it up since then.


      If not being able to adapt to something you've been using nearly DAILY for 14 years doesn't make you stupid, I don't know what does.

      Maybe it's time you bought a mac again. they really are wonderful - UNIX without having to suffer X's quirks.

      --
      The reason girls and Windows users don't understand UNIX is because all the documentation is in Man files.
    6. Re:This is a usability problem... by Anonymous Coward · · Score: 0

      Personally I think Ctrl-C/Ctrl-V is a little bit awkward, however, I'm using Dvorak as my layout. I'm sure Mod-C/Mod-V are great for you on QWERTY, but not all of us have such outdated keyboards ;-)

      With Dvorak, highlighting and middle mouse pasting is handy in one regard (I don't have to stretch my fingers out so far), however it makes deleting text without killing my clipboard harder to do.

      As far as I'm concerned, Ctrl-C/Ctrl-V is nice and fine if you're QWERTY, and Highlight-Paste is nice if you're NOT in QWERTY. But some form of clipboard location standardization should be required before introducing the masses to window managers.

      Hell, why not make it Ctrl-Highlight/Middle.

    7. Re:This is a usability problem... by Anonymous Coward · · Score: 0

      "I think mod-C and mod-V is the easiest way to cut & paste (one hand on keyboard, one on mouse)."

      You must be a QWERTY user. Imagine for a second that your cut/copy/paste keys are now B/I/period respectively, and you will see how awkward it is for people on Dvorak to use your silly conventions. (Why is "V" Paste, anyway? You only use X/C/V because IBM screwed up the Ctrl key layout....)

    8. Re:This is a usability problem... by MoneyT · · Score: 1

      Hmm, I think the mouse problem is a smaller (though still valid issue) than the different layout problem. Of all the left handed people I know (myself included) only one of them regularly mouses with his left hand, and that's because his right hand is disabled.

      I suppose the best way to do this would be to set up keyboard mappers similar to what OS X does except in reverse, where isntead of changing the soft letter location it changes the soft command location.

      So for example, if you were using the keyboard layouts in OS X, and you wanted to use dvorak, then despite what your keys said, where you what you typed would be the equivilent of using a dvorak keyboard.

      This would just be another layout setting (another layer perhaps) and so you could map your command soft presses to any key on your keyboard. Define a standard of mod-c does copy and then have the users specify which key = c when holding down the mod key

      --
      T Money
      World Domination with a plastic spoon since 1984
    9. Re:This is a usability problem... by Elbows · · Score: 1

      If you don't like the middle mouse button, how about buying a two-button mouse?

    10. Re:This is a usability problem... by Bob+Uhl · · Score: 1
      Ctrl-C is bound to interrupt on any modern terminal; trying to use that for copying would be evil.

      And as for dual clipboards--I couldn't live without 'em. Yes, a bit more learning is required, but the power is worth it. Isn't that the lesson of Unix? With great power comes great responsibility, and one of those responsibilities is to learn how to wield that power.

      The Mac is very cool (I was a major Mac advocate back in the day), but it traded ease-of-use for ease-of-learning. Unix, X and emacs are easy to use, but a chore to learn. I'm not certain that it's possibe for a single computer tool to be both.

    11. Re:This is a usability problem... by g0_p · · Score: 1

      I think mod-C and mod-V is the easiest way to cut & paste (one hand on keyboard, one on mouse).

      Unless your mouse is on your left...

    12. Re:This is a usability problem... by FauxPasIII · · Score: 4, Insightful

      Before the influx of Windowsisms caused by the attempts of Gnome/KDE to attract converts from Windows and Mac, there was a single standard that worked everywhere; highlight, middle click. The only app that I remember ever having trouble with it was Netscape 4, but that program had a whole host of problems besides UI issues. =)

      The confusion arises when Mac/Windows people arrive and want to bring their habits with them. This is completely natural. However, there has been and will continue to be strong resistance (I'll lead it myself if needs be ;) to abandoning those of us who think that highlight, middle click is vastly superior.

      I think a more reasonable solution might have been to just stick with highlight, middle click as a single, consistant standard and just teach it to newcomers. At least you'd dodge the apparent confusion that comes from partial, but not universal support of their familiar method. Better, but more labor-intensive (the true capital of the open source world) would be to have selectable behavior by a global X-server level (or perhaps window manager level) toggle.

      All that said, the idea of having to use both keyboard and mouse for such a fundamental operation is just so horrifyingly backwards and wrong, and it amazes me that anyone who's experienced X11 could possibly go back to such an arcane and user-hostile configuration. ;-)</troll>

      --
      25% Funny, 25% Insightful, 25% Informative, 25% Troll
    13. Re:This is a usability problem... by catalina · · Score: 1

      Ctrl-C is bound to interrupt on any modern terminal; trying to use that for copying would be evil.
      ...and there's the old conspiracy theory - that MS (or IBM) specifically chose Ctrl-C, knowing that if one of their captive slaves ever tried using Unix, they'd not be able to complete any task; thereby making sure that users would never migrate.....

    14. Re:This is a usability problem... by pavon · · Score: 4, Insightful

      Some historical information about why copy and paste is the way it is.

      And yes I wrote this in a terminal and selected/pasted it with the button.. because Control-C doesn't work in the terminal!

      For the terminal at least, there is a good reason for this. You are basically running a console program inside a window, and this console application has it's own meaning for control keys. For example ^C sends SIG-INT to the current program. In pico ^C is shows the current line number. Emacs would be unusable without ^c and ^x. So the terminal emulator interpreted ^c and ^v as copy and paste, instead of passing them onto program running in the terminal, then all of these commands for all of these programs would stop working. Some people have suggested intercepting ctrl-c and ctrl-v for copy and paste and then having buttons you can click to actually send the command. I have tried this and found it to be much worse than the original problem.

      Because the terminal was the first application to run in X, the designers wanted a way to copy and paste that didn't conflict with these existing keyboard shortcuts. However, any existing keyboard shortcut could concievably already be used by an existing console program. Since the mouse was the only new input for X they came up with the mouse-only copy and paste that we have now.

      There really isn't any way to make the ctrl-C, ctrl-V method of copy and paste compatible with terminal applications. It just isn't possible. However there are other ways of doing copy and paste that are compatable with the terminal, by adding additional keys to the keyboard. For example, OS X uses the cmd key for all shortcuts, which doesn't interfere with ctrl shortcuts in the terminal. Some UNIXes have had dedicated copy and paste buttons on the keyboard.

      However, seeing as how there would be great revolting if gnome or kde tried to get rid of ctrl-c, ctrl-v and replace them with alt-c,alt-v that it will never happen. The terminal emulator will just have to remain an oddity in these desktops.

    15. Re:This is a usability problem... by serviscope_minor · · Score: 1


      Dear X11: please join the rest of the world and shed at least one of those buttons. Get rid of multiple clipboards or whatever you call them. I don't need it. My grandmother doesn't need it. Maybe some geeks have trained themselves to need it, let them figure out how to turn it back on.

      And while we're on the subject can we please standardize Control-C vs. ALT-C, etc.???


      Well, if neither you, nor your grandmother need it, then don't use X. Seriously, though, you could write a very small program which grabs the primary selection back whenever it looses it, and always leaves it empty. Problem solved. But you have to do it yourself, since those geeks of which you speak aren't going to do it for you since they're probably the kind of people who like multiple selections.

      And as for your suggestion of a standard copy/paste, how well would that work in graphical vi incarnations, or, say, xfig which is mode based, as opposed to having a selection model (ish). Or xterms. I think ^C already has plenty of other uses in xterms.

      And one final point, don't direct your criticisms at X11. X11 defines mechanism not policy, and that is the right way to do it (afterall, xaw has gone out of fasion, but windowing systems haven't).

      --
      SJW n. One who posts facts.
    16. Re:This is a usability problem... by Guy+Harris · · Score: 1
      Ctrl-C is bound to interrupt on any modern terminal

      ...including the Windows MS-DOS Prompt window (or, as it's called in the Shiny New World of NT 5.x, the Command Prompt window), which is why ^C isn't "copy" in those windows, either.

      The Mac has the "command" key, and Command+{X,C,V} are used for cut/copy/paste, so ^C can be used for "interrupt" in Terminal and Command+C can be used for "copy".

    17. Re:This is a usability problem... by Rysc · · Score: 4, Funny

      "Why is "V" Paste, anyway?"

      That's easy.

      Needing a Copy key, C was selected. Because C stands for Copy. Needing a Cut key, X was selected. Because X is a convenient mnemonic for 'cut'. Needing a Paste key, V was selected. Because V stands for "It's next to the Copy key, dumbass."

      No charge.

      --
      I want my Cowboyneal
    18. Re:This is a usability problem... by Anonymous Coward · · Score: 0

      >And while we're on the subject can we please >standardize Control-C vs. ALT-C,
      >etc.???

      What about Control-Insert?

      Ctrl-Ins to copy, Shift-Ins to paste, Ctrl-Del to cut.

      They're old, but they work well, and I think they're pretty universal on Linux and Windows. Not sure about os X, though.

    19. Re:This is a usability problem... by mce · · Score: 1

      Why worry about the middle button on a two button mouse? Just re-program both the middle and right button to do the paste action. I've been using that setup for ages. Works like a charm whatever mouse you (have to) use.

    20. Re:This is a usability problem... by System.out.println() · · Score: 1

      The logic behind Apple sticking with a one-button mouse (as someone had to explain to me recently) is actually pretty sound - they don't want to bury every possible option under context menus. Context menus should be the exception, not the rule. Don't put anything in a context menu if it'll be just as well served being in a toolbar button or the top menu.

      At least that's the logic. I personally have a 5-button tilt-wheel mouse plugged into my Powerbook most of the time, but more and more, I find myself ignoring it for everything but the scroll wheel - the trackpad is just right there, and Control is too.

    21. Re:This is a usability problem... by Anonymous Coward · · Score: 0

      I'm 15 and I worked it out with a few days. In fact, I like how it works (Not as much as Windows or Mac though). I don't know why you couldn't work it out.

    22. Re:This is a usability problem... by Nothinman · · Score: 1

      My notebook's touchpad lets me tap with both fingers on the touchpad to middle-click and with 3 fingers for a right-click.

    23. Re:This is a usability problem... by zsau · · Score: 5, Insightful

      Yeah... I hate when I go to Windows and try to paste something only to discover it hasn't been copied. It's just what you're used to!

      --
      Look out!
    24. Re:This is a usability problem... by harborpirate · · Score: 2, Insightful

      Alright, I'll bite... I'm gonna head under the bridge and talk to the troll...

      Ok, so I disagree with most of what you said, and I think that if the developers of Linux (or in this case, X) ever want it to become a serious player in the desktop market they need to consider "when Mac/Windows people arrive and want to bring their habits with them". And yes, I used CTRL-C, CTRL-V to paste that.

      But the thing that really bugs me is this:

      "All that said, the idea of having to use both keyboard and mouse for such a fundamental operation is just so horrifyingly backwards and wrong, and it amazes me that anyone who's experienced X11 could possibly go back to such an arcane and user-hostile configuration. ;-)"

      Because, in windows, you don't HAVE to use the keyboard and mouse to copy n' paste. You can simply highlight, right click, choose copy, right click in another location, choose paste. The keyboard need never be involved. I usually use CTRL-C and CTRL-V because its faster and it works universally (some lame applications choose not to implement the right click menu standard - I shun those apps whenever possible).

      Am I saying X needs to implement CTRL-C and CTRL-V? No. What I am saying is that many people don't understand why highlighting something would copy it. Take a minute to think about that. Shouldn't you have to take some sort of action to copy something? How hard would it be to allow the user to choose a "Middle click required to copy text" checkbox? Problem solved. Yes, it requires one extra click, but some of us would like to be able to choose that as an option. I don't care if the zealots keep their old wrong-headed copy scheme. I don't even care if its the default. But for Linux to really take hold, it needs to adopt functionality that will allow users coming from other UI worlds to function in a reasonably similar environment instead of having to adopt all sorts of strange new conventions.

      --
      // harborpirate
      // Slashbots off the starboard bow!
    25. Re:This is a usability problem... by cozziewozzie · · Score: 1

      Not so easy. Highlight-middle-click only works for text, but people nowadays cut and paste a lot more than text. The primary buffer used for text is nice, but it's not a solution for everything.

      The solution for everything is the clipboard buffer which is used by KDE/GNOME/any sane application. This is used for copying everything (including text) and usually uses the CTRL-C/CTRL-V combination. This way you have your highlight-and-paste action for quick things and the manual copy/paste for everything else. The only reason they interfere with each other (cause they shouldn't) is buggy apps. With recent desktop environments it shouldn't be an issue at all.

    26. Re:This is a usability problem... by Gorath99 · · Score: 1

      Actually both options come with their own problems. If I select a piece of text that is produced by a program running in an xterm and hit ctrl-c, then the program is aborted, which I most likely didn't intend. Not exactly ideal. (Yeah, I know that in some terminals you can use ctrl-shift-c. That works, but it's non-standard.)

      With the other method, whenever I select a piece of text, my clipboard is updated, even though I may have selected it for an entirely different reason. (The most annoying case being when I select a piece of text that I wanted to replace by the text on the clipboard.) This is plain inefficient and counterintuitive to anyone coming from a Windows background. Also, AFAIK, there is no way to cut text in this way, while you can with ctrl-x.

      Probably not a good idea to introduce to introduce a third way of copy-pasting, though. Sigh...

    27. Re:This is a usability problem... by mce · · Score: 1
      Because, in windows, you don't HAVE to use the keyboard and mouse to copy n' paste. You can simply highlight, right click, choose copy, right click in another location, choose paste. The keyboard need never be involved. I usually use CTRL-C and CTRL-V because its faster and it works universally (some lame applications choose not to implement the right click menu standard - I shun those apps whenever possible).

      So... Windows is inconsistent as well? Good to know... Never mind that it's not an OS problem but an application one. After all, exactly that kind of reasoning is being applied to X and Linux all over this discussion as well: X supports both styles, but not all applications do and therefore Linux (not X, mind you (and certainly not the application at hand)) is inconistent and must be all bad. Sure.

    28. Re:This is a usability problem... by jonasj · · Score: 2, Insightful

      Considering that the OP was an old Windows user, it's interesting that we see people complaining about Ctrl+C and Ctrl+V not working in a terminal, because in a Windows 2000 "terminal" (cmd.exe), you paste by right-clicking, and copy by selecting followed by right-clicking. Ctrl+C and Ctrl+V is sent to the application running in the terminal, as in Unix.

      --
      You know, Microsoft's street address also says a lot about their mentality.
    29. Re:This is a usability problem... by Rick+and+Roll · · Score: 1
      I agree with you. To have that option available (but not the default) would be excellent.

      Many longtime UNIX users I've met always thought Mac OS was the pinnacle of the graphical user interface. They didn't even claim to have a good GUI, just a working GUI.

      I think to say that we should all switch over to UNIX GUI is preposterous. This is a very small minority. Most people admit UNIX GUI's suck. Things often associated with UNIX GUI's suckiness besides the terrible clipboard mechanism are ugly fonts, two-color GUI's (yes I still use one once in a while - Xfig), and poor keyboard navigation support.

      They are not going to teach old-style UNIX stuff in any reasonable GUI class. Why? Because this stuff is a hack. The companies and individuals that really put effort into GUI's (conducted usability studies, read books, wrote books, etc.) are the ones we should model our GUI's after.

      That said, for the most part I am happy with the GUI's on my Linux box. I just wish I could turn that damn middle-click off and use it for autoscroll, and have copying of text, images and other data work ubiquitously using C-x, C-v, C-z.

    30. Re:This is a usability problem... by gregmac · · Score: 1

      The confusion arises when Mac/Windows people arrive and want to bring their habits with them. This is completely natural. However, there has been and will continue to be strong resistance (I'll lead it myself if needs be ;) to abandoning those of us who think that highlight, middle click is vastly superior.

      I'm getting used to the highlight, middle click method - it's very useful for terminals, espessially - but it's still inferiour. The biggest problem is that you can't select a chunk of text and then delete it and paste what's in the clipboard on top. There was another reply in this thread saying that there should be one more action beyond highlighting to copy - I totally agree.

      The other method would be to drop that altogether and realize that the keys like ctrl+c, ctrl+v work well. It could even be a totally different method soas not to confuse ctrl+c with break (although, really, terminal is the only place this is affected, and terminals should implement a totally non-standard method - highlight to copy, middle click to paste - because they're non-standard compared to a GUI).

      But trying to copy the familliarity of windows (and this goes beyond just copy/paste) but not implementing it 100% is just plain dumb. It makes convertees annoyed, since it appears 'broken'.

      I somewhat agree that using the mouse only for copy/paste (as a fundamental operation) is a good thing (even though you were trolling ;) ) but at the same time, not being able to do something as fundamental as select a block of text and delete it without erasing your buffer is silly. One of the nice things about a GUI for text editing is the fact that you can select a large block of text very quickly and delete it.

      Of course, the vim people will argue that you can do something similar in vi -- but only lines, or multiple commands (delete to end of line, from beginning, etc) and you still have to count lines to do it. (btw, I love vim.. but editing in a GUI is more productive).

      --
      Speak before you think
    31. Re:This is a usability problem... by drew · · Score: 1

      i could be wrong, ut i was pretty sure that the primary selection buffer is just as capable of containing non-text content as the clipboard buffer- they are implemeted the same way to X, the only difference is in how something gets into the buffer (i.e. automatically versus explicit action). the problem is that no applications use the primary buffer that way.

      --
      If I don't put anything here, will anyone recognize me anymore?
    32. Re:This is a usability problem... by Yunzil · · Score: 2, Insightful

      I think one button is the simplest and
      most elegant way to design a mouse.


      Maybe, but "simple and elegant" is not the same as "useful". :)

    33. Re:This is a usability problem... by Blakey+Rat · · Score: 1

      That's why you need a Macintosh with a "Command" key used for executing commands and *nothing else.*

      I'm going into fanboy mode here, but Apple really knew what they were doing when they designed their keyboard. They realized that the mouse was too slow to select menu options all the time and that keyboard shortcuts would be needed and, since they were designing a keyboard from scratch, they had the ability to add an entire key dedicated to nothing but keyboard shortcuts! At the same time, they could keep the 'control' key (used to talk to software in terminals), the 'option' key (which exposed different options... for instance, holding down the menu without "option" might show "Find Files..." and with "option" might show "Find Invisible Files...")

      The Apple keyboard also has both a "Enter" key and a "Return" key... "Return" adds a new line to the text field, like on a typewriter, and "Enter" enters data into the computer. At the time, I suppose no one figured out the reason behind this, but it's perfect for modern applications like AOL Instant Messenger (where you can type a message with carriage returns, then hit another key to send it without leaving the keyboard.)

      What really cheeses me off is that Microsoft had a chance to fix this situation when they released the Windows 95 keyboard. Instead of a "Windows Key" they could have added a universal shortcut key and started putting some pressure on software developers to use it. But, oh well... missed chance.

    34. Re:This is a usability problem... by glens · · Score: 1
      "I think that if the developers of Linux (or in this case, X) ever want it to become a serious player in the desktop market they need to consider "when Mac/Windows people arrive and want to bring their habits with them". And yes, I used CTRL-C, CTRL-V to paste that."
      Well, I used highlight, middle-click to paste that all the while supporting my chin with my left hand.

      If the Mac/Windows folk want to come to our playground they can learn our ways, most of which are much simpler and/or more logical. Why should we accommodate their method when ours is older? If they want to use Windows why aren't they?

      What's next? "\" in pathways?
    35. Re:This is a usability problem... by pHDNgell · · Score: 1

      I just wish I could turn that damn middle-click off and use it for autoscroll, and have copying of text, images and other data work ubiquitously using C-x, C-v, C-z.

      C-v is quote, C-z is suspend, C-c is break (I know you had C-x there, but I'm not sure what that is, and others have mentioned it).

      This paradigm makes sense on the mac with the command key since it doesn't prevent me from using the keys I need to use for terminal apps.

      The extra required to cut/copy and paste when I started using macs was a bit annoying, but it didn't interfere with any apps I had, so I got used to it. It's still kind of funny watching Windows users in their ssh clients.

      --
      -- The world is watching America, and America is watching TV.
    36. Re:This is a usability problem... by xandroid · · Score: 1

      Have you really reassigned copy-paste to ^J/^K? I've been thinking about that but I had doubts that I'd be able to get all my GUIs to do it.

      --
      $ echo "ceci n'est pas une pipe" | sed -Ee 's/(eci n|pas )//g'
    37. Re:This is a usability problem... by Anonymous Coward · · Score: 0
      1. All that said, the idea of having to use both keyboard and mouse for such a fundamental operation is just so horrifyingly backwards and wrong, and it amazes me that anyone who's experienced X11 could possibly go back to such an arcane and user-hostile configuration. ;-)

      Troll, hell. I can't agree more. I grew up on DOS, moved to Windows, and used OS/2...and it still amazes me (!) how damn practical select-middle_click under X is.

      I am frustrated when it is not available.

    38. Re:This is a usability problem... by Anonymous Coward · · Score: 0
      1. Because, in windows, you don't HAVE to use the keyboard and mouse to copy n' paste. You can simply highlight, right click, choose copy, right click in another location, choose paste. The keyboard need never be involved. I usually use CTRL-C and CTRL-V because its faster and it works universally (some lame applications choose not to implement the right click menu standard - I shun those apps whenever possible).

      Under X;

      1. Select with mouse.
      2. Middle click where you want to paste.

      If a copy-paste method can be simpler...please descibe it! ;-}

      The good news is that there are Windows and I'd guess MacOS add-ons that allow you to have this simplified behavior. The default mouse-only method under Windows is not used much because it is awkward and time consuming.

    39. Re:This is a usability problem... by oskillator · · Score: 1
      It's especially fun that in Dvorak, Ctrl-V is right next to Ctrl-W.

      (which closes the window, in Windows)

    40. Re:This is a usability problem... by shaitand · · Score: 1

      Ok, it's obvious to get my fellow *nix geeks to buy into this philosophy I need concrete examples of improved functionality.

      1. Everyone knows the problem with obliterating urls and broken apps. Yes there are ways around most of it and other ways of doing things, that's not the point.

      2. It's faster, I challenge you to use one hand to do faster what I can do with two in parallel. While using the mouse my fingers can rapid fire their corresponding functions. Generally the my fingers are ready to ctrl+v faster than my mouse gets to where the paste is going... since like most users I actually only have two fingers on the mouse it takes longer to move a finger to the middle button than it does to press the v key.

      3. If you actually wanted to, although it's a tad clunky you can right-click+copy and right-click+paste. Even in windows or MacOS I can copy and paste without ever touching the keyboard. In fact this is how your average windows or mac user actually does it.

    41. Re:This is a usability problem... by RzUpAnmsCwrds · · Score: 1

      "highlight, middle click is vastly superior"

      Highlight, middle click has some serious problems.

      1: It's easy to change the selection. This is particularly apparent when you are trying to paste but you accidentally move the mouse and end up losing your selection.

      2: You can't overwrite text. You have to paste in and then change the selection.

      3: There is no cut. You have to copy the text and then manually delete the source text. This requires much more work than CTRL+X / CTRL+V

      4: Pasting multiple times is a bear. If you accidentally change your selection, you have to go and select it again.

      #1 is particularly a bear. If you are a new user (or are simply clumsy with the mouse), it's super easy to lose your selection while trying to paste. Moreover, most mice *don't* have a middle button (other than the scroll wheel click which is used for a different action).

      My personal solution would be a mouse with "Cut", "Copy" and "Paste" buttons. Personally, I want the following buttons on a mouse:

      - Primary
      - Secondary (context menu)
      - Back/Forward for web browsing
      - Cut/Copy/Paste
      - Scroll wheel / button

      Fortunately, Logitech makes a mouse with 7 buttons and a scroll wheel/button (the MX700). Using their software, I can configure my mouse to do exactly this.

    42. Re:This is a usability problem... by sankeld · · Score: 0
      There really isn't any way to make the ctrl-C, ctrl-V method of copy and paste compatible with terminal applications.

      I wouldn't paint such a doomed picture. How about making Ctrl-C copy to the clipboard only when text is selected? Presumably this is the only time you'd wish to copy text. And in the reverse direction, I can't see a need to kill an app when you have screen space selected.

      Ctrl-V is probably a harder one. I have seen this used in only one form:

      stty erase Ctrl-V<Backspace>

      For weird unixes this is a must. However, I think we can change this weird sequence to Ctrl-L (for literal) and go ahead and use Ctrl-V for pasting.

      A terminal with the above features would be most welcome on my desktop.

    43. Re:This is a usability problem... by drsmithy · · Score: 1
      All that said, the idea of having to use both keyboard and mouse for such a fundamental operation is just so horrifyingly backwards and wrong, and it amazes me that anyone who's experienced X11 could possibly go back to such an arcane and user-hostile configuration.

      Nearly as arcane and user hostile as having to manually backspace over any text you want the clipboard contents to replace, or being able to accidentally wipe out the clipboard contents with a click...

      The different models have developed because of different requirements. Unix users primarily use copy & paste to copy a bunch of text from one xterm to another (usually a command line or a waiting text editor). So that's what it's optimised to do.

      Mac and Windows users, OTOH, use copy & paste as a versatile *editing* tool to move different types of data (text, pictures, etc) between multiple applications, often wanting to use the contents of the clipboard to replace existing data. So that's how the UI is optimised.

      IME, the Mac/Windows model is a lot easier to use in the typical unix way than the unix model is in the typical Mac/Windows way. The former is marginally slower, but the latter is not only much slower, but much more frustrating.

    44. Re:This is a usability problem... by FunkSoulBrother · · Score: 1

      honest question, from a non-Unix user. How do you do that with no mouse? Are there keyboard shortcuts?

      In windows I should Shift-Arrow to select text, then Crtl-XCV to cut copy paste it. Is there a Unix equivalent for those of us with 2 hands on the keyboard?

    45. Re:This is a usability problem... by jonadab · · Score: 1

      > All that said, the idea of having to use both keyboard and mouse for such
      > a fundamental operation is just so horrifyingly backwards and wrong

      That's exactly why Ctrl-C and Ctrl-V is better: no need to take my hands off
      the keyboard. (No, I don't usually use the mouse for selection; the keyboard
      is much faster, once you learn to use the cursor keypad, which I did years
      ago, back in the days of DOS 3. I do have a mouse, so I can use Gimp :-)

      --
      Cut that out, or I will ship you to Norilsk in a box.
    46. Re:This is a usability problem... by pavon · · Score: 1

      Good idea on the copy.

      Ctrl-V is probably a harder one. I have seen this used in only one form:

      ctrl-v is also the traditional page-down key for many utilities.

    47. Re:This is a usability problem... by lahvak · · Score: 3, Insightful

      The parent said:

      "What I am saying is that many people don't understand why highlighting something would copy it. Take a minute to think about that. Shouldn't you have to take some sort of action to copy something?"

      I see the X-window way of copying as much more natural. If you highlight something, you don't copy it. You just mark it for some sort of action. Then you either press a key and delete it, or press another key and change it to uppercase, or middle click somewhere and insert a copy of the marked text. You don't actually copy anything until you middle click.

      I was always confused by the windows terminology: first you "copy" something, and then you still have to "paste" it? When you "copy" it, where is the copy? I don't see it. Clipboard? What's a clipboard?

      There is no reason to use a clipboard for such a simple operation as copying a piece of text. Of course, sometimes you run into a situation where you highlight something for copying, then you realize you want to erase something first. That's when you use a clipboard, to temporarily hold a copy of your text while you highlight something else.

      The author of the original article could just as way complain about something like this:

      "When I select a text to make it bold, and then decide I need to erase something first, I loose the original selection as I select the text to be erased."

      The parent also said:

      "But for Linux to really take hold, it needs to adopt functionality that will allow users coming from other UI worlds to function in a reasonably similar environment instead of having to adopt all sorts of strange new conventions."

      I cannot believe I cannot use my whip to make my car go faster. Instead, I need to step on some sort of pedal. For cars to really take hold, they needs to adopt functionality that will allow people used to riding horses to function in a reasonably similar environment instead of having to adopt all sorts of strange new conventions.

      Of course the real problem is that many new gui applications break the standards and mess up the whole x-window way of copying, mixing up primary selection and clipboard.

      --
      AccountKiller
    48. Re:This is a usability problem... by lahvak · · Score: 1

      Emacs uses ^c for whole bunch of stuff (mode-specific-command-prefix). Vim uses ^v for inserting literal control characters, and disabling keyboard mappings and abbreviations.

      That's just quickly from my (rather poor) memory.

      As for ^x ... let's not even go there.

      No matter what you do, you are bound to break something. You could use the "window" key, byt that's not on every keyboard. It's easier on a Mac, you are guaranteed to have certain keys.

      --
      AccountKiller
    49. Re:This is a usability problem... by inferno0069 · · Score: 1

      What's really fun is getting all nice and used to vi, then typing something in some windows program and realizing you want to delete the last few words. Next thing you know, your wallpaper is conspicuously visible where that important memo (or slashdot comment) was only moments before.

    50. Re:This is a usability problem... by Anonymous Coward · · Score: 0

      "I'm not stupid, I've been using X11 nearly daily since 1990, and I've been screwing it up since then."

      You must be American....

    51. Re:This is a usability problem... by Anonymous Coward · · Score: 0

      In other words, your biggest problem with the unix world is the lack of One Microsoft Way of doing things.

      Too bad, If you want bill to tell you how to do things, use Windows. I don't want him (or you) to decide how I do things, and that's why I don't use Windows.

    52. Re:This is a usability problem... by Anonymous Coward · · Score: 0

      In case you missed it, he was using two hands. One on the mouse, and one for other things.

    53. Re:This is a usability problem... by Anonymous Coward · · Score: 0

      Sure, ctrl-X/C/V works too. Shift-arrows for highlighting ought to work too, but I never tried that (don't think they work in Mozilla OR IE, and I never use a word processor).

      Except for xterm, but that's a problem with xterm, not X.

    54. Re:This is a usability problem... by k-zed · · Score: 1

      The other method would be to drop that altogether and realize that the keys like ctrl+c, ctrl+v work well. It could even be a totally different method soas not to confuse ctrl+c with break (although, really, terminal is the only place this is affected, and terminals should implement a totally non-standard method - highlight to copy, middle click to paste - because they're non-standard compared to a GUI).

      the highlight/middle click thing IS the standard. has ever been.
      sidenote: i never really used ctrl-c and ctrl-v, because i'm left-handed. i use ctrl-ins to copy, and shift-ins to paste (i think those work everywhere where ctrl-c and ctrl-v do).

      Of course, the vim people will argue that you can do something similar in vi -- but only lines, or multiple commands (delete to end of line, from beginning, etc) and you still have to count lines to do it. (btw, I love vim.. but editing in a GUI is more productive).

      when you're familiar enough with vim, learned all those keystrokes and techniques, it is way more productive than a GUI. and faster, a lot faster to work with.. oh, and you can select/delete/etc any arbitrary region with 'v' (visual mode).

      my real problem with the X clipboard isn't the highlight/middle-click mechanism; it's that while i'm going over with the mouse to the other app to paste, the terminal might get some output to display, killing my selection.. for example, if you want to paste a URL to your browser from an active irc channel, you'll almost certainly have to CTRL-S the terminal with the irc client first.

      idea: if we rewrite everything everywhere just for the purpose of better copy-paste, why not implement vim-like features in the widgets? (such as multiple clipboards with ", regex search&replace and so on.. it wouldn't need to be a feature turned on by default, because i'm sure the modeful paradigm would piss off (and possibly scare) the windows newbies HARD.)

      --
      we discovered a new way to think.
    55. Re:This is a usability problem... by morganjharvey · · Score: 1

      I always thought it was because "V" looks like the tip of a glue bottle.

      I like your explanation better. :)

    56. Re:This is a usability problem... by dave420 · · Score: 1

      This isn't about the methods of copying/pasting being different (we can see how that's frustrating when it differs), but the fact that there are TWO DIFFERENT clipboards, with their own keys. It doesn't matter how you copy/paste stuff, its the idea of two independent clipboards that which we're talking about.

    57. Re:This is a usability problem... by pluvia · · Score: 1

      IIRC, the CUA keybindings were created with a focus on text editing. C-z,x,c,v were chosen because they are easy for your left hand to press, while your right hand can be either at the keyboard (chars or navigation keys) or on the mouse. They were intended to bind to among the most frequently used editing commands, namely "undo, cut, copy, paste" respectively. fyi: C-x is "cut" which is basically a macro for "copy and then delete".

      Aside from habit, I suppose the question is, what really are the most frequently used commands? undo/copy/pasting or suspend/break/quote? Job management (z,c) is certainly important and I certainly make use of them, but, in general, I do not think they are used as frequently. Quoting is also used, but I don't think it is very common (some people don't even know about it).

      Theoretically, they are orthogonal concerns, and we might be able to have a different set of keybindings for each mode: one set for editing the command line, and another set for manipulating an executing program. Of course this doesn't account for "quote", and also has several pitfalls.

      Sadly, I don't really use Macs, but I envy some of their design, which you mention.

      Coming from the Windows world, the unix terminals seem ancient and insane to me: console programs not recognizing key combinations because of the limitations of terminal emulators. Having to hit "escape" twice because keys are transmitted in-band using the "escape" code, etc.

      I've been trying to get readline to behave like a Windows text box, to make editing the command line more efficient for me. Currently, I'm just binding alt-c,v and alt-b to invisibly mark an area and kill or yank the text so I have some semblance of the text editing I'm used to. Every so often I muse about creating a nice text-mode program which implements CUA command line text editing and job management.

    58. Re:This is a usability problem... by bgeer · · Score: 1

      It's shift-insert to paste into an xterm. ...don't ask which clipboard you'll be pasting from, it's more fun to try to figure it out on your own.

    59. Re:This is a usability problem... by zsau · · Score: 1

      It bemuses me that it might make a difference. On X, I can middle click till the cows come home. On X, you can go Edit/Copy until such a time as female domesticated bovine arrive at their abode. What I do shouldn't bother you, what you do shouldn't bother me.

      (If XTerm's inability to use the clipboard is a problem for you, there are alternative terminal emulators around. But for the most part, the two clipboards operate independently, and if you don't use the primary selection, you don't need to worry about it. I actually find having two clipboards amazingly useful.)

      --
      Look out!
    60. Re:This is a usability problem... by RedBear · · Score: 1

      Shouldn't you have to take some sort of action to copy something?

      Yes. Thank you, thank you, thank you. The act of selecting something and the act of copying it should be separate. Combining the two doesn't make any real sense in a GUI world. Sometimes you just want to select something in order to quickly delete it, or change the font, or whatever. Or you want to select a section of text in order to paste over it. It's a really simple concept. Having the selection copied automatically is really not helpful in most situations, unless you think and work backwards and you've already cleared out the space where you're going to paste the selected text! Why else would so many people here have shortcuts and scripts just to work around this backwardness? Like the guy above said, he's been using X since 1990 and still this feature is confusing. That should be a wake-up call.

      Ditto for me. I've been using Linux on my main machine for a few years now. By most definitions I'm no dummy. I've run Debian and even compiled my own kernels from time to time. Still it's things like this that aggravate me when moving between different applications and the terminal. It's usability problems like this that keep me from even thinking of recommending Linux to any non-geek person. Because I know they'll stumble on it sooner or later and go "WTF?! You told me this system was better than Windows, but it sucks like 1993!"

      Every time this comes up there's a lot of talk about history and the inevitable "it works for me, you dummy!" comments. But quite obviously it does not and will never work for a lot of people. It's not simply a matter of what you're used to. And I've never seen a valid reason brought up for why two clipboards are necessary or even desirable. If Mac OS X and Windows can go through life with a single unified clipboard, so can Linux desktops.

      If more Linuxites were able to put down their egos for a few moments and acknowledge all the usability problems that still plague Linux desktops, we might have advanced much farther into the desktop world by now. Just because you've gotten used to something or it was the way it was always done before doesn't mean it's the best way.

    61. Re:This is a usability problem... by RedBear · · Score: 1

      Why is "V" Paste, anyway?

      V is paste most likely because long ago (circa 20th century) the written proofreader's symbol on your English report that means "insert the text I've written here into this spot" looks like an upside-down V. See here.

      I find it quite remarkable that all three of the commands could be grouped together on the keyboard even though the qwerty keyboard was created what, 100 years before the first PCs? Kind of interesting how that worked out.

    62. Re:This is a usability problem... by dave420 · · Score: 1

      But the fact that our beloved OS can't even keep its clipboard together is what's being debated here. Compared to windows' unified clipboard system, it looks ridiculous. How can you explain that to your gran? Linux will stay in our domain if we can't make it more usable. Three independent clipboards, each with their own access methods (which differ from app-to-app) is not the way to make a simple OS.

    63. Re:This is a usability problem... by zsau · · Score: 1

      I don't understand how two independent clipboards is a problem. The selection never over-rides the clipboard, so what difference does it make? If I've never heard of middle-button clicking, I won't do it and I'll never care. I don't see what's wrong with that...

      (BTW: The Windows clipboard isn't as simple as you think. Try using the clipboard in cmd the same as you'd use it in Word and welcome the confusion that ensues.)

      --
      Look out!
    64. Re:This is a usability problem... by egghat · · Score: 1

      Yepp, you get the point. When a action is implicitly called this will be confusing. Selecting text AND automatically adding it to the clipboard is confusing. Yes yes you can train people, but it is still confusing.

      Think about this: Is there any wide spread application which uses the text selecting/copy/paste paradigm? Any file manager? Paint programm? Mail? NO! All use drag&drop or some keystrokes to perform copy/paste. And IMHO for a reason.

      And one thing I always have to say when discussing GUIs is that the major paradigm that's used way too seldom is Drag&Drop. Selecting a text and dropping it into the application where it should be pasted is so wonderful and intuitive (and it doesn't need a single keystroke or mouse click more than the x-way to copy/paste). In a file manager, in an editor, everywhere. Intuitive and consistent. And you can explain this behaviour in 10 seconds to everyone. Try that with ctrl-c/v or the X-windows way.

      Bye egghat.

      --
      -- "As a human being I claim the right to be widely inconsistent", John Peel
    65. Re:This is a usability problem... by Anonymous Coward · · Score: 0

      I started computer life as a Mac user. I think one button is the simplest and most elegant way to design a mouse.

      Then you'll be somewhat horrified with my mouse setup:

      Button 1 on titlebar minimises or moves the window, is passed through elsewhere.
      Button 2 on title bar does a shade/resize combo on the titlebar, moves the window on the bottom frame handle, as usual elsewhere.
      Button 3 does raise/lower on title bar and bottom frame, whatever on rest of window.
      Mouse wheel on title bar shades/unshades, or (un)maximises vertically with 3 or more scrolls (i.e., a quick flick). It slides the window up or down a little on the bottom frame. You can guess what it does in the window area.

      Wait, there's more!
      Button 6 on the title bar closes, but moves the window if clicked anywhere else.
      Button 7 does a raise/lower in the window and stick/unstick in the titlebar.

      Now this is what I call usability. I've pretty much eliminated titlebar buttons and keyboard shortcuts for window operations.

      Run screaming now :-)

    66. Re:This is a usability problem... by FauxPasIII · · Score: 1

      > Alright, I'll bite... I'm gonna head under the bridge and talk to the troll...

      Fine, fine. The last paragraph was intended (and clearly marked) as such. ;)

      > they need to consider "when Mac/Windows people arrive and want to bring their habits with them"

      Fine, as long as I can still use the method I consider to be clearly superior.

      > Because, in windows, you don't HAVE to use the keyboard and mouse to copy n' paste. You can simply highlight, right
      > click, choose copy, right click in another location, choose paste.

      Explain to me how that method is faster and more convenient than highlight, middle-click. Be detailed.

      > What I am saying is that many people don't understand why highlighting something would copy it

      It doesn't. Middle clicking does.

      > Shouldn't you have to take some sort of action to copy something?

      Yes; middle click. Windows and Mac have left you with the idea that copy and paste have to be fundamentally seperate operations; they don't.

      > How hard would it be to allow the user to choose a "Middle click required to copy text" checkbox?

      Many people don't think you should have to take two seperate actions to accomplish one task (copying text from one place to another). Take a minute to think about that.

      > for Linux to really take hold, it needs to adopt functionality that will allow users coming from other UI worlds to
      > function in a reasonably similar environment instead of having to adopt all sorts of strange new conventions.

      Someone already adressed this with the familiar car/buggy-whip analogy. Nonetheless, if you'll reread my post you'll
      see I'm not calling for universal enforced adoption of select, middle-click. I want to see a choice in the window
      manager that all applications inherit. You can continue frobbing your keyboard if it makes you happy, I'll be
      blissfully single-clicking my copied text, and we can get on to bigger and better things.

      --
      25% Funny, 25% Insightful, 25% Informative, 25% Troll
    67. Re:This is a usability problem... by FauxPasIII · · Score: 1

      > 2: You can't overwrite text. You have to paste in and then change the selection.

      -nod- This is really the only issue I have with highlight, middle-click and I've learned to work around it (middle-clicking a url into the main window of most browsers, for instance). Not worth abandoning the overall much better model in my opinion.

      > My personal solution would be a mouse with "Cut", "Copy" and "Paste" buttons.

      This is the best solution I've heard. I've always wished logitech would release an updated version of the God of All Mice that had a wheel, infrared tracking and thumb and pinky buttons. Sadly, they seem to have abandoned their fat-fingered customer base. =(

      --
      25% Funny, 25% Insightful, 25% Informative, 25% Troll
    68. Re:This is a usability problem... by alanoneil · · Score: 0

      Personally, the MacOS seemed to have been designed to marry well with *nix consoles from day one. All (well, almost all) GUI keyboard shortcuts involve the "command" key (no, please don't call it the Apple key). This means one can do meta-C and meta-V in Terminal and get proper copy/paste behavior like they've expected for the past 20 years, and ctrl-c and ctrl-v are properly passed directly to the command-line program running. Perfect.

      --
      --
    69. Re:This is a usability problem... by Suidae · · Score: 1

      No, I had the kind of problems you suspect. Instead I use an old programmable keyboard. I just set the ctrl+J keystroke to generate a ctrl+V instead.

      Generating a ctrl+J requires typing a ctrl+V of course, but I dont' use ctrl+j often anyway.

  10. What middle button? by Wesley+Felter · · Score: 4, Insightful

    Lately I have begun to find the automatic highlight-copy to be annoying. As in, I'll highlight text to copy it, then realize I want to highlight a block of text for the purpose of deleting it. Of course, the second highlighting overwrites the first highlighting. I am curious about how other people accomplish their copy/paste needs.

    I used to run into the same problem, but you already know the solution: use ctrl-c and ctrl-v. If an application doesn't support them, scrap it. Just ignore your middle mouse button -- pretend it isn't there -- and you won't have this problem.

    1. Re:What middle button? by Animaether · · Score: 1

      Which doesn't address the 'problem' that even if you decide to dedicate yourself to ctrl+c for copying and ctrl+v for pasting, that selecting will automatically copy the selection and overwrite whatever was on your 'clipboard'.

    2. Re:What middle button? by GigsVT · · Score: 2, Informative

      If highlight clobbers something you copied with ctrl-c, then it's a bug in the program.

      There are two clipboards, and highlighting should never clobber something you manually copied.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    3. Re:What middle button? by rayvd · · Score: 1

      Many of us like to copy & paste from xterms... :)

    4. Re:What middle button? by roca · · Score: 4, Informative

      Only if your application sucks. freedesktop.org spells out how this should work; ctrl-c/ctrl-v manage the CLIPBOARD selection, and mouse selection manages the PRIMARY selection. Selecting text with the mouse should NOT interfere with ctrl-c ctrl-v operations in ANY way.

      http://freedesktop.org/Standards/clipboards-spec /c lipboards.txt

    5. Re:What middle button? by Wesley+Felter · · Score: 0

      I stand by what I said: If an application doesn't support ctrl-c/ctrl-v, scrap it. In this case, scrap xterm and use GNOME Terminal or the KDE equivalent.

    6. Re:What middle button? by Brandybuck · · Score: 2, Funny

      Just ignore your middle mouse button

      Oooh! Just like Windows!

      --
      Don't blame me, I didn't vote for either of them!
    7. Re:What middle button? by Anonymous Coward · · Score: 1, Informative

      You do know that CTRL+C is used to interrupt programs.. right?

    8. Re:What middle button? by Wesley+Felter · · Score: 1

      In GNOME Terminal I just choose Copy from the Edit menu when I want to copy text. My point was that there are terminal emulators which can use the real clipboard in addition to the primary selection.

      (This problem doesn't exist at all on the Mac, since ctrl-c is used to send an interrupt and cmd-c is the shortcut for copy.)

    9. Re:What middle button? by Anonymous Coward · · Score: 0

      ..except that X programs on the Mac still use ctrl-c/v instead of cmd-c/v.

    10. Re:What middle button? by Anonymous Coward · · Score: 0

      NOOOO! The solution is obvious, and its not use ctrl-c/v. The solution is to paste what you just cut before you highlight what you want to delete. Geez. Frickin retards.

    11. Re:What middle button? by juhaz · · Score: 1

      Well, it does that everywhere.

      At least gnome-terminal (not sure about konsole) takes the kind-of-makes-sense route of shift+ctrl+c/v for copy/paste that only slightly changes from the normal, instead of switching to totally different (funnily enough, X-ish) method like windows console windows, as if that's not enough it's totally different in w9x and nt++

    12. Re:What middle button? by Anonymous Coward · · Score: 0

      You are my bestest friend Mr Ray!

    13. Re:What middle button? by Anonymous Coward · · Score: 0

      GO LEO!

  11. Re:Training and repetition by o0zi · · Score: 1

    Copy and paste using highlight and middle-click works in every X application, but nowadays other methods are usually available. If you use a desktop environment such as KDE or Gnome, everything should be sorted for you, thanks to their desktop environment capabilities. Just switch to a fully-fledged desktop environment.

  12. Middle button? by 1000101 · · Score: 5, Funny

    "... performs a copy while the middle mouse button performs a paste."

    I use a Mac you insensitive clod!

    1. Re:Middle button? by ChipMonk · · Score: 2, Funny

      So a Mac user can only paste?

    2. Re:Middle button? by Anonymous Coward · · Score: 0

      What? Of course Macs have a middle button. In fact, they ONLY have a middle button.

    3. Re:Middle button? by zelurxunil · · Score: 3, Funny
      I use a Mac you insensitive clod!

      My mac runs yellow dog linux with a three-button usb mouse, you insensitive clod!
      --

      What's another word for Thesaurus?
      -Steve Wright
    4. Re:Middle button? by Anonymous Coward · · Score: 0

      So you DO have a middle button, just not a left and a right.

    5. Re:Middle button? by mydn · · Score: 1

      Ok, then you are familiar with the middle button, yes?

    6. Re:Middle button? by jpetts · · Score: 4, Funny

      "... performs a copy while the middle mouse button performs a paste."

      I use a Mac you insensitive clod!

      If you only have one button, it is the middle button...

      --
      Call me old fashioned, but I like a dump to be as memorable as it is devastating - Bender
    7. Re:Middle button? by Too+Much+Noise · · Score: 1

      For that matter, there's no actual button on mac mice - unless, of course, you mean the mouse IS the button ^_^

    8. Re:Middle button? by Sabaki · · Score: 1

      I've been using Macs for about fifteen years, and multi-button mice on Macs for oh, seven years? I've definitely gotten to prefer them.

      Anyone have any numbers on how many Mac users have full-featured mice, and how many stick with the sometimes awful defaults?

      Select to copy drives me up the wall, especially since A) I have a to select stuff as I'm reading it, which is my own fault, and B) I often use applications like PuTTY where the text can actually scroll while you're clicking on it to get focus, thus selecting something against my will and blowing away whatever I had in the clipboard.

    9. Re:Middle button? by SRain315 · · Score: 4, Funny

      I've always thought it odd that Mac users don't have a middle button.

      I _know_ they have a middle _finger_ because they show it to me all the time...

      ---

      (Sure, mod it flamebait. I _am_ an insensitive clod.)

      --
      --- Corporations Are A Fad.
  13. Emacs by Yonkeltron · · Score: 0, Offtopic

    I believe using Emacs will solve this problem.

    --
    Keep the faith, share the code
    1. Re:Emacs by Anonymous Coward · · Score: 0

      Yeah. A huge bloated piece of crap third application just to use as a makeshift clipboard sounds like a fine solution.

      I bet you "type" by mouse clicking onto a GUI keyboard character map, too.

  14. three words by 10am-bedtime · · Score: 0

    avoid. mouse. usage.

    cue drool-and-twitch replies...

    1. Re:three words by Karamchand · · Score: 1

      oh yes, surfing usual websites using they keyboard is lots of fun, true.
      Hey, got it? This guy was speaking about browsing the web :-)

    2. Re:three words by 10am-bedtime · · Score: 1

      lynx, w3m, etc.

    3. Re:three words by Anonymous Coward · · Score: 0

      So? It doesn't get more comfortable. Try using slashdot with Lynx - it might work, but it sucks.

  15. I grew up on VMS by Anonymous Coward · · Score: 2, Funny

    I keep hitting control-B to get previous commands, control-H to get to the beginning of the line, control-A to insert, control-E to get to the end of the line.

    You think YOU have problems?!?! Think about poor poor pitiful me and my basement full of VAXen next time.

    1. Re:I grew up on VMS by expro · · Score: 1

      Yes, but the break key was always the most fun. Use it to switch between sessions. Oh, you are on the console line? Too bad.

      You can actually remap most of the command editing keys and make yourself right at home on Linux.

  16. For single lines it's not too bad by cheide · · Score: 1

    For something like a URL bar, most browsers I'm aware of will let you hit Alt-A to go to the start of the line and then Alt-K to delete the current URL, without destroying the current selection.

    Any app more complex than that really should be providing their own copy/paste functionality. The automatic-copy-on-highlight only uses *one* of the X selection buffers...

  17. This is the correct behavior by aussersterne · · Score: 1

    This is the way it's always been & this is the way most UNIX+X users prefer it: highlight=copy, middle-click=paste.

    Adapt.

    --
    STOP . AMERICA . NOW
    1. Re:This is the correct behavior by gr8_phk · · Score: 1

      That works great except when you want to highlight something and paste over it with whats on the clipboard.

    2. Re:This is the correct behavior by th77 · · Score: 2, Insightful

      In this case, one action is completely identical to another (highlight to copy is indistinguishable from highlight to select) and you end up with a potentially destructive situation. When something like this is considered normal usage, it may not be "wrong" but it sure ain't "good."

      --
      Your favorite sig sucks
    3. Re:This is the correct behavior by peterb · · Score: 3, Funny

      If the people who built X designed a car, you'd have to start the engine by turning a crank, and accelerate by dangling more food to the hamster running in the flywheel attached to the driveshaft.

      Adapting to stupid, broken, and braindead things -- such as the X cut and paste lossage -- is itself stupid. Here's a nickel, kid. Go buy yourself a real window manager and toolkit.

    4. Re:This is the correct behavior by richjoyce · · Score: 1

      He understands it's the correct behavior, and that it is preferred, etc. But just because most users prefer Gnome, doesn't mean I use it. Just because most users prefer Emacs doesn't mean I use it. *nix is about choice. He's asking what choices he has.

    5. Re:This is the correct behavior by Anonymous Coward · · Score: 0

      That does not mean that it is good behavior. Maybe *nix should adapt? Personally I find that behavior very annoying since replacing text is just that much more complicated.
      Most *nix programs are built on the old philosophy of doing one thing and doing it well. It seems odd that any *nix user or programmer would therefore argue in favor of using one action to do more than one thing and do it poorly. Just a thought.

      A side note here... since you have the source code to my favorite operating system, you can change the behavior if you want to.

    6. Re:This is the correct behavior by General+Fault · · Score: 1

      That does not mean that it is good behavior. Maybe *nix should adapt? Personally I find that behavior very annoying since replacing text is just that much more complicated. Most *nix programs are built on the old philosophy of doing one thing and doing it well. It seems odd that any *nix user or programmer would therefore argue in favor of using one action to do more than one thing and do it poorly. Just a thought. A side note here... since you have the source code to my favorite operating system, you can change the behavior if you want to.

      --
      No man is an island... But I wouldn't mind having a bigger moat.
    7. Re:This is the correct behavior by Anonymous Coward · · Score: 1, Insightful

      Adapt? The software should adapt to the user, not the user to the software.

    8. Re:This is the correct behavior by Self+Programmed · · Score: 4, Insightful

      I am sorry but you cannot speak for me about what I prefer. I have changed my jed editor to do ctrl-c and ctrl-v properly. I have done contract work using mouse highlighting on an HP UNIX system. It is a torture to be constantly changing models and control behaviors. X should adopt 2 standards, one which is ctrl-c ctrl-v and the other the mouse highlight. The user should be able to select which one they want to use, and it should affect all tools used under X. This is not about who gets to claim the interface is right, this is about the user having an interface that THEY can use.

    9. Re:This is the correct behavior by 91degrees · · Score: 1

      So, why haven't they improved on this behaviour, like for example having a configuration whereby middle click allows you to paste one of the past few cuts? Or have some means to highlight without copying? Windows has the capability to cut and paste without the keyboard after all. Why hasn't X evolved?

    10. Re:This is the correct behavior by boa13 · · Score: 1

      Here's a nickel, kid. Go buy yourself a real window manager and toolkit.

      I went to Fry's and asked what window manager I could have for a nickel. Nobody was able to answer my question, but maybe it's just that nobody knows?

    11. Re:This is the correct behavior by Anonymous Coward · · Score: 0

      There is a lovely phrase in the Hacker's Dictionary: Broken By Design.

    12. Re:This is the correct behavior by jonfelder · · Score: 1

      I'm a Unix+X user, and I hate it. Pasting over a selection with this method isn't possible. Not too mention accidentally hitting the middle mouse button can have disasterous effects in a terminal.

      It also sucks when applications make use of the middle mouse button...aka firefox for opening links in new tabs. Missclick a link and you paste crap into the browser which usually results in getting an annoying popup, "URL not found". Granted this behavior is configurable in Firefox, but this isn't always the case.

      Configurable keyboard commands or right click menus make a lot more sense. It's hard to make an accident, and you can select text for deletion or replacement without screwing up the clipboard.

    13. Re:This is the correct behavior by Anonymous Coward · · Score: 0

      Which is the spirit of Open Source in the first place =)

      Of course, once we do that we'll all be arguing over what should be the default.

  18. Oh boy by John+Starks · · Score: 3, Informative

    Soon Slashdot will be filled with the waring camps of "X is perfection" and "X is old, so it is bad."

    In this case, I find that it's merely a matter of getting used to the way the X clipboard functions. For example, delete the old text AFTER you paste the new text. It's a different way of managing your clipboard, but it's not necessary any better; for most jobs, I find it to be MORE convenient, and I start to forget to Ctrl-C when I'm in Windows.

    For more information on how X handles the clipboard/selection, see Jamie Zawinski's informative web page.

    1. Re:Oh boy by Otter · · Score: 1
      Soon Slashdot will be filled with the waring camps of "X is perfection" and "X is old, so it is bad."

      And, of course, "Well, I never have any trouble copying and pasting between applications so anyone who does claim to have experienced such problems is obviously a Micro$oft astroturfer."

    2. Re:Oh boy by happyfrogcow · · Score: 2, Interesting

      Meh.

      Highlighting having the side-effect of copying is just unintuitive and often the wrong behavior. It's speculating that you will want to copy the highlighted text, but often times you want to delete the highlighted text without clobering your copy buffer. or maybe you might just want to highlight the text to mark your spot.

      For your example of deleting after you paste, that is a matter of bad usability. so i've got this really long URL in the location bar. i middle click and paste before the first letter of the old URL. then what, i hold down delete until all the old stuff is gone? i highlight it (and by side effect copy it) then delete it? or does a keyboard initiated highligh not copy to a buffer, probably not. But still instead of the 2 actions of "highlight and paste" i have "paste highlight delete" and might end with a clobbered copy buffer.

      c'mon... i'm lazy. why do 3 things when i can do 2?

    3. Re:Oh boy by Anonymous Coward · · Score: 0

      Part of the problem is that Microsoft OLE and Microsoft clipboards are conflated in people's minds.

      Modern X Clipboard support is just as good or superior to Windows provided:

      o application authors don't mix up PRIMARY and CLIPBOARD selections - toolkits manage this for them, but there's always some goon who makes PRIMARY overwrite CLIPBOARD, pissing everyone off.

      o KDE Klipper or the GNOME equivalent is running - clipboard history is fantastically useful, and the only other platform to approach it was the old Amiga with its 255 independent clipboards...

      -BUT-

      What is missing is good support for OLE equivalents. When you "paste" in windows, an embedded data object is created, so that a spreadsheet pasted into Word is edited by an embedded instance of Excel.

      KDE KParts can embed in KDE documents. GNOME Bonobo parts can embed in GNOME documents. Mozilla XPCOM objects can embed in mozilla. OpenOffice.org UNO objects can embed in OpenOffice. JavaBeans can embed in Java Documents.

      BUT THEY DON'T EMBED IN EACHOTHER! Argh! Well, it's getting better as "bridges" are made (UNO was in fact designed expressly to make bridging to other models easy, for example).

      Okay, I now have to admit something - I _don't like_ OLE, at least as the default clipboard behaviour. I'd prefer an Amiga-Like "Datatypes" system that tries to convert the data to the application's requirements first, like "Paste Special..." or "Paste As..." in Word and OpenOffice and some KDE/GNOME applications. But OLE needs to be possible too.

    4. Re:Oh boy by buttahead · · Score: 1

      or you could "highlight, middle-click into browser window". that's still two steps.

    5. Re:Oh boy by On+Lawn · · Score: 1
      Highlighting having the side-effect of copying is just unintuitive and often the wrong behavior.


      Is it? You know all to often I hear an authoritative "wrong behaviour" for GUI's which really just interprets to mean "its not what I'm used to". That may or may not be the case, however, with your usage. All I can say is that I do expect that highlighting something means I want to do something to it. That it gets stored in a clipboard momentarily does not get in the way of that.

      While I do often highlight something with the middle button, switch to another application and it doesn't paste is frustrating. Firefox will for everything but what is pasted in the URL's tab for me. I'm not sure why that is honestly, or why it needs to be that way. That is what I'd label as inconsistent GUI behaviour within an application.

      Perhaps seeing it as something more present than a clipboard is how I see it. Heres what I mean.

      Where I get in the most trouble is that I figure that the bringing a window to the forground should put its selected text (if viewable) in the clipboard. For instance, I select item A in app A, then go to app B and highlight something there. I past in App C and since app B was the most recent foreground app onthe desktop I expect it to be pasted there. Sure enough as advertised.

      But then I focus on App A that also has highlighted text, then refocus on App C and paste. Since I see the highlight as something present (not stored on a clipboard) I expect it to be pasted. Not so however.

      Anyway, thats probably why copying what is highlighted is not unintuitive to me, however its behaviour might still be.
    6. Re:Oh boy by IamTheRealMike · · Score: 3, Insightful
      Have you actually used X much? I don't really see what the fuss is about - if you don't like the way the PRIMARY (middle click) clipboard works, don't use it. The standard Windows style clipboard is still there, still works fine, and is independent of the middle-click clipboard. If that is ever not true, you are using a buggy app that should be fixed.

      Basically, this guy is complaining that things are working in the way they should, but not how he wants them. I'm not sure how to make it convenient for him without breaking other stuff. Look at it this way, he could just use the same way that works on Windows/MacOS, but he's not, then complains that it's broken. What's up with that?

    7. Re:Oh boy by skasingularity · · Score: 1
      I use a chat program called Trillian (many of you may be familiar with it) and it has a feature where it copies when you select text. At first i thought this was odd, but it is very effective, since you can't edit text that has already been sent.

      Of course if every program on my computer did the same thing, I'd be pissed, but it does have some uses...

    8. Re:Oh boy by ImpTech · · Score: 1

      > Highlighting having the side-effect of copying is just unintuitive and often the wrong behavior

      I don't see how its unintuitive, other than that Windows doesn't do it. Its a shortcut.

      > c'mon... i'm lazy. why do 3 things when i can do 2?

      How are you ever going to do just 2 things? Not with CTRL+C/CTRL+V. That would be "highlight new URL, copy, highlight old URL, paste". 4 things. The X copy-on-highlight behavior is basically getting an action for free, no matter how you slice it. That action's not always useful, but anyone who's accustomed to it will tell you that it helps more than it hinders.

    9. Re:Oh boy by manWorkSucks · · Score: 1

      i tend to agree. often on a website with bad contrast between background color/image and the text i'm reading i'll just highlight to improve readability. i don't want/need to copy paragraphs from a site i'm browsing.

      --
      NERDS!!!!
    10. Re:Oh boy by Alan+Shutko · · Score: 1

      I think the only complaint people have with the X behavior is it "clobbering your copy buffer". I'd suggest the problem isn't that it shoves data there automatically, I'd suggest the problem is that it's a buffer, not a ring.

      For example, emacs stores the last several things you've copied in its kill ring, and when pasting makes it very easy to paste earlier items from the ring. So I never have to worry about losing something I've pasted before. Emacs also gives named clipboard-like slots called registers, so if I have a few different things I don't want any copying to mess up, I can put them there and easily access.

      There are clipboard managers for X which do somewhat the same thing, but the problem they have is that they try to exist outside of the application, and thus you have to move your mouse or invoke some strange key sequence to pull data out of them. Basically, making you work harder. Maybe it would be nice there were a standard interface such that applications could integrate it into their keybindings. Starting with "Paste" and "No, try an earlier one". MS Office also has something like this, but has the same usability problems as the X ones (with the additional caveat of being rather Office specific).

      So that's my suggestion. Kill the clobbering behavior, and you kill the complaints.

    11. Re:Oh boy by jonfelder · · Score: 1

      That's great until the something you want to do with it involves replacing it with text currently on the clipboard.

    12. Re:Oh boy by spitzak · · Score: 1

      Originally X applications would turn off the highlight when they lost ownership of the selection, to try to avoid the "confusion" you are having. Modern programs have realized this is quite a bit worse and they leave the highlighting on.

      The middle-mouse is drag & drop, with the advantage that you can rearrange and open/close windows between when you drag and when you drop. When Microsoft announces an "innovation of new move-the-windows drag & drop using the middle mouse button" all the fanboys are going to go gaga, while in the same breath insulting X for having the EXACT SAME FEATURE!!!

    13. Re:Oh boy by Kenard · · Score: 1

      Yeah, the real problem is how X selects the text.
      I like the middle click for pasting though, I haven't had a problem of dumping everything in a terminal window, but apparently people have this problem.
      I would like to see it set up so this way, it's all mouse for you people who hate using the keyboard, but doesn't suffer from the above problems as well.
      Copying
      1. you highlight the text
      2. middle single-click
      Pasting
      1. move cursor into position
      2. middle double-click

      You could have text selected and double-click and replace the text (I assume that a double-click doesn't generate two single-clicks).

      --
      (appended to the end of comments you post)
    14. Re:Oh boy by RedWizzard · · Score: 1
      Highlighting having the side-effect of copying is just unintuitive and often the wrong behavior. It's speculating that you will want to copy the highlighted text, but often times you want to delete the highlighted text without clobering your copy buffer. or maybe you might just want to highlight the text to mark your spot.
      I agree, highlighting to copy is the UI guessing what the user wants to do, which is ok, but there are bad consequences if the guess is wrong, which is not ok.

      Here's what I think Unix should do: ditch highlight to copy, ditch the distinction between primary and clipboard buffers. Keep middleclick to paste. That is a great use use of the middle button (under Win2K I loved that the Command Prompt would paste on rightclick). Keep Ctrl-C, Ctrl-V. Have standard rightclick context menu cut/copy/paste options as well. Basically Windows behaviour plus middleclick to paste. At the very least I should be able to choose how the system behaves.

    15. Re:Oh boy by grishnav · · Score: 2, Interesting
      How are you ever going to do just 2 things?

      By "things," he really means "context switches."

      Check it:

      1. Highlight URL (from IRC window/whatever)
      2. Hit ctrl+c
      3. Click in address bar of browser, which automatically highlights URL.
      4. Ctrl+v (which pastes over highlighted URL)

      Compare to:

      1. Click in address bar of browser, auto-highlight.
      2. Del
      3. Go back to other window, IRC or whatever.
      4. Highlight URL to copy it.
      5. Go back to browser, click on empty URL bar
      6. Middle-click to paste.

      So, the "X way" doesn't seem like a whole lot more work than the "windows way"?

      Scenario: I've got xterm open, chatting with friends. Somebody sends the room a URL.

      Windows way: I highlight and hit CTRL+C to copy, so fluid as to practically be one action. I pop open Moz, wipe out the URL of my home page, and paste it in.

      X way: I have to first open Mozilla and delete the URL of my homepage, whenever it comes up. Then, I have to return to my chat window, perhaps scroll (depending on how quickly the room moves - I've been in some fast ones), and find the URL. Now, I copy it, and return again to Mozilla. Because I have limited memory, this causes a delay, as Mozilla has to be swapped back in (not so much of an issue anymore, but it was at a time). Finally, I am able to paste the URL into the browser.

      With Windows, I've only had one context change (IRC Client -> Browser) rather than three (IRC Client -> Browser -> IRC Client -> Browser).

      So, basically, the "Windows Way" involves less repetitive "back and forth" actions, whereas the "X way" is pretty terrible if you hate doing things twice (a moral faux pas, according to ESR).

      Of course, this is only one particular scenario, but I hope you can see how the "X Way" isn't always the "best way."

      The "X Way" certainly has advantages in some situations. However I've found in my daily routines and my line of work that I tend to prefer the "Windows Way." You may have different habits, which would of course make it unsuitable to you. This is why I'd much love a way to configure my copy+pasting to be more Windows like, without necessarily taking away the option... (though I do prefer middle-mouse to ctrl+v).

      Of course, it would be better still of the computer simply knew what we wanted and could figure out the appropriate action to take on its own. AI majors out there listening up? Practical application! :)
    16. Re:Oh boy by kyz · · Score: 0, Offtopic

      Scenario: I've got xterm open, chatting with friends. Somebody sends the room a URL.

      Windows way: I highlight and hit CTRL+C to copy


      Ah, I see you don't have a Windows terminal window open, because that wouldn't work. You'd have to do Alt-Space, E, K, highlight the area with the mouse, Keypad Enter.

      So say thank-you for your special non Microsoft Windows terminal emulator.

      Personally, I would just select with the mouse in X, which is actually one action, not "so fluid as to be practically one action", pop over to my Mozilla window, hit Ctrl-T for a new tab, paste directly into the empty URL bar and press return.

      But then, I never have to use Windows, so I don't have to make my habits cross-platform. I do use the MacOS X, where I've learnt to Command-C, go to Mozilla, Command-T, Command-V, Enter.

      --
      Does my bum look big in this?
    17. Re:Oh boy by jtev · · Score: 1
      The X way works rather well for me, I have sloppy pointer focus. This means context switches take zero time if I am already using the mouse, so the steaps change to
      1. Delete address
      2. Highlight text
      3. Move mouse back and middle click
      Now admitedly I'm not a big fan of using my mouse a lot, but when going between aplications it's a very handy little tool. I do find the highlight to select and middle click to paste selected nice.
      --
      That which is done from love exists beyond good and evil
    18. Re:Oh boy by Politburo · · Score: 1

      Windows way: I highlight and hit CTRL+C to copy, so fluid as to practically be one action. I pop open Moz, wipe out the URL of my home page, and paste it in.

      How about you use a real client, or properly configure the one you have. Then, click on the link, and your browser opens right to the page.

    19. Re:Oh boy by himi · · Score: 1

      Or you could just highlight the URL in your client and then paste it into the browser window (opening a new tab for it if you like). Two steps, in the logical order, and way faster than the Windows way.

      Didn't know of that nice feature that almost all *nix browsers have? Well, now you do.

      himi

      --

      My very own DeCSS mirror.
    20. Re:Oh boy by Anonymous Coward · · Score: 0

      > Is it? You know all to often I hear an authoritative "wrong behaviour" for GUI's which really
      > just interprets to mean "its not what I'm used to".

      Yay! At last, a clear thought on the subject!

    21. Re:Oh boy by Anonymous Coward · · Score: 0

      It was just an example you asshat.

    22. Re:Oh boy by archos · · Score: 1

      For all of you who complain about the select, middle click method of coping and pasting ever tried to copy and paste in the Microsoft Windows command windows? You select by highlighting the text (sound familiar) and then you paste by right clicking. Now this is different than anywhere else I have ever seen, and far from anything else in Windows.

      URLs are the easiest thing in the world under Linux. You highlight the URL you want, then middle click in the middle of the browser. Most of the browsers support this feature and it is such a time saver.

      I also really appreciate the fact that I have two clipboards. Once you understand how they work, and that they are seperate, you realize "hey, I can have two things copied at the same time." Most of the time coping means that I want to use it right away, but if I want something to last in the clipboard for awhile, I ctrl-c it, and its waiting for when I want to use it. Simple.

      And I must be lazier than the parent poster, as I would rather just highlight and middle click, then to have to highlight - hit ctrl-z - hit ctrl-v

    23. Re:Oh boy by zerblat · · Score: 2, Insightful
      Um, there are lots of ways to do this in an efficient way:
      • Use the same method as in Windows -- highlight text and Control-c in the first window to copy it to the clipboard and then highligt the url in the browsers localtion bar (this will copy the old url to the primery selection but leave the clipboard alone), paste with control-v.
      • Highlight the url, switch to the browser window, middle click anywhere in the browser window to go to the url.
      • Highlight url, switch to browser, press control-l (Mozilla &co) to go to the location bar, delete/backspace/control-U/control-K to delete existing url, middle click in location bar.
      • Highlight url, switch to browser, paste the new url before the old one (middle click), press control-k to delete the old one.
      • Konqueror and Firefox both have a button next to the location bar, that erases the current contents of the location bar.
      If the primary selection confuses you, just dont use it! All modern applications should support copying and pasting with the clipboard.
      --
      Please alter my pants as fashion dictates.
    24. Re:Oh boy by Anonymous Coward · · Score: 0

      Nooooooooooo. Then we would be back to One Microsoft Way + Logitech drivers.

    25. Re:Oh boy by Anonymous Coward · · Score: 0

      Sounds good. Starting coding there, Slashdot boy. :) Don't be like me, posting on Slashdot.

  19. It varies greatly by window manager by Theatetus · · Score: 1

    The copy-paste inconsistencies are collateral damage from having various window managers to choose from. Gnome (which was originally intended as a sort of COM-for-Linux) was supposed to simplify and standardize object transfers through copy/paste, but A) it doesn't do it quite consistently with itself and B) it never caught on outside of Gnome projects.

    GNUStep has a pretty good clipboard, and I hear KDE does too... one of the biggest problems is setting a standard set of keys that apps won't listen for so the window manager can use it to copy & paste (unless you just do a clipboard widget like GNUStep).

    And what do you do for apps that have their own clipboard/kill ring? Do you make the top of the emacs kill ring equal the clipboard? And what happens if you have a clipboard that handles objects and not just text and the app being pasted to has no handler for that object type?

    --
    All's true that is mistrusted
    1. Re:It varies greatly by window manager by Anonymous Coward · · Score: 0

      Nitpick -- it depends on what X toolkit an application uses: Qt, GTK, wx, Motif, XAw, etc. The window manager has little or nothing to do with it.

    2. Re:It varies greatly by window manager by Theatetus · · Score: 1

      Eh? Gnome, KDE, and WindowMaker all have clipboard managers that integrate & abstract the various toolkit clipboards. That's why, for example, in Gnome you can copy from a QT app and paste to a GTK app. That's the "clipboard" I was talking about, not the toolkit clipboards (though those are also very interesting).

      --
      All's true that is mistrusted
    3. Re:It varies greatly by window manager by arkanes · · Score: 1
      At the risk of getting flamed as someone who worships at the altar of Microsoft (I don't, I promise), the Windows clipboard is _far_ more sane. Just one. Global. You can store your selection in as many formats as you know how to handle. Applications can take pastes in as many formats as they know how to handle, in whatever order they want. You can register new formats. It's simple and logical (although the API suffers from some old cruft before it was quite as good as it is now). As evidence, there is probably not a single person who has written anything like this Ask Slashdot about copy/paste in windows.

      Note that copy on select can still be used in windows (I've got a couple apps that do it). However, I think it's a terrible idea because it saves a single keystrok, bfd, at the expense of accident paste, awkward copy/replace, and potentially disasterous cut/replace. Over the history of X, I'd be willing to get that _far_ more keystrokes have been wasted because of those problems than have ever been saved because of copy on selection.

    4. Re:It varies greatly by window manager by Guy+Harris · · Score: 1
      Gnome, KDE, and WindowMaker all have clipboard managers that integrate & abstract the various toolkit clipboards.

      GTK+ and Qt all have clipboard managers that, at least in current versions, use the same clipboard - the X11 CLIPBOARD selection, as has been present in X11 for, I think, close to 20 years, dating back to reasonably early versions of the ICCCM - and that's why you can copy from Qt apps and paste into GTK+ apps. See the X clipboard explanation.

      If you need some "clipboard manager" application to make that work, that's either a screwup in GTK+ or Qt or, more likely, a screwup in a GTK+-based or Qt-based application.

    5. Re:It varies greatly by window manager by spitzak · · Score: 1

      You don't know what you are talking about. The behavior is dictated by the programs (or the toolkit it uses), not the window manager.

      No programs use "their own clipboard/kill ring". There are only two (well there is a third but nobody uses it). The problem is with programs that only use one of these for both the middle-mouse drag&drop and for cut/paste. In fact correct programs are using "their own" but all correct programs use the same one.

  20. RPN by Anonymous Coward · · Score: 0

    Delete first, then copy and paste?

  21. Complain! by ChipMonk · · Score: 5, Interesting

    The best thing you can do is to complain to the developers at X.org, GNOME, and KDE (and whatever other desktop systems you know of). They need to hear this stuff, from many quarters, before they'll actually do anything about it. I think that X.org is probably the best place to start, given that development-oriented nature of the fork.

    As a slight correction, the copy-paste problem you describe isn't a Linux issue; it's an X Window System issue.

    1. Re:Complain! by RAMMS+EIN · · Score: 1

      Well, GNOME and KDE already have ^V and ^C, so no complaining to them.

      I like the way copy/paste works in X11 and miss it on my mac. I guess the solution is to make it configurable.

      --
      Please correct me if I got my facts wrong.
    2. Re:Complain! by cozziewozzie · · Score: 1

      Err, why should he complain to all these people when all of them work correctly on this issue? In either KDE or GNOME, CTRL-C and CTRL-V work as expected and do not interfere with the mouse selection. So if you want to CTRL-C and CTRL-V your urls, there's nothing stopping you (NO, the mouse selection will not interfere with CTRL-V because they use different buffers). The whole topic is an uninformed troll.

    3. Re:Complain! by ChipMonk · · Score: 1

      Try copying between a GNOME app and a small Xlib-based program that knows nothing about GNOME's handling. I've seen failures doing this time after time.

    4. Re:Complain! by Anonymous Coward · · Score: 0

      If I ever lose the quick highlight and paste in X11, I will visit upon your face such a mighty vengence that the clouds will part from your screams and babes will weep upon your approach. Got it, fucknut? Your petty preferences are yours, not mine. Don't try to force them upon me, Mr. Bush/Asscroft/Rumsfeld.

    5. Re:Complain! by Anonymous Coward · · Score: 0

      It's not "Gnome's handling", Gnome follows the standards.

      Some programs don't follow the standards, but that's a problem with those programs, not a problem with X or with Windows. Afterall, noone forces a VB "developer" to implement cut'n'paste either.

    6. Re:Complain! by cozziewozzie · · Score: 1

      The real question is: Why would somebody who is confused about select-to-copy be using an Xlib-based program in the first place? I mean, if you are teaching a confused Windows convert to use Xfig, then you have other problems besides cut/paste :P

    7. Re:Complain! by Muzungu · · Score: 1

      Could it be an interesting idea to start a Linux "shortcut keys standard" simular to the Linux Filesystem Hierarchy?... I believe it would help the Linux community if we look at a popular product (like M$Win) and copy the good things from it. These is nothing "un-GPL" or "un-linux" about that. We have this thing in the linux community that we MUST NOT LOOK like M$Win. This depends totally on what you like to do. Do we actualy like to become the "peoples product"? That is what Gates has set out to do and with succes. It has made him Mister Money. Now, we don't have to take the financial gain tour of Gates but if we like our dear old linux to be popular, we will have to copy the popular behavior of the windows system.

  22. -1 Redundant by stratjakt · · Score: 5, Informative

    It's always been broken.

    And any mention of a possible solution brings down the wrath of nerds who want to keep unix as unintuitive and awkward as possible.

    Besides the nuisance of what mouse click or keystroke you use to move text, it's not a clipboard like Windows uses, merely a text buffer.

    Ie; it's only good for text. You cant copy/paste (and by extension drag and drop) files, bitmaps, etc uniformly between apps.

    It's just another item in a laundry list of issues that are major to end users, but a low priority for hackers. Another speedbump on the road to Linux (unix) as a truly competitive desktop platform.

    --
    I don't need no instructions to know how to rock!!!!
    1. Re:-1 Redundant by dijjnn · · Score: 1, Flamebait

      why do you put unix in parentheses after linux?

      darl? is that you?

      --
      ~dijjnn
    2. Re:-1 Redundant by HighJack · · Score: 1

      You're right I wish there were some form of Inter-Client Communication Conventions Manual that would tell programmers a standard way of communicating between X apps.

      http://tronche.com/gui/x/icccm/

      Also I find leaving an xterm open running 'cat > /dev/null' convenient for dump text to and from apps as a little temporary buffer for text. This is useful when you want to copy text from Firefox on your Linux machine into a Word doc on a Windows machine you connect to through x2vnc.

    3. Re:-1 Redundant by Anonymous Coward · · Score: 2, Insightful

      Yeah. I told my mother that the other day when she ran into a problem. God damn users thinking that they should be able to use a computer without knowing how to programming. That's like driving a car without knowing how to rebuild your engine.

    4. Re:-1 Redundant by buttahead · · Score: 2, Insightful

      It's always been broken.

      that's a matter of opinion. if you hadn't gotten used to the way ms windows does it, you wouldnt be complaining. i've been using linux only for a bit under 3 years, and don't have a problem with the cut/paste situation.

      it's only good for text.

      across all desktops and all apps, this is true, although within certian environments, you can drag 'n drop, and cut/paste images and text. I can cut/paste html from mozilla browser into mozilla mail. in openoffice I can cut/paste images from one doc to another.

    5. Re:-1 Redundant by Anonymous Coward · · Score: 0

      It's no more "broken" than the fact that Windows is "broken" because it can't display application windows remotely. Under Windows, any kind of cut and paste that is not plain-text is actually OLE. Only Windows applications that are designed to support OLE allow you to cut-and-paste non-text objects between applications. OLE-like functionality exists in the StarOffice/OpenOffice suite on Linux. OpenOffice allows cutting and pasting of objects between it's different applications just like cutting and pasting between the component apps of Office XP. The biggest difference is that OLE is implemented at the OS level in Windows but at the application level in OOo so cross process OLE-like c&p is not possible.

    6. Re:-1 Redundant by Anonymous Coward · · Score: 1, Interesting

      I don't like C-c and C-v. They're needless keypresses. The select-and-click is an easy-to-use and simple paradigm. Please don't force me into complicated extra steps just because windows people like them. C-c/C-v is not a standard at all; Windows came along many years after the X clipboard functioned the way it did, and does today. If anything the X way is the standard and the windows people should change.

    7. Re:-1 Redundant by stratjakt · · Score: 1

      I've read that document before, it spells out the nuts and bolts stuff, but has nothing to do with UI or any ctrl-c/ctrl-v standards.

      It's not even a matter of support for it not existing (though dragging and dropping files is pretty much missing standards). The issue is really that app developers dont care.

      Nor is there any pressure for programmers to follow conventions. The nature of OSS is that the programmers really dont care if anyone uses their stuff or not, much is written to "scratch an itch".

      You can use something other than Ctrl-C/ctrl-V/Ctrl-X in windows if you want. You can bind Ctrl-C to something else, and make alt-ctrl-shift-f1 copy. But if you do, people will deem your application hard to use - and since much Windows development is about making something commercially viable, it's a much bigger no-no.

      Hell, with unix desktops its bigger than that. A million competing widget sets, a million different UIs, etc.. Mixing Motif with Java apps with QT etc, etc.. It makes for a disjointed and quite ugly work environment.

      Which is probably why everytime I see screenshots of the latest KDE or Gnome, or the latest greatest theme for either, they show a slick desktop with a fancy rendered background - and a handful of xterms running crap like top and ircii. Usually there's a token copy of the GIMP open with a bitmap of tux.

      --
      I don't need no instructions to know how to rock!!!!
    8. Re:-1 Redundant by Brandybuck · · Score: 1

      And any mention of a possible solution brings down the wrath of nerds who want to keep unix as unintuitive and awkward as possible.

      And any mention of a possible solution brings down the wrath of jerks who would rather stopper their ears and complain than fix the problem.

      --
      Don't blame me, I didn't vote for either of them!
    9. Re:-1 Redundant by stratjakt · · Score: 1

      When you can drag a bitmap from your eMail, into GIMP, edit it, then drag it into your OpenOffice document, let me know.

      Until then, it's broken in my eyes.

      --
      I don't need no instructions to know how to rock!!!!
    10. Re:-1 Redundant by Syberghost · · Score: 1

      Call it flamebait if you like, but the fact is that people who grew up with the X cut-and-paste paradigm are pissed off by the nonsensical Windows extra steps, and it's only you Windows weinies that want to come in and screw up our GUIs now.

      I HATE working in Windows primarily because of the screwed-up cut-and-paste.

    11. Re:-1 Redundant by buttahead · · Score: 1

      Until then, it's broken in my eyes.

      Ouch... I hate when stuff gets broken into my eyes.

    12. Re:-1 Redundant by stratjakt · · Score: 1

      'cause it's not a linux problem. It's just as annoying in SCO Unix, HP-UX, AIX, etc.

      --
      I don't need no instructions to know how to rock!!!!
    13. Re:-1 Redundant by cavemanf16 · · Score: 1

      Well then it is indeed working as designed. MS Windows' clipboard and subsequent pasting of objects copied to it can be quite an intensive task. And you CANNOT necessarily drag and drop, copy and paste files, bitmaps, etc. uniformly between all apps in Windows. It may appear that way because you're used to moving stuff around using MS Office type applications, but I can tell you for a fact that it doesn't work with absolutely everything. MS Access 97 and 2000 in particular suck at copy-paste methods to and from other apps because it's a whole different beast than the other productivity MS apps.

      This is not to say that I don't wish the X window system had better management of copied data objects, I do, but with so many different open source projects out there I think catering to all of the projects would be near impossible.

      So this isn't a redundant Ask Slashdot, merely a request for innovative solutions to this current dilemma.

    14. Re:-1 Redundant by Anonymous Coward · · Score: 0

      Funny, I hate it because I can't drag windows with ALT+LMB.
      Everybody's different.

    15. Re:-1 Redundant by DeadInSpace · · Score: 1
      And any mention of a possible solution brings down the wrath of nerds who want to keep unix as unintuitive and awkward as possible.
      That's just trolling. There are many people looking for a _good_ way to do these things, and then fix them. Why do you think Freedesktop.org exists in the first place? See this for the solution.
      Besides the nuisance of what mouse click or keystroke you use to move text, it's not a clipboard like Windows uses, merely a text buffer. Ie; it's only good for text. You cant copy/paste (and by extension drag and drop) files, bitmaps, etc uniformly between apps.
      No, the clipboards can hold any data type, not just text. It's the widgetsets and/or applications that cannot handle anything other than text. These should be fixed (and that's slowly moving in the right direction).

      See this (section 2.6.2) and this for details.
    16. Re:-1 Redundant by ivan256 · · Score: 1

      I'm going to have nightmares now. Thanks a lot.

      Care to fill me in on why overloading the drag operation is a good idea *ever*?

      Dragging is for selecting. I don't want dragging to do something different some of the time and not others. It's bad enough (broken enough if you ask me) that dragging URLs in most browsers doesn't select the text. Please, please, PLEASE, don't let theis behavior spread. Pick an operation for dragging, and stick to it.

      Dragging objects is terrible anyway, because it doesn't work well with multiple desktops. Much better that you should be able to drag to select the object, then middle click to drop it somewhere else. Textual encodings of objects can, and already do in many applications, allow this to happen.

      "Intuitive" != "Like Windows"

    17. Re:-1 Redundant by serviscope_minor · · Score: 1

      esides the nuisance of what mouse click or keystroke you use to move text, it's not a clipboard like Windows uses, merely a text buffer.

      That is plain incorrect. The X clipboard works in a very similar way to other clipboards out there. Applications are free to negotiate the best format to use and the data can be *anything*. Most applications, however only excange ASCII text, but that's the application's fault, not X's.

      Well, with this new found knowledge, you can quit whinging and go and hack it to work for you.

      (oh yeah, and how do you uniformly drag a bitmap/file from say, vncviewer to xterm, much the same way you would do it under Windows between vncviewer and cmd.exe, I imagine)

      --
      SJW n. One who posts facts.
    18. Re:-1 Redundant by johnnyb · · Score: 1

      "You cant copy/paste (and by extension drag and drop) files, bitmaps, etc uniformly between apps."

      It's true that there are apps that don't do drag-and-drop well, but that's true on Windows, too. It has nothing to do with X per se, but with the applications you are using.

      "Besides the nuisance of what mouse click or keystroke you use to move text, it's not a clipboard like Windows uses, merely a text buffer."

      Wrong. It even has content negotiation which allows applications to request the selection in different formats depending on what it can handle.

      "It's just another item in a laundry list of issues that are major to end users"

      I agree that more applications need to support drag-and-drop and better clipboard integration, but let's not put the blame on X when it supports that just fine.

    19. Re:-1 Redundant by Syberghost · · Score: 1

      Funny, I hate it because I can't drag windows with ALT+LMB.
      Everybody's different.


      Exactly. And that's why the folks developing GUIs for the Open Source world ignore the whiners.

    20. Re:-1 Redundant by juhaz · · Score: 1

      You're perfectly free to fix or complain about your email program, gimp, and openoffice if any of those three does not properly work. I think gimp works, email may or may not, and good luck trying to get anything in the mammoth called openoffice changed.

      X itself does support what you described.

    21. Re:-1 Redundant by dijjnn · · Score: 1

      fuck karma, no one can take a joke -- a funny one at that.

      --
      ~dijjnn
  23. Re:Training and repetition by kpansky · · Score: 1

    That would work great, if it weren't for subconcious actions. I am one of those weird people who highlight things they are reading almost compulsively -- not as I read along, but sentence at a time. It is really frustrating to copy something, do some reading, and suddenly find you're pasting 3 lines of text into your browser's address bar.

    --

    --Kevin
  24. Ctrl-v Paradigm Shift by Anonymous Coward · · Score: 2, Funny

    Actually, come to think of it...I have no idea what paradigm means.

    1. Re:Ctrl-v Paradigm Shift by Morosoph · · Score: 1
      "Paradigm" means "pattern", roughly, so that (say) a new physical theory with a radically different foundation maps out a different pattern of thought.

      Kuhn's The Structure of Scientific Revolutions holds that such theories cannot be compared locally with contending theories, and thus the new pattern simply supplants the old pattern globally, sometimes as a result of old-timers dying off, as many refuse to shift paradigm.

    2. Re:Ctrl-v Paradigm Shift by Anonymous Coward · · Score: 0

      I thought I felt a paradigm shift today but it was just my underwear riding up my ass

    3. Re:Ctrl-v Paradigm Shift by fyoory · · Score: 0

      I cant find the "Paradigm" key on my keyboard. ;D

  25. KDE klipper... by rsidd · · Score: 4, Informative
    has a menu of recently selected highlighted items. There should be a dock in the "system tray" panel item, looks like a clipboard with the "k" letter. Clicking on it has a history of recently copied (ie highlighted-with-mouse) items, you can select what you like to bring it to the top, then middle-button will paste that next time.

    Or else, first paste what you want to insert, then delete what you want to remove...

    1. Re:KDE klipper... by AVee · · Score: 1

      Klipper is really one of the best things of KDE imho. I use the clipboard a lot and frequently copy something while there is something in the clipboard I needed. Klipper solves this in a very nice way.

    2. Re:KDE klipper... by Erik+Hensema · · Score: 1

      Klipper is nice, but make sure you exclude Firefox from it. Somehow Klipper makes Firefox progressively slower and after a few hours of use firefox just crashes.

      Withour Klipper Firefox runs for days without crashes, and fast as ever.

      At least in my experience. Your mileage may vary.

      --

      This is your sig. There are thousands more, but this one is yours.

    3. Re:KDE klipper... by r00zky · · Score: 1

      All the apps that i use doesn't show the problem you're describing. So it's more like Firefox messing itself when Klipper is around, not Klipper slowing Firefox.

      And i agree with grandparent post: Klipper solves the problem verrrry nicely

      --
      I'm a chainsmokin' alcoholic sociopath, so-ci-o-path
    4. Re:KDE klipper... by tomboy17 · · Score: 1

      Gnome also has a clipboard manager (GNOME Clipboard Manager applet 0.0.1) for the panel which lets you manage the gnome clipboard alone, the selection alone, or both.

    5. Re:KDE klipper... by FullyIonized · · Score: 1
      I highly agree that klipper is an awesome tool. Here are some other tricks:

      Have global shortcut that pops up the buffer history at mouse position. Very useful for grabbing things quickly without using the mouse.

      Here is a useful alias:
      alias clip dcop klipper klipper getClipboardContents
      Typed from the command line, it echos the most recent contents in your clipboard buffer. You can do something like (in tcsh):
      urlview `clip`
      if you have a web address highlighted, and it will pop it up from the commandline. In my opinion, the interface of shell and the windowing environment via dcop is one of the reasons why I'm a die-hard KDE fan. They need more of this type of stuff.

      For example, I would love a technique to pull in klipper selections into vim. If I want to paste quotations from a web page, I can currently, highlight various selections sequentially, and then use my keyboard stroke to pop up klipper, choose my selection, and then middle mouse button it in. Not bad, especially since I can do the klipper selections without a mouse. But I want to get rid of that middle mouse button step. It slows me down.

      Oh, and one more tip that I haven't seen mentioned:
      People mention using CTRL-SHIFT-L to pop open the open URL dialog in Mozilla, but I have found the CTRL-t (open tab) to be better. Mozilla places the focus in the URL bar and you can do a CTRL-V to paste in your selected URL. Very handy.
      Also note that the normal shell/GNU readline keystrokes work in the URL bar:
      CTRL-a goes to beginning of line, CTRL-k deletes the line, etc. (in tcsh, you can use bindkey to see these settings. Not sure about bash).

      --
      Sigs are bad for you.
  26. Let's boot XFree86 by FuzzyFurB · · Score: 1

    This is yet another reason why we need a replacement for XFree86 that is well thought out. I'm sure the original developers were like "Gee, why use Ctrl-C at all!" but as the author of this story mentions, how do you paste over other text? XFree86 needs to be booted. Instead of searching for a replacement, someone really needs to thik about all the problems and limitations XFree86 imposes on us and come up with an alternative that frees us from all this baggage.

    --
    Will Stokes Album Shaper http://albumshaper.sf.net
    1. Re:Let's boot XFree86 by pe1chl · · Score: 1

      This has nothing to do with Xfree86, it is a working method developed in the X11 project.
      The decision was probably made before MS Windows existed, certainly before it came in wide use.

  27. Of course, no solution, but tale from trenches ... by jrl87 · · Score: 3, Funny
    I have a similar problem ... but it doesn't involve deleting ... or linux (*gasp*) ....

    When I'm on Windows I use Trillian which does this and i have a habit of highlighting as i read ... and sense i frequently copy links to send ... I am always pasting into Trillian ... unfortunately this has caused some problems with my gf when i highlight something that she doesn't need to see ....

  28. C-c vs mouse highlight copy by DJ+Rubbie · · Score: 1

    On my Gentoo box running KDE 3.2.0, there's a Klipper program which acts as a clipboard for the copy buffers. Somehow I think that program is able to distinguish the two different methods of copying, and whenever I do a C-c, then select some text and C-v, it will paste the text I copied with C-c, and if I middle-click with the mouse, it will paste the text I just selected.

    Personally I think that's a nice way to do it, since I have two ways to copy things, and having two pseudo buffers is quite nice. Naturally, if things do get confusing, I can always click on the Klipper icon in the system tray and select the text I wanted to paste.

    Also, if the left click select/middle click paste must be relied upon, just select and delete the text first, then select the text that needs to be copied. It's only a matter of reversing the workflow compared to the 'normal' Windows way.

    --
    Please direct all bug reports to /dev/null
  29. I prefer the X way, kind of... by whoisjoe · · Score: 4, Insightful

    Having used UN*X systems almost exclusively for 6 years, I have come to find Ctrl-c, Ctrl-v (or Cmd-c, Cmd-v on Macs) annoying.

    But I do know what you're talking about. I mostly run into this issue when entering text into the address bar of Mozilla. Fortunately, Mozilla uses emacs-style keybindings, so if I want to replace what's in the address bar with what's on the clipboard, I just:

    1. Focus on the address bar.
    2. Hit Ctrl-a to go to the beginning of the line.
    3. Hit Ctrl-k to kill the contents of the address bar.
    4. Click on the address bar with the middle mouse button to paste the new contents.

    I, personally, would like the best of both worlds, but that would essentially require that the system read my mind. Obviously, we're not there yet.

    1. Re:I prefer the X way, kind of... by Anonymous Coward · · Score: 0

      1. Focus on the address bar.
      2. Hit Ctrl-a to go to the beginning of the line.
      3. Hit Ctrl-k to kill the contents of the address bar.
      4. Click on the address bar with the middle mouse button to paste the new contents.


      Ah, wasn't that easy? By the time you're done you even have time to watch the evening news.

      In Windows:
      1. Click on address bar. Everything is automatically selected and ready for deletion.
      2. Ctrl+V (or right-click + Paste)

      Works for both Firefox and IE.

    2. Re:I prefer the X way, kind of... by nizo · · Score: 4, Funny
      ...but that would essentially require that the system read my mind.

      But this could lead to other problems, such as your brain causing the machine to start browsing porn sites when that pretty secretary from across the hall walks in.

    3. Re:I prefer the X way, kind of... by Covener · · Score: 2, Insightful

      For mozilla, simply middle-clicking (anywhere that isn't a link) in a page is probably a better method.

    4. Re:I prefer the X way, kind of... by elcugo · · Score: 1

      Or... Install Mozilla Diggler:
      http://texturizer.net/firefox/extensions /#diggler
      Just click in the button and the URL bar is cleared.

    5. Re:I prefer the X way, kind of... by gorre · · Score: 2, Informative

      But I do know what you're talking about. I mostly run into this issue when entering text into the address bar of Mozilla. Fortunately, Mozilla uses emacs-style keybindings, so if I want to replace what's in the address bar with what's on the clipboard, I just:

      Wow, stop there! That sounds way too complicated. You do know that in Mozilla (as with Mozilla Firefox) you can just middle click anywhere on the current page and the browser will go to what's in the clipboard (or search Google with "I'm feeling lucky" if it's not a URL). Simplicity :).

      --
      "Madness is something rare in individuals - but in groups, parties, peoples, ages it is the rule." -- Nietzsche
    6. Re:I prefer the X way, kind of... by Anonymous Coward · · Score: 0

      Ctrl-u will wipe out the entire address bar, no need for the two step Ctrl-a, Ctrl-k. Works well in the shell too.

    7. Re:I prefer the X way, kind of... by DeadVulcan · · Score: 1

      You do know that in Mozilla (as with Mozilla Firefox) you can just middle click anywhere on the current page and the browser will go to what's in the clipboard

      Unless the current page is a form, and you middle-click into an entry field or a text widget. In that case, of course, it pastes the text into the form. This has caused moments of confusion for me occasionally.

      But yeah, this is a feature I really miss in Windows.

      (or search Google with "I'm feeling lucky" if it's not a URL). Simplicity :)

      I'm not sure, but I think this depends on your default search engine setting under "Navigator -> Internet Search" in your preferences.

      --
      Accountability on the heads of the powerful.
      Power in the hands of the accountable.
    8. Re:I prefer the X way, kind of... by roju · · Score: 1

      And that drives me nuts, since middle click both enables autoscroll, and then sends me to another site.
      It would be nice if middle-clicking the "go" button would go to the site in PRIMARY. mmmmm.

    9. Re:I prefer the X way, kind of... by thisissilly · · Score: 1

      You can turn off the middle click trying to load URLs by adding
      user_pref("middlemouse.contentLoadURL", false);
      to your prefs.js

    10. Re:I prefer the X way, kind of... by Symbiosis · · Score: 1

      This has the added bonus of being able to close tabs w/ a middle-click on the tab. 8-)

      --

      -------------------------------------------
      I like nonsense, it wakes up the brain cells.
      -- Dr. Seuss
    11. Re:I prefer the X way, kind of... by Symbiosis · · Score: 1

      I just:
      1. Hit Ctrl-L (this highlights the address bar w/o copying, since you didn't actually select it manually... a little counter-intuitive if you think of it as hightlight->copy rather than select->copy, but don't think of it that way ;-))
      2. Hit Del (or Backspace, if you prefer)
      3. Middle-click in the address bar to paste
      4. ???
      5. Profit!

      Seriously though, I've found selecting to copy and middle-clicking to paste more productive than the Ctrl-C/Ctrl-V version. Maybe it's just the way I use the computer, but I don't run into the "paste over another selection" problem very often, and it saves unnecessary trips to the keyboard. (I mostly paste things into empty IM text boxes or empty terminal prompts.) When I do need to paste over something, I've gotten used to deleting it first before copying the new stuff. (For URLs I do as previously stated.) Frankly, I find it frustrating now when I use Windows and can't highlight & middle-click paste.

      The fact of the matter is, it's not that either method is inherently evil, it's just that people are used to one or the other, and they tend to like the one they cut their teeth on. (I grew up with Windows and like the X method, but maybe I'm the exception. ;-)) I think X has the edge here over Windows, though, in supporting both methods. Why please half the people when you can please everyone? (That is, if the other half will get over the fact that Method X also exists. ;-))

      Can't we all just get along? 8-)

      --

      -------------------------------------------
      I like nonsense, it wakes up the brain cells.
      -- Dr. Seuss
    12. Re:I prefer the X way, kind of... by spitzak · · Score: 1

      Also in Mozilla and Firefox on Linux you can do:

      1. Middle click inside the window

      Which is one step shorter than your Windows solution. However on Windows you can drag & drop a selection and this matches the number of operations. But this really proves that middle-mouse paste is a form of drag&drop, a fact that too few people (both those who like X and those who dislike it) are willing to understand.

      Unfortunately the select-all-on-click behavior makes it really difficult to edit the text in the address bar (or any combo box). I have certainly had a great deal of frustration trying to change an address to a guessed home page by selecting everything after one of the slashes. On Safari it often drag&drops and produced huge screwups so that the URL is trashed. On Windows you have to click twice which is a little better, but their fix is to make drag & drop not work at all from combo boxes. Not sure if this is too great a solution. Also it seems inconsistent, I know of no text editor where clicking in the text selects all of it, or even a sentence or word.

      The problem with X is a large number of applications where the cut/paste commands mess with the middle-mouse buffer. This would be like what would happen if a lot of windows programs messed with the next drag & drop when you did cut/paste, or if when you did a drag&drop it changed the clipboard. Unfortunately the symptoms of the problem are confusing, leading lots of people to blame the programs that are actually working correctly, or suggesting getting rid of drag & drop as a "solution"

    13. Re:I prefer the X way, kind of... by roju · · Score: 1

      wow. thanks.
      Out of curiosity, is it possible to have a middle click on the "Go" button load the url in the primary?

  30. If you find it annoying .. by kolrabi · · Score: 1

    .. that the primary selection is overwritten on highlight, try using the clipboard instead. :) I never used Ctrl+C/V anyway, even when I still used Windows. I used Ctrl+Ins/Shift+Ins instead, they work pretty well.

    1. Re:If you find it annoying .. by spitzak · · Score: 1

      There are plenty of X programs where ctrl+Ins/Shift+Ins have the same bug as ctrl+x/v and clobber the SELECTION instead of the CLIPBOARD. In fact I very much doubt there are any programs where these work and ctrl+x/v don't work.

  31. Emacs bindings help by Anonymous Coward · · Score: 0

    When I switched to linux I was used to Windows-style copy/pasting too, but in a very few monthes I were used to the middle-click thing.

    Now, when I'm using a windows PC (ie at university :\) I have trouble copy/paste ;)

    Back when I switched, I had the same troubles as you : I wanted to select to delete, but then it would go into my paste buffer and erase the previous one. It was especially the case for my web browser and its address bar.

    My solution is to click only once then use the emacs bindings (e.g C-E C-U) to delete the string.

    Some apps (e.g Eclipse) don't even allow the typical X copy/paste system to remain compatible with "windows-like" pasting.

    It seems hard that we'll have an unified way to copy/paste on major OSes since we are used to the middle click pasting ;)

  32. no solution to a non-problem by Ender+Ryan · · Score: 2, Informative
    I don't get it, what is the problem? X has two copy/paste buffers. One is used with highlight/middle mouse button, the other is like Windows, except the keybindings are specific to the app/toolkit. Generally, all new apps use control+c and control+v, just like Windows. Sans vim, I haven't used an app that uses anything other than control+c/v in years.

    So what is the problem? Are the apps you use broken?

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
    1. Re:no solution to a non-problem by jhoude · · Score: 1

      I agree. I see no problem with the way the clipboard(s) works in X.
      Sometimes I use the mouse buffer, sometimes I use the CTRL-C/CTRL-V buffer, and I find both useful.

      But for any user that doesn't know about the middle mouse button, the CTRL-C/V buffer should work very well. I currently use Mandrake 10, and I haven't seen any app where it doesn't work to date (except VIM, like the parent said).

    2. Re:no solution to a non-problem by s0m3body · · Score: 1

      exactly !

      of course, there some apps where ctrl-c have a specific meaning, like gnome terminal
      but there you can use shift+ctrl+c and shift+ctrl+v instead
      possibly you can change your key bindings and get used to ctlr+something to use instead 'standard' ctrl+c in terminal

      sometimes it is painful to copy&paste between gnome and kde apps, but this has nothing to do with two clipboards in X

    3. Re:no solution to a non-problem by Ender+Ryan · · Score: 1
      like gnome terminal

      Control+C has the same meaning in Windows and Apple command prompts too, so if someone complains about that, kick them in the crotch.

      sometimes it is painful to copy&paste between gnome and kde apps, but this has nothing to do with two clipboards in X

      This problem was solved years ago.

      The only X clipboard deficiency is lack of support for non-text data, like images and such.

      Now _that_ is a problem to work on. Sheesh, X has loads of problems, but people always complain about the ones that don't even exist...

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
    4. Re:no solution to a non-problem by s0m3body · · Score: 1

      i haven't said that it is a problem to copy&paste between KDE and Gnome in general

      with two clipboard buffers, you have more ways how you can use them incorrectly in your app

    5. Re:no solution to a non-problem by jonfelder · · Score: 1

      The problem is apps have started making use of the middle mouse button for other things besides pasting. For example, middle clicking a link in firefox causes it to open in a new tab...now if you happen to miss the link you paste crap into the browser and get an annoying popup when it can't find the URL (yes I know this can be turned off, it's just an example).

      Also since the middle mouse button is used to scroll, it's very easy to apply a bit too much pressure on it and click it. Doing this while scrolling the contents of a terminal window can have disasterous affects.

    6. Re:no solution to a non-problem by spitzak · · Score: 1

      Interesting analysis, but I think the real problem is a large number of still-existing applications where ctrl+x/v use the SELECTION rather than the CLIPBOARD. To many users this is very confusing to the point where they cannot even tell which program is broken.

    7. Re:no solution to a non-problem by Ender+Ryan · · Score: 1
      with two clipboard buffers, you have more ways how you can use them incorrectly in your app

      The point is, you can *always use Control+C/X/V with modern GUI apps for *nix, including between QT and GTK apps.

      * not quite always, but nearly so. The same is true of Windows and Mac OS X.

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
    8. Re:no solution to a non-problem by Ender+Ryan · · Score: 1
      I can't think of a single application that still does that. The only applications I've ever used that did that were QT GTK has always done it right, *Motif too(except some Motif apps use Alt instead of Control for copy/paste)...

      * at least for the past 7 years anyway... 7 years ago being when I switched to *nix on the desktop. p /.

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
    9. Re:no solution to a non-problem by s0m3body · · Score: 1

      try to use krusader within gnome, and try to use it to mount a cd, then unmount it, and then eject it

      does not work
      why ?

      i'm not saying that it is bad, but it does not work sometimes
      with that crappy windows you have one fucking api, one fucking scheme, one fucking everything
      but sometimes it is working pretty good

    10. Re:no solution to a non-problem by Ender+Ryan · · Score: 1
      What is "krusader?" I have the latest KDE3 installed, but nothing called "krusader."

      Perhaps it's just a crappy app that doesn't function properly without KDE running. And what's that to do with copy/paste?

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
    11. Re:no solution to a non-problem by INT+21h · · Score: 1

      As others have already said; the highlight/middleclick-clipboard *does* handle other things than text, but the programs only implement text-copying. A reason for this is that it is easy to decide what to do with text, but what you do with for instance a picture depends on the program you're copying to. It is always easier not to have to make the decision :)

    12. Re:no solution to a non-problem by ArmpitMan · · Score: 1
      Control+C has the same meaning in Windows and Apple command prompts too, so if someone complains about that, kick them in the crotch.

      Yes, but at least in Apple's terminal, it's Command-C that does the copying -- just like every other Apple app!

    13. Re:no solution to a non-problem by s0m3body · · Score: 1

      copy&paste is an example of something you'd expect to work, even between different toolkits; because if you are just an user, you don't care about toolkits krusader is a fila manager, something like total commander for windows and it doesn't work properly under gnome env. .. and it can be a pain

    14. Re:no solution to a non-problem by Ender+Ryan · · Score: 1
      copy&paste is an example of something you'd expect to work, even between different toolkits; because if you are just an user, you don't care about toolkits

      Right, and it does work find between KDE and GNOME.

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
  33. algorithm by Anonymous Coward · · Score: 0

    10 Highlight text you want to delete
    20 Press Del
    30 Highlight text you want to copy
    40 Move cursor to copy position
    50 Press middle mouse button
    60 PRINT 'Happy Camper'

  34. Word of wisdom by Anonymous Coward · · Score: 0

    The select-and-middle-click is not really copy-paste but more like drag-and-drop, just without the actual dragging.

  35. Problem 99% solved by Anonymous Coward · · Score: 0

    Read this and see why.

    The only times you will encounter problems is when you are running legacy (pre gtk2/qt3 applications), which in modern distrutions are going quite quickly.

    Copying and pasting text just works for me in Linux for years now, I am bewildered why this subject actually came up again!

  36. The answer is ... jedit by vlad_petric · · Score: 2, Insightful
    Download it from here .

    What most linux aficionados don't realize is that vi and emacs are the best anti-linux vaccines. The moment you tell a non-technical person that he or she would have to use from now on the usability nightmares that vi and emacs are, you can't be sure that they not only will they run away from linux, but they'd also tell everybody to do the same.

    KDE does ctrl-c/ctrl-v in most of its apps, if jedit is too heavy for you, try kate for a change.

    Open source project very rarely have the money to do real usability apps, so I think it'd be a good idea to adopt UI elements from existing commercial designs

    --

    The Raven

    1. Re:The answer is ... jedit by jeffasselin · · Score: 1

      I agree, vi & emacs are maybe great if you know how to use them but they're hard to learn and extremely non-intuitive.

      As for myself, I like pico or nano. They're much easier to learn and use. Gentoo has nano by default, and it's much easier.

      --
      If he explores all forms and substances Straight homeward to their symbol-essences; He shall not die.
    2. Re:The answer is ... jedit by Guitarzan · · Score: 1

      I'm curious what (if anything) these text editors have to do with the X copy/paste problem.

      Vim/emacs are very sophisticated programs that aren't meant for "newbies" at all. Most distros that I've seen come with much simpler notepad clones.

    3. Re:The answer is ... jedit by jeffy210 · · Score: 2, Funny

      "The answer is ... jedit

      For a second I read "jedi"... I was like: What? Use the force to move bits now :)

      --
      ------
      "And may your days be long upon the earth."
    4. Re:The answer is ... jedit by MisanthropicProgram · · Score: 2, Insightful

      That's fine if you just want Ctrl-V and C to work like in Windows, but I think the other point is inter-app copying. I have to admit, Windows and Mac do this very well.

    5. Re:The answer is ... jedit by TRACK-YOUR-POSITION · · Score: 1
      What most linux aficionados don't realize is that vi and emacs are the best anti-linux vaccines. The moment you tell a non-technical person that he or she would have to use from now on the usability nightmares that vi and emacs are, you can't be sure that they not only will they run away from linux, but they'd also tell everybody to do the same.

      That sounds intuitive, but I've never, ever heard of an instance of this. First of all, why would you tell someone they have to use emacs or vi to edit text files in linux? Secondly, anyone who considers editing plain text files a vital part of their job is probably already using vi, emacs, or some other decent text editor--you wouldn't tell someone on Windows they have to use Notepad or Wordpad, would you?

      Think about it--how often do you see non-technical users editing plain text files?

    6. Re:The answer is ... jedit by karnal · · Score: 1

      I actually started on Joe.

      Imagine my suprise trying to do simple editing on configuration files in vi or emacs. Nigh impossible, in my opinion. Joe seemed to me to be the closest thing to a command-line notepad.

      At least I always remembered ctrl-k, h, to get help on key sequences.... maybe that was the real kicker?

      --
      Karnal
    7. Re:The answer is ... jedit by TRACK-YOUR-POSITION · · Score: 1
      What most linux aficionados don't realize is that vi and emacs are the best anti-linux vaccines. The moment you tell a non-technical person that he or she would have to use from now on the usability nightmares that vi and emacs are, you can't be sure that they not only will they run away from linux, but they'd also tell everybody to do the same.

      That sounds intuitive, but I've never, ever heard of an instance of this. First of all, why would you tell someone they have to use emacs or vi to edit text files in linux? Secondly, anyone who considers editing plain text files a vital part of their job is probably already using vi, emacs, or some other decent text editor--you wouldn't tell someone on Windows they have to use Notepad or Wordpad, would you?

      Think about it--how often do you see non-technical users editing plain text files?

    8. Re:The answer is ... jedit by Anonymous Coward · · Score: 0

      Right, have you ever tried pasting into a command prompt window in windows? Still think it is easy?

    9. Re:The answer is ... jedit by ispeters · · Score: 1

      I agree that vi is a pain in the ass to learn (I don't know anything about emacs, I started on vi and stuck with it). The thing is, now that I've warped my mind enough to use vi semi-productively, I find interfaces like pico, nano, Eclipse's Java editor, etc. to be very unproductive. Granted, a new user probably needs a text editor that is as similar to vi as pink fluff is to a Mac truck, but *if* a new user ever wants to be really productive in a text editor*, I'm gonna go out on a limb and say they probably have to learn something like vi or emacs (are there any other cryptic programmer's text editors out there?). Now that I've done the mental contortionist routine that is required to memorize (some of) vi's command set, I find I can do in 1 or 2 keystrokes what takes 5 in most "plain" editors, and being a programmer by trade, that adds up to a lot of key strokes.

      In fact, I would argue that vi is not as much of a usability *nightmare* as you claim (perhaps just a bad dream with a happy ending). Like I said above, vi is a royal PITA to learn, and that's a big negative, but if you overcome that difficulty, vi's interface is very consistent. For example, the delete and change commands both take movement modifiers in exactly the same way. Suppose you already know that 'd' means delete and that 'dw' means delete the next word. As soon as you learn 'c' means change, then you can apply your knowledge of 'd' and figure out that 'cw' means change the next word. Also, as soon as you learn that you can prefix 'w' with a number, n, to mean n words, you can apply that to the 'd' and 'c' commands to get 'd2w' and 'c2w' that mean 'delete the next two words' and 'change the next two words', respectively. Yeah, figuring out the first few steps is difficult, but once you immerse yourself, the whole environment is consistent and predictable and each new command that you learn has the potential of exponentially increasing your knowledge. I think there are relatively few interfaces out there that are as internally consistent as vi's.

      *I realize there's probably lots of people who will never have to be productive in a text editor. Even if you do a stage 1 install of Gentoo and edit all the config files yourself, you only do that once (or maybe twice if you screw up the first time) and then you're done. No one needs vi to do that. (Although, vim is usually the first thing I emerge when I install Gentoo 'cause I can't stand editing config files in nano.)

      Ian

    10. Re:The answer is ... jedit by Anonymous Coward · · Score: 0

      The answer is don't use a programmers editor to do a normal job. Nano is sufficient for other people. Vi and Emacs were designed with programmers in mind, and I took the time to learn Vi, because I use it for it's intended purpose. The "your mother" test doesn't apply to programmers tools because she won't be programming.

    11. Re:The answer is ... jedit by Anonymous Coward · · Score: 0

      The real problem with vi is how it often ends up as the default editor for command-line tools. I can't count how many hours I have wasted trying to find out how to save some stupid file after cvs or another program has kindly put me into vi. Ugh.

    12. Re:The answer is ... jedit by Anonymous Coward · · Score: 0

      > Gentoo has nano by default

      WTF does this mean? If I type in vi does it run nano? If so, I would say its broke. If not, WTF does deafault mean?

    13. Re:The answer is ... jedit by Anonymous Coward · · Score: 0

      export EDITOR=

      No more vi. If your not using bash or zsh then I'm sure you can figure out how to do it in your shell. In fact if you add that command to your shell config file you never have to worry about it again.

    14. Re:The answer is ... jedit by Anonymous Coward · · Score: 0

      > > Gentoo has nano by default
      > WTF does this mean? If I type in vi does it run nano?
      > If so, I would say its broke. If not, WTF does deafault mean?

      Well Gentoo gives you much more choice than most distros and they certainly wouldn't do that

      But they do include nano from the very beginning at installation stage, and most documentation refers to using nano to edit configuration files.

    15. Re:The answer is ... jedit by Anonymous Coward · · Score: 0

      And the question is: what program should I avoid?

    16. Re:The answer is ... jedit by dcam · · Score: 1

      My problem with using vi is that you can't just pick it up and start working. The amount of information you need to know before you can start doing anything useful is high.

      I use windows mostly, but run the odd linux box (eg the fileserver). I only use vi occasionally and in between uses I forget most of the instructions. The advantage of most of the editors I use on windows (Textpad being the favorite) is that all actions are accessible from menus, you don't need to hunt through help files to find what you need to know.

      --
      meh
  37. If only Linux would get copy-paste right.. by JaredOfEuropa · · Score: 4, Interesting

    I find the highlighting of text used in Linux (or X-windows) rather hard... it tends to include too much text or not enough, and when I then click elsewhere and move the mouse just a tiny bit as I click, I highlight another letter and I lose the text I intended to copy. From a usability standpoint, the X-Windows method is horrible. My poor mom never got to grips with it (and she's gotten used to some pretty weird OS'es in the past).

    Another thing that Linux needs is a proper clipboard like Windows has. Copy anything you like: pictures, files, texts, documents. Then paste it into any application that will accept the data type. I do my day-to-day work in MS Windows, and this is one feature that I use very often, without having to think about it. Is there anything similar for Linux in the making?

    --
    If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
    1. Re:If only Linux would get copy-paste right.. by Anonymous Coward · · Score: 2, Funny

      How about this:
      copy yourself out of your mama's basement
      paste yourself into your own apartment

    2. Re:If only Linux would get copy-paste right.. by Christianfreak · · Score: 2, Informative

      X can copy content and it has multiple clipboards, the problem is that everyone has done the implementation the wrong way. (See the links folks have posted above)

      Gnome seems to be able to copy an paste files just fine, and I'm sure KDE can too. I use Blackbox and I can drag images off the web from Firefox to GIMP and they open (oddly enough if I drag from Firefox to Nautilis they save only the URL, probably a bug in Nautilus)

    3. Re:If only Linux would get copy-paste right.. by miketang16 · · Score: 1

      Use KDE's Klipper as mentioned above. It's essentially a clipboard.

      --
      -------
      "In times of universal deceit, telling the truth becomes a revolutionary act."
      -- George Orwell
    4. Re:If only Linux would get copy-paste right.. by supe · · Score: 1

      This is by far the funniest reply I have ever read
      on /. Mod it UP +5 Funny

    5. Re:If only Linux would get copy-paste right.. by cozziewozzie · · Score: 2, Informative

      Yes, there is a solution. It's called KDE and has implemented what you wanted since KDE 3.0. If you don't like the old X way of copy/paste, then don't use it. Use a modern desktop environment, they all provide copy/paste functionality you are used to.

    6. Re:If only Linux would get copy-paste right.. by Anonymous Coward · · Score: 4, Insightful
      I find the highlighting of text used in Linux (or X-windows) rather hard... it tends to include too much text or not enough

      What are we comparing this to? Windows? Windows copy/paste is not exactly superior. Try, this for example: click once and then drag to select text. The first click will cause you to be selecting in units of single characters. Now try again, but click twice instead. Presto! You are selecting one word at a time.

      OK, what happens if you triple-click? In Internet Explorer, this selects the current block of text, kind of like a Select All. In Notepad, it does NOTHING. In Mozilla, it selects a whole line at a time, but if you drag to the previous line, it goes back to selecting in units of characters and not lines! Gaaaaaaaah!

      Is this the consistent, clean interface that X11 is supposed to want to copy? In this example at least, Windows has three different behaviors for three different apps. In X11, all the apps I can recall using operate exactly consistently. One click selects letter-at-a-time, two does word-at-a-time, and three does whole-line-at-a-time. And by the way, once you start selecting line-at-a-time, when you drag the mouse up or down, the additional selection is also done line-at-a-time.

      Furthermore, I challenge the assumption that the Macintosh style of doing things (i.e. the one Windows copied) is more intuitive. It only seems intuitive to you because you've already learned it, so it's second nature. In contrast, I started using X11 fifteen years ago, and I got used to being able to just select text and move on. Now I am using Windows and Mac on the desktop mostly, and I cannot count the number of times that I've selected some text to copy, then rearranged all my windows and iconified the one that had the text, then gone to paste it into another app. But of course, all the effort is wasted because I forget the extra step of hitting Control-C (or Apple-C). Why? Because my intuition and habit tells me that I just select the text then immediately start navigating to the place where I want to paste it. I've been using Mac and Windows on the desktop for a year now, and I still sometimes forget and have to go back to start over, remembering to hit Control-C. The point is, just the fact that transition trips you up does not mean that the one you're familiar with is better. In fact, the transition in the other direction is just as exasperating.

    7. Re:If only Linux would get copy-paste right.. by Anonymous Coward · · Score: 0
      1. I find the highlighting of text used in Linux (or X-windows) rather hard... it tends to include too much text or not enough, and when I then click elsewhere and move the mouse just a tiny bit as I click, I highlight another letter and I lose the text I intended to copy. From a usability standpoint, the X-Windows method is horrible. My poor mom never got to grips with it (and she's gotten used to some pretty weird OS'es in the past).

      If it hurts when you poke yourself in the eye, don't blame your finger.

    8. Re:If only Linux would get copy-paste right.. by Fancia · · Score: 1

      I've found that, in Linux, selecting is every bit as inconsistent as Windows. I have four applications with text open at the moment, and each of them handles text in a different way.

      --

      Bít, zabít, jen proto, ze su liska!
    9. Re:If only Linux would get copy-paste right.. by weibin · · Score: 0

      Highlighting is hard? Left click to start, right click to finish. double click for word, three click for the entire line.

    10. Re:If only Linux would get copy-paste right.. by ader · · Score: 1

      Amen. As I Unix/X user for over ten years, I still get frustrated with mouse cut 'n' paste. Highlight selection, click on title bar of destination window to bring it to the front...boom, lost my selection! Using KDE isn't the answer here because I mostly use terminal applications and, as has been noted, CTRL-C for copy conflicts with keyboard interrupt.

      I'm thinking maybe I should change the xterm keyboard/mouse bindings to use the CLIPBOARD instead of PRIMARY selection, and run xclipboard.

      Ade_
      /

      --
      Big Bubbles (no troubles) - what sucks, who sucks and you suck
    11. Re:If only Linux would get copy-paste right.. by juhaz · · Score: 1

      (oddly enough if I drag from Firefox to Nautilis they save only the URL, probably a bug in Nautilus)

      Well, it's probably that way because:
      a) Nautilus controls desktop as well. Links make sense there.
      b) That's how it works on Windows Explorer.

      Of course it could have different behaviour when dragging to desktop instead of directory windows, but that would confuse things too. Unless I remember wrong, you can keep ctrl/alt/shift and/or some combination of those pressed when dragging to force one specific behaviour instead of the default, or in one case pops up a menu that asks what you would like to do with that dragged thingy.

      Pretty good case of "feature, not a bug", since it basically boils down to user preference instead of either of those being absolutely "correct".

    12. Re:If only Linux would get copy-paste right.. by Christianfreak · · Score: 1

      Probably true. I guess I just expected it to save the image since it was an image. For some reason I thought that windows explorer did save the image. I don't use windows often so I'm probably incorrect :)

  38. Delete FIRST by rawgod0122 · · Score: 1

    then select and paste

    1. Re:Delete FIRST by kidgenius · · Score: 1

      But that requires extra mouse clicks to bring various windows to the front and reduces productivity. Here's an example:
      Let's say I have evolution and mozilla both open and I'm surfing. I get a new email to evolution. It has a link in it I'd like to go check out. Also assume that this link is not clickable, but is just a URL. Now that I have switched to the evolution window, I need to switch back to mozilla, delete the line, then back to evolution, copy it, and back to mozilla to paste. Why can't I just copy from evolution the first time and paste straight into mozilla? The extra two mouse clicks are annoying and anti-productive

  39. real men - vi && named yank buffers by wherley · · Score: 1

    nt

  40. X Clipboard Behavior by jfleck · · Score: 1

    A helpful discussion of the X clipboard behavior on freedesktop:

    Clipboard Standards.

  41. Another Annoying Linux-Ism by Anonymous Coward · · Score: 1, Insightful


    Is when you have to telnet from Linux to Solaris boxes and the keys are all fucked up. If you have enough Solaris and Linux boxes in your network, you'll go crazy having to use CTRL-H on some and backspace on others.

    1. Re:Another Annoying Linux-Ism by aldousd666 · · Score: 2, Informative
      That's easy enough to fix. In your .rc file (or .login file) on the target host, set the terminal type to whatever you're used to. vt100 or ansi seem to work ok, but stick to one and you don't have to keep switching. I use tcsh, so in my .tcshrc file on each host, I have two lines that say

      setenv TERM ansi
      tset

      then I always use the ansi terminal settings (i.e. backspace not Ctrl-H)
      --
      Speak for yourself.
    2. Re:Another Annoying Linux-Ism by Mr+Z · · Score: 1

      That won't fix the backspace/delete issue. You need to "stty erase ^H" or "stty erase ^?" depending on which one your terminal sends. On the Solaris side, the ^H and ^? might actually need to be the control character. On the Linux side, you can type caret-H and caret-? as two characters.

      I personally have everything here set up to send and expect ^H.

      In xterm, you can pick BS or DEL (^H or ^?) by Control-Left-Click and toggling "Backarrow Key (BS/DEL)". In gnome-terminal, there's an option under "Settings" for toggling that, although it appears they refer to the Backspace key as "Delete."

      I've personally never understood why Linux would send ASCII DEL (Delete) for the backspace key, and the DEC sequence "Remove" for the Delete key. I guess the DEC VT-100 set that standard. I've got my boxes configured to send ASCII BS (Backspace) in response to the Backspace key, and ASCII DEL (Delete) in response to the Delete key.

      And yes, on my keyboard, those keys are labeled "Backspace" and "Delete."

      What was really annoying back in school were the old AT&T SysV machines for which ^? was the interrupt character (instead of ^C). Get on a misconfigured terminal, and you better be a good typist...

      --Joe
    3. Re:Another Annoying Linux-Ism by aldousd666 · · Score: 1

      I do remember wrestling with this, and I look back at my .tcshrc file and I see the following line "stty erase ^H" hiding near the bottom of my aliases. It's hard to remember all of these things at one time.

      --
      Speak for yourself.
  42. Re:Training and repetition by phosphorous · · Score: 0

    You sound like the timecube guy :)

  43. For KDE, by frodo+from+middle+ea · · Score: 1
    there is always the Klipper , which stores multiple clipboards. So you can select the one which you want.

    For URLs, Clipper has event handlers, So you can configure Klipper to automatically open the Copied URL, So no need to visit the browser window and paste. Merely highlight the URL, it will go automatically in KDE Clipboard, and Klipper will open it in a URL.

    Also other option is if using either Mozilla/FireXXX or Konqueror, open a New TAB , this will give u a blank address bar , So you are free to paste your copied URL.

    For Mozilla/FireXXX, there is an extension , I think called diggler, which provides a button to clear the contents of the Address Bar, So just click the diggler button before you paste.

    Similarly in Mozilla/FireXXX , if you are copying Text URLs , i.e. something like http://www.slashdot.org , then you can install an extension called "Text links", which will give you a Right click Menu to Open the Highlighted Text link in a new tab or a new Window, without having to paste it in the address bar. I agree that all this is related only to Web Browsing, but that's when I used most cut-copy pasting , when I am browsing multiple Sites.

    --
    for the last time people, I am "frodo from middle eaRTH", not "middle eaST".
  44. Re:Training and repetition by Short+Circuit · · Score: 1

    Here's a way to make the behavior optional...But I don't know that it's ever been implemented:

    Make copies go into one buffer, and pastes come from another. When a Ctrl-C is detected, via XInput or whatever, copy the "copy" buffer into the "paste" buffer.

  45. Something the Window Manager should handle? by veranikon · · Score: 3, Interesting
    I agree with the frustration of the poster of this article. It's frequently even worse with Unix-under-Windows environments like Cygwin, Hummingbird, where you have to deal with both cut & paste schemes and the data transport between 2 clipboards. I don't favor one scheme over the other; it's just that dealing with both simulatenously is very awkward.

    A simple, high-level, question: why can't the Window Manager (Gnome, KDE, etc.) be made to handle both schemes, and allow the user to switch between them, but not let both scheme be active at once? This would of couse require support in the applications running under the WM's, but I would figure such a change in inevitable if the Linux desktop is to become more mainstream.

    1. Re:Something the Window Manager should handle? by Guy+Harris · · Score: 1
      A simple, high-level, question: why can't the Window Manager (Gnome, KDE, etc.) be made to handle both schemes, and allow the user to switch between them, but not let both scheme be active at once?

      Because that would suck for people who use both ^C/^X/^V and middle-mouse-button paste-current-selection?

      Things would probably be much improved if

      1. all applications where ^C/^X/^V could be made to work for cut/copy/paste made them work (I say "could" because ^C wouldn't work well in terminal emulators - and wouldn't work well in a Windows command prompt window, either, which is why it's not used for ^C in those windows - and, at least on UNIXes, ^X and ^V probably can't be conveniently grabbed by a terminal emulator, either), and applications such as terminal emulators offer some other way to cut to the CLIPBOARD selection/copy to the CLIPBOARD selection/paste the CLIPBOARD selection;
      2. any application where selecting text copies it to the CLIPBOARD selection (as opposed to just making it the PRIMARY selection) is fixed not to do so by default (so that selecting stuff doesn't copy it to the CLIPBOARD selection used by ^C/^X/^V).

      UNIX-under-Windows might be impossible to make perfect for everybody, but making the X CLIPBOARD selection and the Windows clipboard mirror each other (which would make Windows and X11 applications that support ^C/^X/^V work together as expected) would help; I think that's what Hummingbird's X11 does.

      A problem is that there's no "paste current selection", like the UNIX+X11 middle-mouse-button operation, in Windows, so, for example, Hummingbird's X11 lets you configure it to automatically copy the X11 PRIMARY selection (i.e., the stuff you select with the mouse in an X11 application that supports the PRIMARY selection) to the Windows clipboard when, I think, the focus leaves the X11 window (always doing that could screw up cut/copy/paste between X11 applications).

  46. Duh, correction... by cheide · · Score: 1

    Ctrl-A and Ctrl-K, of course. I've got too much Alt on the brain at the office...

  47. Re:Training and repetition by Pieroxy · · Score: 4, Interesting

    The fact that copy/paste is buggy or sluggish under X-Windows has a simple reason: There are tons of SDKs for X-Windows, almost all of them using a separate clipboard implementation/mechanism.

    Saying that you deal with a technical problem by getting used to it, is saying that technology will fail to address the problem. As you say, "Linux is different" (almost true, since it has almost nothing to do with Linux, but rather with X-Windows). I would rather say:

    X-Windows clipboard management sucks. If you want to use Linux on the desktop, you'll have to get used to it.

    The lack of a decent standard allow everyone to do everything. And they do. And we are left with a huge app base for X, with very high UI fragmentation. Hence, what you learn to do with one app is different with another one.

    Annoying, but that's the way X is.

  48. ditch the mouse by jmrobinson · · Score: 0

    Due to wrist problems in my right hand (we won't go in to details why I have wrist problems), I try not to use the mouse as much for highlighting. Holding down SHIFT and using the arrow keys, HOME and END I find is much faster than the mouse.

  49. Clipboard Program by Greyfox · · Score: 2, Informative
    xclipboard helps a little bit. It'll buffer copies and pastes and let you select between them. I use it when the copy/paste behavior really starts to piss me off. It's helpful with emacs too.

    The problem is X leaves copy/paste (and pretty much everything else) up to the application, and every application does it differently. Ideally one day we will all settle on a widget toolkit that enforces a standard copy/paste behavior. I'm not holding my breath though.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    1. Re:Clipboard Program by spitzak · · Score: 1

      *ALL* the modern toolkits use the exact same ctrl+x/v keys for cut and paste, and use selection/middle-click to modify a seperate selection buffer. So multiple toolkits are not the problem.

  50. Just give up... by DaHat · · Score: 0, Troll

    ... and run Windows! *ducks*

    1. Re:Just give up... by dsheeks · · Score: 1

      Actually, the Windows clipboard can be rather irritating, particularly with MS Office Apps (I avoid them whenever possible, but get stuck on occasion) that put their own twist on things. On Windows I use a very handy clipboard manager called ClipMate (www.thornsoft.com). Something similar on Linux would be nice. Is it possible to redirect output to the clipboard in Linux, something like "ls > /dev/clipboard"? That would also be handy.

  51. X Selection by amightywind · · Score: 2, Insightful

    Linux automatically performs a copy while the middle mouse button performs a paste.

    This has nothing to do with your machine running GNU/Linux it is the X selection mechanism and its use for copying text. You'd have the same issues on any machine running diverse free software X based applications. There is no good answer for you. It is one of the weaknesses of a federated system.

    --
    an ill wind that blows no good
  52. Or evolve ? by Walrusss · · Score: 1
    or evolve ?

    Isn't that what Darwin would have said ? ;-)

    In this case, hard to say what's evolution or not...

  53. quickly paste in firefox by hogger · · Score: 1

    The url in firefox is empty in new tabs, so here's what I do:

    1. drag over the url
    2. hit ctrl+t (creates new tab)
    3. middle-click to paste url into browser
    4. hit enter

    1. Re:quickly paste in firefox by kzinti · · Score: 1

      It's even easier than that, assuming Firefox works like Mozilla: 1. drag over the URL; 2. type ctl-t to open a new tab; 3. middle-click anywhere on the page that's not already a link. Middle-clicking in Mozilla will open whatever URL is in the paste buffer. This is handy on some sites, Slashdot for instance, where people might post the text of a URL, but forget to embed it in an anchor (you know, ...). Here, try it: http://google.com

    2. Re:quickly paste in firefox by Eradicator2k3 · · Score: 1

      I always use Firefox when I surf, but neither parent nor grandparent's solution worked........oops, never mind. Fucking Windows!

      --
      Mr. T pitied this fool on 27 July 1992.
    3. Re:quickly paste in firefox by Aydsman · · Score: 1
      When I have to open a new tab from a text link I always follow this procedure:
      1. Select Text
      2. Left-click and drag over the Firefox tab bar
      3. SUCCESS!

      Note that with this technique you don't need an existing tab to drag on to - it will create one if you drop it just past the last tab (or on the "Close Tab" icon at the end of the bar).

      Dropping on to an existing tab will replace the contents of that tab.

      Enjoy!
  54. control+u by Anonymous Coward · · Score: 0

    My technique for doing this is to highlight the URL I wish to copy, left click in the browser's URL window, control+u to erase the pre-existing URL, then middle-click to copy in the highlighted URL.
    Very quick, and makes sense if you're used to using *nix terminals.

  55. The good old fashioned... by Rick+Zeman · · Score: 1

    ...original Command-C, Command V, Command Z.

    Everything else is just a pale imitation/ripoff.

  56. There is a freedesktop.org standard by Anonymous Coward · · Score: 0

    There is a de-facto standard for this - basically, Ctrl-X/C/V should use one selection "CLIPBOARD" and the highlight selection should be a completely independent "bonus", "PRIMARY". Then, if anything cut/copy/paste works _better_ than windows - the "normal" clipboard behaviour that windows/mac/amiga/everyone-else is used to, _plus_ the "bonus" of fast middle-button-paste for the simple stuff.

    Problem solved - except for applications that wilfully break the conventions or were written before the conventions were established and not updated. Oh well. APPLICATION AUTHORS - PLEASE READ AND UNDERSTAND THE CLIPBOARD SPEC ON FREEDESKTOP.ORG.

  57. Re:Training and repetition by Pieroxy · · Score: 1

    Copy and paste using highlight and middle-click works in every X application

    Hmmm. Not true. Just not true. There are plenty of clipboards on X-Windows, only the apps that use "PRIMARY" act that way, not the other. Java apps for example use the clipboard "CLIPBOARD", and middle click does nothing. There are plenty of other apps that works that way, I am just too lazy to look them up.

  58. Re:Training and repetition by Anonymous Coward · · Score: 0

    Then don't do that.

  59. The writer needs a clue. It is orthogonal. by expro · · Score: 1, Interesting

    The middle button does a "paste current selection", which is not exactly equivalent to any of the other cut / copy / paste functions you find on Windows or Linux. I noticed that OSX has this function available in some apps as shift-command-V.

    You can completely ignore it if you do not like it awnd stick to control x / c / v, or you can choose to use it.

    Either way, it should not interfere with the normal cut / copy / paste operations that are available.

    If you cannot keep that strait in your mind, then ignore the functionality and do it the way Windows does it.

    I have found as much consistency on Linux for cut / copy / paste between applications as I ever found on Windows, when I used it -- both are far from perfect.

  60. Klipper by HeLLLight · · Score: 1
    If you are using KDE as your GUI, then Klipper (all though somewhat annoying) is a very good tool to use.

    When I create html pages using Bluefish for my internal web server; constantly cutting and pasting can be a very real nightmare. However EVERYTHING that you ctrl+c or ctrl+x shows up in Klipper (5-10 of last copied/cut items). It gets some time to get use to (always clicking on Klipper to have access to cut and copied info) but once you get the hang of it, you will find things get a whole lot easier :)

  61. Re:Of course, no solution, but tale from trenches by brunosock · · Score: 1

    Obviously you don't use linux if you have a girlfriend.

  62. Use KDE by Anonymous Coward · · Score: 0

    KDE does a great job with cntl-c and cntl-v. Every Application seems to copy and paste with those shorcuts when you use KDE.

    KDE, however, isnt my thing. So I usally just have to stick with the mouse buttons.

  63. vi is good by yreloowk · · Score: 1

    yyp

  64. Windows' copy and paste is broken by Stalin · · Score: 0, Offtopic

    Every time I select something and then middle click to paste it in a Windows application nothing happens. Unless I am trying to paste a URL in to a browser window, then I get some annoying cursor that moves the current page up and down instead of sending the browser the URL I want to view.

    Don't even get me started on the brokenness of the title bar and window decorations. Sheesh!

    1. Re:Windows' copy and paste is broken by Anonymous Coward · · Score: 0

      Every time I select something and then middle click to paste it in a Windows application nothing happens.

      Countless times I would kick my cat, and Gnome still wouldn't launch the config menu. Guess there must be something wrong with Gnome, needs a re-compile.

      Newsflash: You were never promised for middle button to work on Windows and do anything! All the Mac weirdos can't even comprehend what's meant by middle button, either.

    2. Re:Windows' copy and paste is broken by Stalin · · Score: 1

      Woo! You missed the joke completely.

    3. Re:Windows' copy and paste is broken by Anonymous Coward · · Score: 0

      Actually, I think you just failed to make it funny. No offense meant. :)

      And, for the record, the middle button is Exposé!

    4. Re:Windows' copy and paste is broken by Stalin · · Score: 1

      Sarcastic wit :)

    5. Re:Windows' copy and paste is broken by nevlow · · Score: 1

      Yeah! I can't seem to get apt-get to work in it properly, either. Damn Microsoft, and I paid for this operating system! What gives?

    6. Re:Windows' copy and paste is broken by Anonymous Coward · · Score: 0

      Geez. Someone actually posted something 'Funny' and it gets tagged 'Offtopic.' Ya' know I used to think the anti-slash people were nothing but a bunch of fucktards, but more and more, they seem to have a point.

  65. paradigm indeed... by geekschmoe · · Score: 1

    it works fuckin' great for me!

  66. Word of wisdom: emacs by smittyoneeach · · Score: 2, Informative

    The more you use it, the more you use it.
    Out of the box, it might not do much of anything you want, but few problems you can envision haven't been solved.
    Only thing I haven't seen yet is a PalmOS version, so I can run it on my Kyocera7135. Got one of those external keyboards; but, hey, that's motivation to figure out how to configure a GCC cross-compiler and add something to the emacs canon.
    Other than PalmOS, emacs is OS and window-manager (if any) agnostic, and comes with a ridiculous menu of existing tools.
    Go, emacs.

    --
    Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    1. Re:Word of wisdom: emacs by doom · · Score: 1
      smitty_one_each wrote:
      The more you use it, the more you use it. Out of the box, it might not do much of anything you want, but few problems you can envision haven't been solved.
      Okay, this is *somewhat* informative, but not terribly. First of all, try labeling your html links with something, that might, you know, *tell someone something about where the link is going*: EmacsWiki: CategoryKeys

      Secondly, there's an awful lot of information there, and what's strictly relevant to the question at hand is getting C-c and C-v to do copy and paste: CopyAndPaste. Note that this discusses cua.el, a package written by Kim Storm (also, by the way, the original author of the excellent usenet newsreader "nn") to get emacs cut-and-paste to behave more like the way a windows user would expect.

      The Emacs Way of doing these things can be taken as yet another paradigm, by the way. Unlike the old windows and mac "clipboards", the emacs "clipboard" can have multiple things clipped to it... it's called the "kill-ring", and it's essentially a stack that you push things on to. Select a region, "kill" (aka "cut") that region, it ends up on the kill-ring. Do that again, and that entry is pushed down one, and the new selection ends up on the kill-ring. Move somewhere else, and you can "yank" the last thing killed off of the kill-ring, and if it wasn't what you wanted, you can do a "yank-pop", and start rotating through the stuff on the ring until you find what you were looking for.

      Now (with Gnu Emacs 21, at least) the "PRIMARY" selection in X is associated with the top element on the "kill-ring". Do a "kill" in emacs, move to an X app, do a middle-click, and you should get the item that was just killed. Highlight something in the X app with the mouse, switch to emacs, do a "yank" command, and you'll get the item that was highlighted.

      This, of course, just scratches the surface of emacs capabilities in this area... I've become a big fan of the "registers", i.e. the ability to store something in register "a", and something else in register "b", and something else in "c" and so on, and to be able to insert them by name. For example, when writing a bunch of slashdot postings, the "b" register tends to have the BLOCKQUOTE html tag stashed in it.

    2. Re:Word of wisdom: emacs by Anonymous Coward · · Score: 0

      You're right--I was just being a wiki tease. Point is, more folks need to be vectored there to appreciate the full-on blast of righteousness that is emacs.
      r,
      smitty1e

    3. Re:Word of wisdom: emacs by doom · · Score: 1
      You're right--I was just being a wiki tease. Point is, more folks need to be vectored there to appreciate the full-on blast of righteousness that is emacs.
      Not to mention the newsgroup, alt.religion.emacs.
  67. sudo su -; sudo ksh su -; rm -rf /* by Dr.+Evil · · Score: 1

    It's a shame because accidentally touching the middle button over a terminal window can be a F*-ing disaster.

    I think it is a lazy mouse-oriented method of copying and pasting. Sadly, Windows can get by with the keyboard better than most X environments.

  68. ^U and ^K by ShadowFlair · · Score: 2, Interesting

    I am starting to pick up on clicking the end of the URL, ^U and then middle click. Or, click the middle of the URL, and ^K to kill the rest of the line.

    At home (on Windows) I use the True X-Mouse Gizmo which makes Windows mouse more X-like(select = copy, middle = paste, raise/lower window). One thing nice about it is if you explicitly hit ^C (as opposed to select copy) it knows to not copy the next time you select some text. You can also middle-click while dragging to turn on/off copy.

    This is kind of confusing at the beginning, but it sure beats all the accidental copying I've done.
    --
    To iterate is human; to recurse, divine!
  69. howto delete without copy by Anonymous Coward · · Score: 0

    Copying to selection only activates on 'mouseup' so if you need to delete text simply hold the mouse button down and hit delete on the keyboard then let the button up and middle click to paste the original clipboard text.

    Of course if it's too much effort to use the mouse and keyboard at the same time then just use whatever your window manager offers for a clipboard

  70. try going back to windows by big+daddy+kane · · Score: 3, Interesting

    if you think thats bad try going from getting used to that back to windows, i still middle select and expect to have it paste :p

    1. Re:try going back to windows by Too+Much+Noise · · Score: 3, Interesting

      Tell me about it! especially in Firefox, with everything looking just like in Linux. select, middle-click ... wtf??? oh, right ... keyboard :-(

      No matter how much windows users complain about it, middle click selections are sooooo useful if you understand them.

    2. Re:try going back to windows by mvdw · · Score: 2, Funny

      Even worse is that triple-click doesn't work in Windows. I guess MS didn't invent it, unlike the double-click (see other /. story).

    3. Re:try going back to windows by Snaller · · Score: 1

      Well i'm glad it doesn't. Sounds totally pathetic.

      --
      If Google really cared they would fix Android Chrome to reflow text, instead of discriminating
  71. use a better interface by ummit · · Score: 1
    I'm about as hard-core a Unix junkie as there is, but I'm also a Mac junkie, and most of the Unix GUI's just suck. My preferred solution is to use various terminal emulators (usually NiftyTelnet/ssh) on one of my Macs, and connect to all my *nix machines that way. I get proper, consistent cut&paste, and decent scrollbars, and like that.

    Unfortunately, if you've gotten used to the Windowsesque control-C and control-V, you're stuck with the worst of both worlds. If you want the cut/paste mechanism to be consistent across all apps (and who doesn't?), it can't be control-C/control-V, because you've got to be able to use those verbatim in terminal emulation windows. That's why I vastly prefer the Mac command-C and command-V (from which, of course, the Windows hotkeys were copied, albeit in the customarily mildly broken Windoze fashion).

  72. X copy/paste by Too+Much+Noise · · Score: 5, Informative
    Actually, there are 3 selections in X. How's that for confusing?

    The current consensus on freedesktop.org is something along the lines of:

    1. The primary selection is to be used for middle-click pasting.
    2. The secondary selection is unused now
    3. the clipboard selection is to be used for Windows-style copy/paste.


    The problem is that some apps use only the primary selection for all copy/paste operations, so it can get confusing.

    For more info, look here
    1. Re:X copy/paste by Short+Circuit · · Score: 1

      How about trapping a hotkey that copies the data of one of those buffers to the other two?

    2. Re:X copy/paste by Too+Much+Noise · · Score: 2, Informative
      if you follow the link, you'll see they say:
      explicit cut/copy commands (i.e. menu items, toolbar buttons) should always set CLIPBOARD to the currently-selected data (i.e. conceptually copy PRIMARY to CLIPBOARD)
    3. Re:X copy/paste by Short+Circuit · · Score: 1

      Ah, but how about catching it as a global hotkey?

    4. Re:X copy/paste by Indyan · · Score: 1

      It's starting to get really interresting when use copy something from Windows in VMWare and then want to paste it.. you copy with ctrl+c but it gets in the first buffer so you paste with middle-click... And when you want to to the other way around... Hehe, it's really confusing sometimes :)

      --
      Free unix shells: Blinkenshell.org
    5. Re:X copy/paste by mivok · · Score: 2, Insightful

      I disagree with their recommendation that Secondary shouldn't be used. The submitters problem, selecting something for the purpose of copying, then wanting to use another selection is an ideal situation for the secondary selection - when you realise that you require the second selection, press a hotkey to swap primary and secondary selections, do the selection work, swap back and middle click to paste the original selection in.
      This probably doesn't need to be implemented at a client level though, perhaps a utility that works globally, setting the hotkey (or perhaps a spare mouse button on a multi button mouse) to swap the two selections. Anybody know if such a utility exists?

    6. Re:X copy/paste by Too+Much+Noise · · Score: 1

      Ah, but how about catching it as a global hotkey?

      Why would you want to? that's one assumption too many IMHO. Say you run several X servers on the machine. Which one should catch the global hotkey? and so on.

      It's actually meant to be treated by the app - if it wants to do copy/paste, handle the event, otherwise ignore it. But handle it properly if compatibility is expected.

    7. Re:X copy/paste by John+Hurliman · · Score: 1

      Can't you turn off 1 and 2 and just use Windows style copy/paste? The highlight-to-copy idea sounds cool, but in practice you rarely need to copy something and put it in to an empty space, you are copying something to replace something else which doesn't work with the highlight + middle-click.

    8. Re:X copy/paste by johnnyb · · Score: 1

      I actually use highlight+middle click combination quite a bit.

    9. Re:X copy/paste by Rysc · · Score: 1

      /me beats John Hurliman with a cluestick

      That is the way it *does* work... except that 1 and 2 are left on. They work in almost total independance of the "normal" way. If it concerns you, just don't use the middle mouse button. You'll find that in the vast majority of programs (excepting older versions) the behavior will be Windows-like.

      The reason 1 and 2 can't be turned off completely is that /people wont stand for it/. Who? Me, and thousands of others, who don't get easily confused and find that having access to the selection buffer is /extremely/ convenient.

      --
      I want my Cowboyneal
    10. Re:X copy/paste by axxackall · · Score: 1
      In windows you can have a ring of keyboards, not just 3. but they all controlled by the consistent set of hotkeys and mous clicks.

      The problem with Xfree is not in amount of keyboards - but in the fact they control not consistently.

      I think it's now a turn of GNOME and KDE to unify the clipboard behavour and put the shame on programmers who ignore common rules.

      --

      Less is more !
    11. Re:X copy/paste by Anonymous Coward · · Score: 0
      In windows you can have a ring of keyboards, not just 3. but they all controlled by the consistent set of hotkeys and mous clicks.

      /me sits back watching the mouse click the keyboard into a jig. Smart mouse, this one - I wonder what it would click a cat into doing.

      Sonny, get your wires uncrossed. This is not about keyboards.

    12. Re:X copy/paste by spitzak · · Score: 1

      That might work if you know what programs are broken and something can be done in X or the window manager to fix it.

      Typing ctrl+V would be trapped, and would copy the CLIPBOARD to the SELECTION, and then send ctrl+V. For a really-broken program it could send a middle-mouse click.

      Typing ctrl+C or ctrl+X would be trapped and would copy the SELECTION to the CLIPBOARD and then send the key to the program.

      These traps would only happen to programs that are known to be broken.

    13. Re:X copy/paste by Carewolf · · Score: 2, Informative

      Actually the problem is easierly solved using the clipboard. Just press CTRL+C, then select and delete and press CTRL+V. If implemented correctly the selection has not overriden the clipboard.

    14. Re:X copy/paste by Anonymous Coward · · Score: 0

      The problem is that it isn't implemend correctly.

    15. Re:X copy/paste by sydb · · Score: 1

      You're almost exactly right (no need to hit delete in between).

      And this shows that this "bug" is actually a feature! If this were windows, everyone would be doing ctrl+c, ctrl+v quite happily, and this WORKS in X. Only because people have their metaphors confused is there a problem.

      --
      Yours Sincerely, Michael.
    16. Re:X copy/paste by Guy+Harris · · Score: 1
      The problem is that it isn't implemend[sic] correctly.

      ...in some toolkits and/or some applications. Those should be fixed, so that selecting affects only PRIMARY and leaves CLIPBOARD the hell alone.

      Other toolkits do the right thing.

    17. Re:X copy/paste by Short+Circuit · · Score: 1

      I'm not too familiar with X's architecture...my use of the term "global" was intended to apply to a single X server.

      Is there a command-line utility for manipulating the X copy/paste buffers?

    18. Re:X copy/paste by Too+Much+Noise · · Score: 1

      You mean like a clipboard daemon? At least in KDE there's one (Klipper, not command-line though) that gives you a nice history of your selections. Quite useful at times.

    19. Re:X copy/paste by Short+Circuit · · Score: 1

      If there was a command-line tool, you could bind it to a shortcut key with whatever desktop environment/window manager you preferred.

    20. Re:X copy/paste by booch · · Score: 1
      Actually, there's no limit to the number of selections in X. It's just that there are 3 commonly used by convention. From section 2 of the ICCCM:
      There can be an arbitrary number of selections, each named by an atom. To conform with the inter-client conventions, however, clients need deal with only these three selections:
      • PRIMARY
      • SECONDARY
      • CLIPBOARD
      Other selections may be used freely for private communication among related groups of clients.
      They actually mention swapping the PRIMARY and SECONDARY in some scenarios, but don't discuss how the user might express that. So basically, the SECONDARY selection has fallen out of use. If someone were to come up with a use for more selections, they could easily be implemented via the existing X framework. Perhaps the clipboard managers could exchange their multiple clips with CLIPBOARD2, CLIPBOARD3, etc.
      --
      Software sucks. Open Source sucks less.
  73. XFCE by jeddak · · Score: 2, Insightful

    The XFCE window manager has a nice clipboard management utility that sits in the Dock. Clicking on it displays the last 8 or so things that you copied/cut. Selecting one "arms" it so that you can paste that item.

  74. Everyone has it wrong all the time by tesmako · · Score: 2, Informative
    For some reason people seem to constantly miss how the X clipboard and selection mechanism works. So here we go again:

    The X clipboard work exactly like the Windows and Mac ones. When you chose 'copy' on an edit menu or similar (ctrl+c in a lot of toolkits) the application will claim ownership of the clipboard and copy the text to some internal buffer. When an application gets a paste in some way (edit->paste or ctrl+v perhaps) it will request the text from the clipboard owner.

    There is ALSO the selection mechanism. Whenever you select text in an application it will claim ownership of the primary selection, whenever an application receives a middle mouse click it will request the primary selection from the registered application.

    These two mechanisms are orhogonal and should in no way interfere with each other in a correctly written application. Hope this clears things up. See JWZ's small guide to the topic for more information.

  75. cry babies by Anonymous Coward · · Score: 0

    go backwards...

    1. remove old url
    2. highlight new url
    3. middle click it into browser

    ta-da

  76. Hardcore Linux user? by weeboo0104 · · Score: 1

    Middle mouse button? BAH!

    Any hardcore Linux user knows you use "yy" and "p" to copy and paste!

    My car gets 40 rods to the hogshead and that's the way I likes it!

    --
    It is easier to build strong children than to repair broken men. -Frederick Douglass
  77. I don't know what software you all are using... by sab39 · · Score: 4, Informative

    In every program I use in Linux (specifically, Mozilla, rdesktop, and various GNOME stuff) Ctrl-C/Ctrl-V work perfectly, and so does the select/middleclick system, and neither interferes with each other.

    I haven't used KDE in a long time but I understand that they introduced the same behavior with Qt3/KDE3.

    Unless you're using really ancient software, pretty much everything will work in *either* mode, or you can do what I do and use a combination of both (choosing whether to bother pressing Ctrl-C to copy depending on whether you're going to need to highlight something at the destination).

    I'm really curious to understand how so many people manage to still have a problem with this. Are you perhaps expecting that since "everybody knows that select copies on Linux", Ctrl-V will paste the thing that you last selected, instead of the last thing you Ctrl-C'd, and not testing it to verify this? Or just assuming that selecting something will overwrite your Ctrl-C buffer? I'd like to believe that people would actually test these things before posting Ask Slashdots about it, but you have to wonder...

    1. Re:I don't know what software you all are using... by McSmiley · · Score: 1

      I've been using KDE and X for *years* and had no idea that there were two clipboards... always wondered why Ctrl-V didn't paste what I'd selected with the mouse or middle-mouse-click didn't paste what I'd selected with Ctrl-C. Now I know! Thanks, slashdot.

      --
      "I compare [open source vs. non-open source] to science vs. witchcraft." linus
    2. Re:I don't know what software you all are using... by achurch · · Score: 1

      I'm really curious to understand how so many people manage to still have a problem with this.

      Think "xterm". (Hint: The shell uses Ctrl-C and Ctrl-V for its own purposes.)

    3. Re:I don't know what software you all are using... by sab39 · · Score: 1

      So use Konsole or gnome-terminal (okay, not gnome-terminal if you value the speed of your shell - they *really* need to apply the year-old patch to fix the scrolling speed - but I'm sure there are other alternatives as well) which has 'copy' and 'paste' in the menus...

  78. wmcliphist by Stercus+Fit · · Score: 1

    wmcliphist is a windowmaker dockapp that stores the last several X cuts. Doesn't solve the problem entirely, but it does make it easy to recover the last selection. Works well enough that I don't notice anymore.

    --
    Lurk.
  79. KDE'S Klipper by cbowland · · Score: 1

    Klipper is a pretty handy tool from the fine people at KDE. Like most open source products, the configuration options are fairly extensive, but you can access a history of clipboard items (ctrl-alt-v) , do regex matching, set up actions, etc....

    --

    Give a man a fish and he will eat for a day.
    Teach him to eat and he will fish forever.

  80. correction by British · · Score: 0

    As a slight correction, the copy-paste problem you describe isn't a Linux issue; it's an X Window System issue.

    Correction to your correction:

    Seeing is that the only time I use X Windows is when I'm in Linux, it is a problem in your golden boy OS, Linux.

    This reminds me of the mentality I saw with the linux-based media player thread.

    1. Re:correction by Anonymous Coward · · Score: 0

      Where are the obligatory Bill bashing Linux praising zealot posts for this topic? They seem to be missing... Strange!

    2. Re:correction by ChipMonk · · Score: 1

      But where does the problem have to be fixed? That's like saying Fedora Core 2 sucks because it includes GNOME 2.6. By your logic, the way to fix Linux would be to ditch X.

      Get your mind out of its rut. Linux isn't the only platform that uses X. Any Unix that runs X will exhibit the same behavior. Would you be making the same complaint if the original poster had said he was running FreeBSD?

    3. Re:correction by Odat · · Score: 1

      This is 100% correct, because every other Unix or Unix variant out there doesn't use X windows, it uses a completely different, better, cooler, faster windowing system whose name seems to be escaping me at the moment for some reason...

      --
      This signature would be seven words long if it were six words shorter.
    4. Re:correction by Anonymous Coward · · Score: 0

      > Seeing is that the only time I use X Windows is when I'm in Linux, it is a problem in your golden boy OS, Linux.

      Wow! An existentialist, clueless, AND a little penis. Truely, /. is honored by your post, sir.

      > This reminds me of the mentality I saw with the linux-based media player thread.

      Reminds me how far /. has degraded into a cesspool....

    5. Re:correction by Rasputin · · Score: 1

      Seeing is that the only time I use X Windows is when I'm in Linux, it is a problem in your golden boy OS, Linux.

      Well, first off it's not "X Windows". To call it "X Windows" would be a violation of Microsoft's trademark of the common word "Windows". The goons at Microsoft don't appreciate people using the common word they trademarked - just ask the folks who sold Lindows.

      Secondly, your failure to understand the nature of X11 is not his fault.

      --
      "I once preached peaceful coexistence with Windows. You may laugh at my expense - I deserve it." Be's Jean-Louis Gass
    6. Re:correction by Anonymous Coward · · Score: 0

      > Where are the obligatory Bill bashing Linux praising zealot posts for this topic? They seem to be
      > missing... Strange!

      How's life under the bridge?

    7. Re:correction by Anonymous Coward · · Score: 0

      Correction to your correction of his correction:

      You must really hate Windows crashing with those bad drivers, seeing as much of the time it crashes it's caused by those crappy drivers, and they don't effect me when I'm NOT using Windows, so it is a problem in your golden boy OS, Windows.

      This reminds me of the mentality I saw last time a Windows apologist posted.

    8. Re:correction by British · · Score: 1

      But where does the problem have to be fixed? That's like saying Fedora Core 2 sucks because it includes GNOME 2.6. By your logic, the way to fix Linux would be to ditch X.

      That's where we play the blame game. KDE! GNOME! All the developers for kde and gnome!

      Probably which would be best would be to have some encompassing user-configurable one-size-fits all definition for hotkeys for "cut" "copy" and "paste". Apps & window managers read that and do what the user configures.

    9. Re:correction by Anonymous Coward · · Score: 0

      How's life in your "apartment" in mom's basement?

  81. Dump your Xterm. by Anonymous Coward · · Score: 0

    If you are still using Xterm, then what is wrong with you? Get a modern terminal emulator such as Gnome Terimanl and get used to the easy Shift-Control-V (The shift is there to avoid conflicts with teriminal programs). Enjoy.

    1. Re:Dump your Xterm. by DaCool42 · · Score: 1

      don't be fooled... xterm is a modern terminal. It supports many things most other terminals do not. Ever try looking at the xterm man page?

      --

      ----
      All of whose base are belong to the what-now?
  82. My only complaint... by Entropius · · Score: 1

    ... is that there is no uniform method of copy-paste.

    Emacs, which I've been using extensively lately for coding, has highlight-to-copy and ctrl-Y to paste.

    Pine has ctrl-k and ctrl-u for cut and paste lines--no highlighting, since I access it through telnet.

    I use Linux Opera as my web browser, and it uses the Windows ctrl-C/ctrl-V highlight-to-select method. Makes sense, since it appears to be an almost exact port.

    gaim's cut-and-paste behavior is weird--I can't get some things to copy, especially those that include smilies.

    In konsole windows you have to use the right-click menu.

    And, the system seems to sit on various C&P buffers--for instance, I can cut and paste things within emacs, but I can't get anything in or out of emacs. (Yes, I understand that emacs predates kde and such and thus has its own buffers, but can't the folks at the FSF fix this?)

    I don't really care what system gets used; ideally, like everything else in linux, it will be configurable. It's slightly annoying, however, to have to use different methods all the time. I don't mind it that much, but casual computer users (ex: my 52-year-old mother, who has the most amazing talent for breaking kmail) get confused--"why isn't it pasting?"

    1. Re:My only complaint... by Anonymous Coward · · Score: 0

      What do you expect for software that was written 20 years ago, before the concept of human interface guidelines was understood?

      The solution is simple: choose your HIG (GNOME or KDE) and only use apps that comply with it. If you use a mishmash of apps you are totally doomed.

    2. Re:My only complaint... by Guy+Harris · · Score: 1
      In konsole windows you have to use the right-click menu.

      ...just like {MS-DOS,Command} Prompt windows in Windows, where you can't use ^C to copy (although there is some keyboard accelerator for it, just not ^C), for the same reason - it's the "interrupt" character, for historical reasons dating back to various OSes from Digital Equipment Corporation.

    3. Re:My only complaint... by johnnyb · · Score: 1

      "Pine has ctrl-k and ctrl-u for cut and paste lines--no highlighting, since I access it through telnet."

      Ummmm... you can do highlighting AND copy/past on telnet sessions, too. I'm not sure what's stopping you.

      "I don't really care what system gets used...It's slightly annoying, however, to have to use different methods all the time."

      This is true. We need to all file bug reports on the applications which break copy/paste.

    4. Re:My only complaint... by spitzak · · Score: 1

      Hmm, on Windows I just tried Emacs, and then tried Pine through a telnet connection, and tried cmd.exe, and several other equivalents. My god, they all had the exact same problems. This is proof positive that Windows Sucks, since it seems to be proof that Linux sucks...

  83. The solution by gr8_phk · · Score: 2, Insightful
    The solution would be this: The implicit copy that is performed by selecting text doesn't happen until that text loses focus. For example:

    1) I highlight a URL in some text.
    2) I highlight the URL selector in Mozilla - this causes the previous highlighted text to lose focus and causes it to go to clipboard.
    3) I middle-click the URL in Mozilla (which never lost focus) and the clipboard text goes in.

    Not sure how "focus" actually works in this case, but you should be able to understand what needs to change to make it work. And for goodness sake have the FSF patent this so only Free Software will be able to use it. As the "inventor" can't I still patent for a short time after this public posting?

    1. Re:The solution by Anonymous Coward · · Score: 0

      So what about the bazillion times I hilight some text and just paste it where there's not already some text to hilight? With your solution I'd have to hilight a "junk" selection just to get my previous copy.

      The real solution is, of course, for all applications to conform to the freedesktop.org standard. We Unix users will get our normal way of doing things, you windows users can have the new way. As an added bonus, we can use the windows method if we want, and you can pretend your middle mouse button doesn't exist.

    2. Re:The solution by forty7 · · Score: 1

      I think a better solution would be this: don't use the "insert primary selection" (middle-click) feature when you really mean "insert the contents of the clipboard" (usually control-v). For many uses, just selecting something and then inserting that selection somewhere else is a "good enough" substitute for copy/paste, but it's not the same thing. When it's not "good enough" (eg. copying URLs into an already-filled address bar), use the clipboard. Granted, that's not so easy with terminal emulators sometimes, but that's a problem with the individual app, not with X.

  84. Re:"Correct?"-- A bit off topic, a bit flame-y by deebaine · · Score: 5, Insightful

    No offense, but this arrogance is exactly why Linux has insignificant desktop market share. Until the Linux community can get off its high horse ("This is the correct behavior??" Who says?), it will fail to attract users.

    Specifically, it will fail the "my mother" test: Why would my mother want to use this? As a disclaimer, let me point out that my mother has postgraduate education, has started a successful business, is a successful archaeologist, etc. We're not talking about a country bumpkin here. But she doesn't much like, or understand, computers. It took her long enough to figure out Ctrl-c Ctrl-v; she doesn't want to learn another behavior.

    The fact is that if Linux wants people to "adapt", then it needs to offer *evident* benefits beyond what Windows offers (again, subject to the my mother test; she doesn't care to recompile anything at all, ever). I might see enough benefit to tolerate some annoyance (I've never really noticed this as a big one, though I'll now be sure to count the times that I errantly cut/paste things), but she doesn't.

    -db

  85. How annoying.... by MisanthropicProgram · · Score: 1

    it doesn't work in Windows.

  86. cut and paste by tail.man · · Score: 1

    One thing I do when having to cut and paste a lot is to open a terminal and type in... /root# cat >/dev/null ... or a real file name. Then cut and paste and ctl-d when you are done. It does not solve all problems but it is useful.

    --
    http://tinyurl.com/globalwarmingisascam
  87. Get used to it by RAMMS+EIN · · Score: 1

    When I first started using XFree86, this issue bit me a few times. Now that I am used to it I want nothing else (it feels much more efficient), and resend that my mac doesn't work that way. Really, it takes some getting used to, but it really is the better way.

    Here are some hints:

    - Delete the text you want to replace *before* selecting the text you want to copy.

    - If you forgot to do so, paste first, then select and delete. Or use the keyboard: Ctl+k to delete to the end of the line, Ctl+u to delete to the beginning of the line. In some apps, either of these deletes the whole line.

    - Selecting using the keyboard (shift+arrow) usually goes to a different clipboard.

    - Use an application that lets you have multiple buffers. I believe KDE and GNOME have these, and I am sure there are stand alone programs for X11 that do this.

    If you really cannot get used to the X11 way of copy paste, stick to using apps in which ^C and ^V work, and pray that, someday, there will be a universal supported interface that can be configured to work either way.

    --
    Please correct me if I got my facts wrong.
  88. Wrong Ask Slashdot... by Mz6 · · Score: 1

    I think you mean this one. Oh wait.. You were talking about Linux and not games.. my fault :)

    --
    Hmmm.
  89. I've said this so many times by Anonymous Coward · · Score: 0

    Someone needs to make a bomb Linux API so everything just works.

  90. you are wrong by Ender+Ryan · · Score: 2, Informative
    1. There is no such thing as "X Windows"

    There are tons of SDKs for X-Windows, almost all of them using a separate clipboard implementation/mechanism.

    2. The above is completely false. X has a primary and secondary copy/paste buffer. It always works the same way, the only real caveat being that apps can use different key combos to control the primary buffer. I haven't used an app in years that used anything other than control+c/v for the primary buffer.

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
    1. Re:you are wrong by Pieroxy · · Score: 1

      There is no such thing as "X Windows"
      Ah. How do you call that thing that gets launched when you type "startx" then? I think we just have a terminoloogy problem right here.

      X has a primary and secondary copy/paste buffer
      There are PRIMARY, SECONDARY, CLIPBOARD. Actually, apps can ask for any clipboard by providing their own names. Too much liberty in the implementation and a lack of a properly defined standard is the main problem.

      the only real caveat being that apps can use different key combos to control the primary buffer
      They can do that with any system. The problem of X being that no clear standard has been imposed/recommended and hence, followed.

      I haven't used an app in years that used anything other than control+c/v for the primary buffer
      So you don't use xterms at all then. I still do.

    2. Re:you are wrong by jsebrech · · Score: 2, Insightful

      Ah. How do you call that thing that gets launched when you type "startx" then? I think we just have a terminoloogy problem right here.

      What the parent meant, and what I think is silly too, is that you're only supposed to call it the X Window System, X Window, X, X11, or basically any variation containing X except for X-Windows, which sounds a bit too much like windows, and some people have a visceral reaction to even just the name of a microsoft product.

      There are PRIMARY, SECONDARY, CLIPBOARD. Actually, apps can ask for any clipboard by providing their own names. Too much liberty in the implementation and a lack of a properly defined standard is the main problem.

      I disagree. There is a clearly defined standard on freedesktop.org, not everyone follows it though. The reality is that not prescribing default policy for anything was a really dumb idea. Still, that doesn't mean it's too late to prescribe that default policy now, and the freedesktop project seems to be doing that, with clear definitions for window managers, clipboards, mime types, app menu's, desktop icons, and so on...

    3. Re:you are wrong by Pieroxy · · Score: 2, Insightful

      There is a clearly defined standard on freedesktop.org, not everyone follows it though.
      You are right. There are plenty of standards, each one created by a separate organization (freedesktop, motif, etc...). The problem is that we need an authority to set the standard. Because multiple standards is not much better than no standard.

      The reality is that not prescribing default policy for anything was a really dumb idea.
      Agreed. And now we have to live with all these apps that were developped before freedesktop.org, and most of them are here to stay. Sure, the real broad ones will be adapted... Have you tried to launch XGhost on a recent distro? Still looks as bad as the first version. This is what I'm talking about. For sure Moz and OpenOffice are nicely written, but that's just two apps!

      Still, that doesn't mean it's too late to prescribe that default policy now, and the freedesktop project seems to be doing that, with clear definitions for window managers, clipboards, mime types, app menu's, desktop icons, and so on...
      And I'm happy they're doing it. The questions are:
      1. Will everyone follow. They are no authority, so if any party decide they're not going to follow it, we're back at our main problem.
      2. Who will port those gazillion apps that we do use, but have been developped before? Answer: No one. Because of general laziness, sure, but also because some of them aren't even open source!

      So while we are going in the right direction (hopefully), there is still a lot of baggage that comes with the system.

    4. Re:you are wrong by Skapare · · Score: 1
      Too much liberty in the implementation and a lack of a properly defined standard is the main problem.

      Standards should never dictate human user interfaces. Instead, human users should have a choice of the interface they prefer. You should never impose your preference on me, and I should never impose my preference on you. Standards should specify how the applications access the cut and paste buffer area, only.

      It is my understanding that it can only work one way in Microsoft Windows, but that X (that's the name of it, just "X") provides the mechanisms to exchange buffer data and imposes no particular means to interface the human user. The window managers do that (usually), and there are plenty of them to choose from. If you want a Ctrl-C/Ctrl-V style cut/paste interface, there might be a window manager already written to do it (and probably lots of other Microsoftisms at the same time). I wouldn't know because I've had no need to look for one. But if there is not one, you're certainly welcome to grab an existing window manager implementation (most of them are open source, free (as in beer), free (as in speech), and free (as a bird), allowing you to hack the source to make it behave as you prefer, and share your accomplishments with your friends and enemies).

      --
      now we need to go OSS in diesel cars
    5. Re:you are wrong by Pieroxy · · Score: 1

      Standards should never dictate human user interfaces. Instead, human users should have a choice of the interface they prefer
      Agreed. The problem today with X is that every developper seems to implements the stuff he likes (less and less so, but still a little). So the end result is a horrible patchwork of all programmer's preferences. The end-user doesn's choose the way it prefers, but rather learns to live with the various ways each developers prefers.

      But if there is not one, you're certainly welcome to grab an existing window manager implementation (most of them are open source, free (as in beer), free (as in speech), and free (as a bird), allowing you to hack the source to make it behave as you prefer, and share your accomplishments with your friends and enemies).
      There are several problems with that approach:
      1. Users shouldn's have to implement their ways. If an acceptable way doesn't exist for a large userbase, the system dies. And not the opposite, as this arguments seems to infer. Users are not going to rewrite the system, even if they could.
      2. The window manager doesn't do it all. If the app uses Ctrl-C for a specific purpose (think xterm for example) then writing a window manager that catch that key will just render xterms unusable.
      3. Point 2 makes your "simple" migration much more difficult, as you now have to rewrite every single application to work the way you want it. Hmmm. No wonder it's never happened.

    6. Re:you are wrong by jsebrech · · Score: 1

      1. Will everyone follow. They are no authority, so if any party decide they're not going to follow it, we're back at our main problem.

      KDE, GNOME, and the big independent projects like mozilla and oo.o are following, as well as the major distro's, so even if it won't be compulsory to follow that will create a de facto standard.

      2. Who will port those gazillion apps that we do use, but have been developped before? Answer: No one. Because of general laziness, sure, but also because some of them aren't even open source!

      That's indeed a problem. But I think when the desktop becomes this smoothly integrated environment with a few non-compliant apps sticking out of it like a sore thumb there will be enough user and developer pressure on those apps to get up to date. Like how apps on mac os x get slammed if they don't use apple's gui libraries but instead "roll their own", and as a result very few mac apps "roll their own."

    7. Re:you are wrong by cozziewozzie · · Score: 1

      A lot of your concerns have to do with using antiquated software. There are a gazillion of terminal emulators beside xterm and many modern apps for just about any purpose.

      I don't know what you're using now, but try installing a modern distro (or using something like knoppix) with the latest KDE or GNOME and use some modern apps (like konsole). CTRL-C works, you can choose your look and feel (works across all apps as long as you stick to your desktop environment) and set up the behaviour exactly the way you want it.

      You seem to insist on using archaic programs (some of it even closed source) and see it as a linux/X problem that they are stuck in the 80s. If xterm doesn't function properly for you, use something that does. Basically, you are your own problem.

    8. Re:you are wrong by Pieroxy · · Score: 1

      Well, tell me then a solution to a very simple problem I have:

      how can I view/print a PS (postscript) file on your modern distro?

    9. Re:you are wrong by Anonymous Coward · · Score: 0

      we need an authority to set the standard

      And how do you propose to do THAT with an operating system that prides itself on being ANTI-authoritarian? There will never be a single, universal ANYTHING for Linux...which is why it does not work as a platform (platforms are by nature universal).

    10. Re:you are wrong by Ender+Ryan · · Score: 1
      Ah. How do you call that thing that gets launched when you type "startx" then? I think we just have a terminoloogy problem right here.

      No, it's not a terminology problem. You are simply using the incorrect name for it. You don't call a Volvo a Honda, neither do you call X, X Windows.

      And no, it has nothing to do with the word "windows," as another poster said. The fact is, it's just not called that.

      There are PRIMARY, SECONDARY, CLIPBOARD. Ah, right you are.

      Actually, apps can ask for any clipboard by providing their own names. Too much liberty in the implementation and a lack of a properly defined standard is the main problem.

      I fail to see how there is a problem! What apps are there that don't Do The Right Thing(TM) these days? I haven't used one in years. Clearly standards are being adopted.

      So you don't use xterms at all then. I still do.

      Of course I do, but I don't generally use "xterm." Anyway, xterm uses the primary buffer... so...? You can't use control+c/x/v in a terminal anyway, and xterm doesn't implement something like shift+control+c/x/v as a workaround. I see that as a failing of xterm, not X.

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
    11. Re:you are wrong by cozziewozzie · · Score: 1

      KGhostView. KPDF might work for PS as well, never tried.

    12. Re:you are wrong by jsebrech · · Score: 1

      There will never be a single, universal ANYTHING for Linux...which is why it does not work as a platform (platforms are by nature universal).

      And let's just forget that pesky democracy thing, because clearly you can not have a strong nation with such a lack of supreme authority.

  91. xcb by ALecs · · Score: 1

    An ancient program to manage the X cutbuffs. Just switch to a different buffer. I think you can have up to 8 with xcb. Adds a click to select the cutbuff, but having 8 clipboards is nice. :)

  92. emacs has unlimited undo & copy/paste by maiden_taiwan · · Score: 1

    I do most of my work in Emacs, which has unlimited undo and effectively unlimited copy/paste buffers. You can even run a shell inside Emacs (M-x shell), then cut/copy/paste/edit/delete all you want.

  93. Copy and Paste by Anonymous Coward · · Score: 0

    Use Control + Shift + C and Control + Shift + V for copy and pasting.

    1. Re:copy and paste by EllF · · Score: 1
      http://www.jwz.org/doc/x-cut-and-paste.html

      Doesn't get much for consistent than that.

      --
      We who were living are now dying
      With a little patience
    2. Re:copy and paste by Suppafly · · Score: 1

      I've read that before, it just goes to show how fucked up copy and paste on linux is. Having 4 different and separate copy and paste mechanisms is retarded.

  94. Here is the way it SHOULD work. by dpbsmith · · Score: 4, Funny

    Copy should be control-alt-caps-lock-tilde. Paste should be escape-escape-shift-F6 and click the first and fourth mouse buttons. This pastes in two copies, which is what I usually want. If, for some reason, I only want one copy, then after I pasteI just press PgDn on the numeric keypad with NumLock on, then hit SysRq twice in rapid succession (usually, within half a second). This conveniently deletes the second copy.

    If your mouse has less than four buttons, it's broken. Get one with four buttons.

    Simple. Clean. Logical. Convenient.

    I like it this way so this is the right way.. I know what I like, and that makes me a UI expert.

    If anyone wants it any other way, well, let them set it as a non-default user preference. And if the preference isn't honored by every application, well, tough.

    1. Re:Here is the way it SHOULD work. by marvinalone · · Score: 5, Funny

      You use emacs?

    2. Re:Here is the way it SHOULD work. by Sabotage · · Score: 0, Redundant

      So, you use emacs?

    3. Re:Here is the way it SHOULD work. by Webcommando · · Score: 1

      This reminded me how much I miss the old DOS programmer's text editor BRIEF. Ctrl-l to begin selecting lines and Ctrl-m to begin selecting a block and a simple tap of - or + on the numeric keypad cut or pasted.

      Wish all modern IDE's allowed BRIEF emulation. Everything was seemed so intuitive when I first started using it.

      --
      I love the sound of distortion in the morning -- webcommando
    4. Re:Here is the way it SHOULD work. by John+Miles · · Score: 1

      This reminded me how much I miss the old DOS programmer's text editor BRIEF. Ctrl-l to begin selecting lines and Ctrl-m to begin selecting a block and a simple tap of - or + on the numeric keypad cut or pasted.

      Wish all modern IDE's allowed BRIEF emulation. Everything was seemed so intuitive when I first started using it.


      Have you tried CRiSP? It's the only editor that actually nails BRIEF emulation almost perfectly. (Chances are, you would not be able to tell the difference.)

      CRiSP runs on just about every platform there is, and the author does a good job maintaining it, for the most part. (Although the Win32 version's usage of the clipboard is somewhat inconsistent from version to version, you can't really complain about it in a BRIEF-emulation context.)

      --
      Dahlmann tightly grips the knife, which he may have no idea how to use, and steps out into the plain.
  95. Re:The writer needs a clue. It is orthogonal. by CarrionBird · · Score: 4, Insightful
    It doesn't work that way in the programs the writer is using. That's why he is having the problem.

    Telling someone that they are clueless beacuse they use a differnt setup than you is not very helpful.

    --
    Free Mac Mini Yeah, it's
  96. Windows cut & paste is Clumsy by arjay-tea · · Score: 1

    I grew up using X-Windows on Unix systems, and I have always found the cut'n'paste dance to be quite clumsy. First you mouse something, then you go to a menu (or the keyboard), then you mouse again. Slow and time consuming.
    I resent the one-size-fits-all mentality engendered by the MS monopoly. This sort of thing should be a user choice.

  97. ooohhh, that explains it by Anonymous Coward · · Score: 0

    Maybe I should give Linux a second try...it might make more sense this time...

  98. CTRL+V, CTRL+C ?? by FreeZerBurn · · Score: 1

    Just use VIM. Then you have another buffer.

  99. It's a cultural thing... by Anonymous Coward · · Score: 0

    If you plan ahead in perfect detail, this wouldn't be a problem. To replace some text with something else, you delete the old, copy the new, paste the new, not the (more logical) copy the new, select the old, replace it with paste.

    A lot of the odd little angularities of Linux make more sense when you realize it was designed for people that think and plan in minute detail, all the time. Creating software the traditional unix way is like that: I've never been willing to remember (let alone type, every time I want to edit) the names of every one of my source files, when modern IDE's are designed to do it for me, better, faster, & cheaper (if my time is worth anything.) Linux was designed by people who don't feel that way.

    1. Re:It's a cultural thing... by arjay-tea · · Score: 1

      "I've never been willing to remember (let alone type, every time I want to edit) the names of every one of my source files, when modern IDE's are designed to do it for me..."

      People who do the above obviously don't know that one can simply grab the name of a source file in a list somewhere (like maybe an extra xterm sitting somewhere conveniently in view) and paste it onto a command line with one click after typing 'vi'.

      (Granted, an IDE which brings up an editor with the right source file in it is easier for this particular task, but I still find IDEs rather confining after skating on the clean isomorphic ice of the Unix development enviromnent for so long.)

      I think it is Windows which conditions people to constantly retype commands, due to their moronically stupid command-line windows.

  100. Common 'clipboard' by MisanthropicProgram · · Score: 1
    Is there a common "clipboard" in the desktops? Or for that matter, in the GNU/Linux kernel itself? (This would allow copying from any terminal/desktop window to anywhere else.)

    This may be a great O/S project!

  101. Windows Bugs Me Now by futuresheep · · Score: 1

    Does anyone know of any middle click utilities for Windows? I've gotten so used to using Klipper in KDE for keeping Copy & Paste content handy, and the middle mouse button for quick and dirty Copy & Paste, that I find myself cussing at Windows for not letting me use the middle mouse button that way.

  102. Ctrl Insert, Shift Insert by BrookHarty · · Score: 2

    I didnt see anyone mention the whole Ctrl Insert, Shift Insert option.

    Works on some linux apps and desktops, still works in windows.

    I have my putty setup as an X window, middle mouse click, right mouse extends, middle pastes.

    What pisses me off is command shell for windows, I just start up sshd under cygwin and use putty to ssh into my own windows box. Much better...

    1. Re:Ctrl Insert, Shift Insert by koali · · Score: 1

      There is a port of rxvt for Cygwin which works veeeery well :-b

  103. Freedesktop.org links of note by jspaleta · · Score: 1

    http://www.freedesktop.org/Standards/clipboards-sp ec

    http://freedesktop.org/Standards/clipboards-spec /c lipboards.txt

    Sure, i could make them nice html links, but considering the topic of discussion, making people cut and paste them to use seem most appropriate.

  104. Wow, Windows users complaining about interface by mveloso · · Score: 1

    It just struck me how amazing it is that a Windows user is complaining about the lack of interface consistency in Linux.

    Only a few years ago Windows advocates denigrated interface consistency as a feature for the small-minded. Applications needed different key combinations for common actions because ever app was different, and anyway enforcing a standard was a totalitarian thing to do. Choice, choice, choice.

    Before that, of course, DOS users mocked GUIs, mice, large memory spaces, etc.

    It's unbellievable how time really does change how people look at things.

  105. Re:"Correct?"-- A bit off topic, a bit flame-y by Too+Much+Noise · · Score: 2, Interesting

    Ho-hum ... your 'mother test' is actually the 'Windows user test'. X copy/paste predates Windows copy/paste. And it's more flexible (this being currently the problem). This is the correct behavior for X, not for Windows.

    If the 'typical mother' had started with a DEC instead of Win3.x/Win9x, middle click paste would have been the 'correct and expected behavior'.

  106. What about the command key? by jhesse · · Score: 1

    On my UNIX machine, Command-C copies, Command-V pastes, Command-X cuts, and Command-Shift-U opens a highlighted URL in the web browser.

    Oh, and Control-C breaks out of command line programs, like it should.

    --

    --
    "I have also mastered pomposity, even if I do say so myself." -Kryten
  107. the unix way is my way by maryjanecapri · · Score: 1

    i've been using Linux as my only OS for nearly 8 years now. the highlight-as-copy method is engrained in my head. in fact whenever i work on my friends windows machines (free tech support ARGH) it always trips me up to have to use ctrl-c and ctrl-v. i personally think the Linux method of copy/paste is so much better than the windows method. sure it doesn't traverse every application but when it does it's so quick an simple. i would rather see all Linux applications pick up the highlight/paste method instead of moving over to the the keyboard method.

    --
    nature loves variety::society hates it get your variety at http://www.monkeypantz.net
  108. -1 troll/idiot/wrong by Ender+Ryan · · Score: 1, Flamebait
    The only thing you said that is true is that there is no way to copy/paste images using the X clipboard.

    The X clipboard is not broken, you just don't understand it. There are several posts explaining it already posted, two being my own, so I won't repeat it in its entirety. The short version is that middle+click and meta/control+c/v are two separate buffers, and people get confused by that. If someone didn't know anything about X, they would most likely never notice the middle+click buffer, sticking to control+c/v which nearly all new apps use as the default key bindings for copy/paste.

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
    1. Re:-1 troll/idiot/wrong by asuffield · · Score: 1
      The only thing you said that is true is that there is no way to copy/paste images using the X clipboard.

      Actually that's wrong too. It's up to the applications to support it, though.

    2. Re:-1 troll/idiot/wrong by Ender+Ryan · · Score: 1
      I believe apps that can copy/paste images don't use the X clipboard to do so, but I could be mistaken.

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
    3. Re:-1 troll/idiot/wrong by stratjakt · · Score: 3, Insightful

      Not just the X clipboard, the whole ball of wax.

      I understand X's seperate buffers. I understand in one app it may be Ctrl-C to get the clipboard buffer, in another it may be Alt (oh excuse me, Meta) Q. Who knows.

      I also know that most apps have their own redundant application-level cut/copy/paste. In pico/pine/nano its Ctrl-K for cut, and Ctrl-U for un-cut. I know if I want to cut and paste within a single text file I can use C-k and C-u to move lines. If I want to move text from xterm A to OOo document B it's something different entirely.

      I know the unix labs at my school had cheatsheets the size of movie posters on every machine to remind casual users how to copy a block of text, and other trivial tasks. I also know they were perpetually empty, and the Windows and Mac labs perpetually full.

      I also know it's annoying and makes even the most airbrushed linux gui behave like an unprofessional piece of crap.

      You may enjoy memerizing key bindings for umpteen million different apps, but I don't and neither does the majority of the unix desktop's potential market.

      --
      I don't need no instructions to know how to rock!!!!
    4. Re:-1 troll/idiot/wrong by Ender+Ryan · · Score: 1
      Are you daft man? Almost every single new gui app for *nix uses Control+C/V for copy/paste. Non-gui apps behave differently, obviously, which is the same way it is on any other OS with non-GUI apps. Even on OSes with DOS ancestry, different non-GUI apps use different key-bindings.

      Fucking Christ man, you cite copy/paste from GUI to/from an xterm, yet the same "problem" is present on Windows with the command prompt, ie. you cannot just hit control+c/v to copy/paste to/from it.

      Stop being such an asshole flaming Linux every "chance" you get. If you don't like it, why the fuck do you care so much?

      Linux and X have plenty of real problems, like 3D video driver issues(lack of enough drivers for one), lack of a really good/common sound API like Jack, lack of the ability to copy/paste image data between (most) apps, etc.

      Why do you constantly make shit up, like your SCO trollings and now this bullshit about copy/paste which was mostly false? Are you really just that much of an asshole?

      Sheesh...

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
    5. Re:-1 troll/idiot/wrong by Anonymous Coward · · Score: 0
      "...The X clipboard is not broken, you just don't understand it..."
      Read any book on user interface design, and you'll find that it's absolutely vital that a GUI behaves in accordance with a user's mental model of the system. The clipboards and their various copy/paste methods are counter-intuitive as all hell, and telling the user that it's their fault is not a solution that will help the adoption of Linux.

      Titling your post "troll/idiot/wrong" suggests that you're part of the problem. Please do us a favor and get a job at Microsoft.
    6. Re:-1 troll/idiot/wrong by Anonymous Coward · · Score: 0

      and so Linux remains the hobbiests choice, MS have nothing to fear on the desktop all the time you read their comments like "the luser is wrong" thats for sure.

    7. Re:-1 troll/idiot/wrong by irix · · Score: 1

      You may enjoy memerizing key bindings for umpteen million different apps, but I don't and neither does the majority of the unix desktop's potential market.

      As I have posted elsewhere, ctrl-c/ctrl-v is the standard for GNOME. I believe the same is true of KDE.

      KDE and GNOME apps are what the "majority of the unix desktop's potential market" will be using. Your complaints about the state of copy-paste in unix are from 1995 and are disingenuous at best.

      --

      Do you even know anything about perl? -- AC Replying to Tom Christiansen post.
    8. Re:-1 troll/idiot/wrong by spitzak · · Score: 1

      Don't be an ass. Ctrl+x and ctrl+v don't work when I run emacs or cmd.exe or hundreds of other programs on Windows either.

      The problem is entirely on programs that use ctrl+x and ctrl+v but have them modify the SELECTION buffer. If there were programs on Windows where ctrl+x and ctrl+v clobbered your next drag & drop you would have an equivalent problem. Yes this is a problem with many X applications. However your solutions would be like trying to fix those programs on Windows by deleting the ability to drag & drop. Uninformed criticism like yours is painting everybody who tries to make constructive complaints look stupid.

    9. Re:-1 troll/idiot/wrong by Ender+Ryan · · Score: 1
      Read my fucking post, and you'll see you can use it just like on Windows, and the OP was just plain fucking wrong.

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
  109. Let's not! by MarcQuadra · · Score: 1

    Well 'booting' XFree86 would be a bit too drastic to get what we want from it. XFree86 is wicked fast and quite extensible, but it does have a lot of cruft in it, and it seems as if the authors are now bending over backwards to not break previous implemtations. I think a better solution would be to fork XFree86, integrate a boatload of the extensions that have evolved over the years, standardize and modernize the font management, build in alpha-blending stuff, add a 'toolkit layer' so Qt and GTK could be reimplemented as 'plugins', etc.

    The new release would break backward compatibility, but I'm of the mind that at some point it's needed to move forward. We wouldn't have to break compatibility again for a long time if it was done right.

    Overall though, there's so much good driver code and input stuff in XFree that building a new system from scratch would never happen. Fresco and friends have been making snail-progress for years on this, and it's not for lack of interest, it's for lack of need.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
  110. another grump by EngMedic · · Score: 1

    what i really hate is that what i'll refer to as a "clipboard buffer" -- a chunk of memory that holds whatever you copied -- seems to be application dependent. IE, closing an application clears the clipboard buffer. very annoying when i copy something in, say, a web browser, close the browser, and try and copy it to a GAIM window.

    --
    filter: +3. Hey, look! all the trolls went away!
  111. Suggest fixing of applications by DeadInSpace · · Score: 1

    Use applications that support copy/paste correctly, and file wishlist bugs against applications that don't.

    X (or actually: the standards lying on top of it, such as the ICCCM and Freedesktop.org's specs), supports two concurrent copy/paste clipboards; One for select-middle-click-paste, and one for classical copy/paste using explicit actions.

    This way, you can select text A, ctrl-C it, select text B, and ctrl-V-paste text A over text B, just like you're used to. Additionally, you can do a quick copy/paste by just selecting text and middle-click-pasting it (this is more of a shortcut, and can for example be ignored by non-computer-literate users).

    Unfortunately, although X supports this fine, the UI widgetsets, as usual, have been lacking proper support for this. Recently, this has much improved, and at least GTK 2 and QT 3 support this correctly. What we need to do now is fixing all widgetsets and/or applications that don't do this properly.

    See this paper from Freedesktop.org for a more detailed explanation.

  112. Klipper is your friend by ca1v1n · · Score: 1

    As a KDE user, I have the joy of using Klipper. I imagine other window managers might also have clipboard managers as well. Give it a shot. I find it quite useful.

  113. Thanks! by grahamsz · · Score: 1

    been using it as my main browser for over a year and never noticed that :)

  114. Select does NOT copy by Anonymous Coward · · Score: 0

    "...highlighting text in Linux automatically performs a copy..."

    There's your problem. Selection in X (not Linux) is selection, not copying. If you want to copy, then tell it to copy.

    X has a select buffer. It also has a clipboard. What you are used to is a three step process of selection, copying to a clipboard, and then pasting. You can do that in X. You can also paste the selection buffer directly, which some find confusing.

    Use a program such as xclipboard to get the behavior that you are looking for - select, copy, paste. Select & paste is not the only choice.

  115. Easy solution for Netscape & Mozilla by Emnar · · Score: 1

    If you copy a link (Unix-style, by highlighting) and then paste it into the body of the browser window, (i.e. where the web page is actually displayed) by middle-clicking, Mozilla will actually go to the site as if you'd typed the URL into the location bar. This has worked for as long as I can remember, and I've been using Netscape since 1.1.

    That way you don't have to remember to delete the URL in the location bar before highlighting the URL you want to paste.

    It's actually kind of annoying if you use middle-click to open a link in a new tab, and you miss, AND you happen to have a URL in your copy buffer. But otherwise, very handy.

  116. the "universal standard" by XO · · Score: 5, Informative

    Is supposed to be the original Windows copy/cut/paste buttons:

    Copy: Ctrl-Insert
    Paste: Shift-Insert
    (I can't remember what Cut is, I never use it.. probably ctrl-delete)

    Then, sometime in the Win95 or Win98 era, Microsoft changed it to the less-intuitive and less-standard Ctrl-C, Ctrl-V.

    And Microsoft was a member of the body of people/organizations that made Ctrl-Insert and Shift-Insert the standard.. then went and trashed it...

    This is the CUA92 user interface universal standard, by the way.. and i'm a bit busy right now to do a google search for it, but I'm sure anyone interested could find it..

    --
    "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
    1. Re:the "universal standard" by irix · · Score: 1

      Copy: Ctrl-Insert
      Paste: Shift-Insert

      These work with the primary selection under X by the way.

      Then, sometime in the Win95 or Win98 era, Microsoft changed it to the less-intuitive and less-standard Ctrl-C, Ctrl-V.

      I don't know why, but I'd venture a guess and say that it has to something to do with the Mac (apple-C, apple-V, etc.). Remember in the early nineties Microsoft Office was the office suite for the Mac, but was far behind WordPerfect and Lotus for DOS/Windows.

      --

      Do you even know anything about perl? -- AC Replying to Tom Christiansen post.
    2. Re:the "universal standard" by NeoSkandranon · · Score: 1

      Intuitive or not, CTRL-C and -V are alot easier to reach as key combinations, especially assuming you're mousing with your right hand

      --
      If you can't see the value in jet powered ants you should turn in your nerd card. - Dunbal (464142)
    3. Re:the "universal standard" by silicon+not+in+the+v · · Score: 2, Insightful
      Copy: Ctrl-Insert
      Paste: Shift-Insert

      These work with the primary selection under X by the way.

      Then, sometime in the Win95 or Win98 era, Microsoft changed it to the less-intuitive and less-standard Ctrl-C, Ctrl-V.

      I don't know why, but I'd venture a guess and say that it has to something to do with the Mac (apple-C, apple-V, etc.). Remember in the early nineties Microsoft Office was the office suite for the Mac, but was far behind WordPerfect and Lotus for DOS/Windows.
      I think I understand the reasons for these types of standards and changes. When they used the Insert types of commands, that was probably because it was a key combination that wouldn't send any info through a terminal shell or command prompt. Ctrl-C is usually a cancel command in a terminal window. When applications were switching to being almost all graphical, Ctrl and letters became acceptable. The main reason for the move to Ctrl-C I think is to have the cut, copy, paste commands convenient for the left hand while the right is on the mouse. C was probably chosen as the mnemonic for Copy, and then the keys on either side so that cut/copy/paste would be three consecutive keys.
      --
      We may experience some slight turbulence and then...explode. -Capt. Mal Reynolds
    4. Re:the "universal standard" by LenE · · Score: 4, Informative

      Unfortunately, Ctrl-Insert and Sift-Insert were never the standard method in Windows, because Microsoft never really standardized anything. These were WordPerfect methods.

      The first standardization, well before 1992, was the Macintosh Human Interface Guidelines published in Inside Macintosh around 1983-84. This is the origin of the Ctrl-C and Ctrl-V.

      Apple did lots of usability studies for the Mac, and the fruits of this labor were the one-button mouse and the Command-z,x,c & v, as well as other standardized "Command Key Shortcuts."

      This cluster of keys were selected because of their proximity to the Command key, and the ease of pressing them with the left thumb and index finger. Z, X, C, and V corresponded to Undo, Cut, Copy, and Paste, the most common operations that were required in a GUI-based work system. Others combinations were standardized for closing windows (Cmd-w), Saving (Cmd-s), Printing (Cmd-p), and Quitting programs (Cmd-q). All Mac programs had to include these functions and use these standardized shortcuts if applicable.

      Sun used these same Command Key Shortcuts in OpenLook, and eventually Microsoft embraced and corrupted these combinations by replacing the Command key with the Control Key, which required using the left pinky finger instead of the thumb to press. The Alt key which is positioned in the same place as the Command key was already claimed in Windows for their pseudo-standard of activating menus based on the underlined letter. The Command Key Shortcuts outside of this cluster were partially implemented for printing and saving, but quitting programs or closing windows is still the archaic and unintuitive Alt-F4 on Windows.

      -- Len

    5. Re:the "universal standard" by Anonymous Coward · · Score: 0

      (I can't remember what Cut is, I never use it.. probably ctrl-delete)

      Cut was ctrl-alt-F4-del. Just look in your COMMAND.COM

    6. Re:the "universal standard" by maxmg · · Score: 1

      assuming you're mousing with your right hand

      You see, the problem for me is that I'm not. I am left-handed and use the mose with my left hand. Therefore, Ctrl-C-V and friends require some serious acrobatics on my part. I use KDE and have assigned Ctrl-Ins, Shift-Ins and Shift-Del (which is Cut, by the way) as alternate key combinations. Of course, those work in even fewer apps. Drives me insane!!!

      BTW, the CTRL-Ins stuff was, I believe, introduced by Wordperfect.

      --
      I asked for a refund - and got my monkey back.
    7. Re:the "universal standard" by NeoSkandranon · · Score: 1

      Okay, fair enough for you. However I'm left handed as well, but I mouse with my right (as do the majority of lefties i know) In my case (and all right-handers I'm thinking) ctrl-ins is about the same reach-over-and-stretch as ctrl-v is for you

      --
      If you can't see the value in jet powered ants you should turn in your nerd card. - Dunbal (464142)
    8. Re:the "universal standard" by St.+Vitus · · Score: 1


      Copy: Ctrl-Insert

      Paste: Shift-Insert

      Then, sometime in the Win95 or Win98 era, Microsoft changed it to the less-intuitive and less-standard Ctrl-C, Ctrl-V.


      I'll agree with your assessment of the paste operation. But how is 'Ctrl-Insert' more intuitive than 'Ctrl-C' for copying? If I'm copying something, why would I want to hit a key called 'Insert'? Unless I'm "insert"ing the text into the clipboard, but then 'Shift-Insert' becomes less intuitive.

    9. Re:the "universal standard" by Anonymous Coward · · Score: 0

      > The first standardization, well before 1992, was the Macintosh
      > Human Interface Guidelines published in Inside Macintosh
      > around 1983-84. This is the origin of the Ctrl-C and Ctrl-V.
      > [...]
      > Others combinations were standardized for closing windows
      > (Cmd-w), Saving (Cmd-s), Printing (Cmd-p)

      IIRC, Command-W is one of Microsofts good inventions; Command-P was 'Plain' (as in 'remove all text styles from the selected text)

      Reinder

    10. Re:the "universal standard" by Anonymous Coward · · Score: 0

      I'll agree with your assessment of the paste operation. But how is 'Ctrl-Insert' more intuitive than 'Ctrl-C' for copying?

      shift-ins is paste
      shift-del is cut

      These are very intuitive.

      But what should copy be? It's not insert or delete, really. There is no intuitive keyboard shortcut.

      Well, usually the next thing you do with your right hand is paste. ctrl-del, shift-ins requires moving two fingers. ctrl-ins, shift-ins only requires moving the thumb.

    11. Re:the "universal standard" by brettper · · Score: 1

      Then, sometime in the Win95 or Win98 era, Microsoft changed it to the less-intuitive and less-standard Ctrl-C, Ctrl-V.

      So how is Ctrl-Insert and Shift-Insert more intuitive? I could see paste since it actually inserts stuff but copy?

      Conversely Ctrl-c is at least mnenomic but Ctrl-v just happens to be next to it and left-hand friendly (insert key is in completely the wrong place if you are right-handed and don't want to let go of the mouse to cut-n-paste).

      So on balance it's probably a 1-1 draw

    12. Re:the "universal standard" by Anonymous Coward · · Score: 0

      My arse the "standard" is "the original Windows" keys.

      There are a whole pile of user interfaces that predate the existance of Microsoft and all their regularly changing applications.

      "CUA92" is a string of 5 characters, if you'd stopped at that I'd have just ignored you, but take a moment to look for it on the web and you wanna know how many hits you get at google? 5. Yes, FIVE. Only one of which is even remotely related, it happens to be a German paper about Object Oriented Design, and it refers to what CUA92 really is, the IBM Common User Access guidelines, circa 1992. This is about as close as you can find outside of the IBM Archives.

    13. Re:the "universal standard" by srcosmo · · Score: 1
      The Command Key Shortcuts outside of this cluster were partially implemented for printing and saving, but quitting programs or closing windows is still the archaic and unintuitive Alt-F4 on Windows.
      I agree that Alt+F4 is stupid, but some Microsoft products (including Windows Explorer, dating back to Win98!) have implemented the Ctrl+W = "close window" feature. That still leaves a million third-party designers, but it's a start.

      Speaking of which, I wish more developers would support Ctrl+Tab for jumping through tabs (or windows, if you're running a MDI application).

      --
      free speach
      Did you mean: free speech
    14. Re:the "universal standard" by Handyman · · Score: 1

      Copy: Ctrl-Insert
      Paste: Shift-Insert
      (I can't remember what Cut is, I never use it.. probably ctrl-delete)


      It is shift-delete, actually. The combinations make sense: for both copy+paste and cut+paste you have to only switch one key between keystrokes, not two. For copy+paste you only need to go from ctrl to shift, and for cut+paste only from delete to insert. This, of course, is all in the assumption that you move the cursor to the destination location with the mouse. :)

    15. Re:the "universal standard" by Anonymous Coward · · Score: 0
      which required using the left pinky finger instead of the thumb to press.

      I'm a disgraced Yakuza member, you insensitive clod! How can I use such a system?

    16. Re:the "universal standard" by Sax+Maniac · · Score: 1

      Ctrl-Insert and Shift-Insert is a standard: CUA, which got developed by MS and IBM way back in the day.

      --
      I can explanate how to administrate your network. You must configurate and segmentate it, so it can computate.
  117. simple solution... by null-sRc · · Score: 1

    install windows :)

    OR pay a team in india to fix it for you.

    shouldn't fetch more than 10k?

    --
    -judging another only defines yourself
  118. Amen! by Anonymous Coward · · Score: 0

    And the sooner you Linux zealots realize this, the sooner Windows users will stop looking at me cross eyed asking why X handles copy/paste in the most retarded manner possible.

    KDE's klipper is a step in the right direction - but it needs to be a X extension, free of whatever DE you use.

    A unified toolkit with full copy/paste/whatever support (a la windows) that all WM's/DE's could use would be a massive improvement.

    For those who can't get over the past and get with the program, leave it as an option "X_retarded_copy_paste".

  119. Galeon 1.2 by clawsoon · · Score: 1

    The galeon 1.2 series (don't know if it's in the newer ones) has a nice hack to get around this: A location bar erase button. Highlight your URL, click the erase button, paste it.

    It doesn't deal with the underlying problem, but it's a very handy workaround.

  120. Roblimo? by Raven42rac · · Score: 1

    Are we sure Roblimo didn't write this article?

    --
    I hate sigs.
  121. Well stick to GNOME or KDE, they are mostly sorted by Anonymous Coward · · Score: 0

    However when you close an app which was Ctrl-C'd it STILL loses it in GNOME, major pain in the arse, when is the clipboard daemon coming along?

  122. Just prefer non-legacy apps by mjrauhal · · Score: 1

    Freedesktop.org compliant systems (such as Gnome, KDE and friends) consistently use the primary selection for pasting the selection, and the clipboard for explicit copypasting. Then you can use the one which is more handy for the task at hand.

    Of course, some legacy applications don't respect this system, but mostly they can be traded in for more modern applications.

  123. Haven't had this problem in a while... by dR_gOnz0 · · Score: 2, Interesting

    Other than simply getting used to the way unix handles it's clipboard, I've found that using programs compiled from similar libraries does away with this issue.

    I use Gnome 2.6 currently, and using Ctrl-C Ctrl-V for copy and paste works in all of the applications I use. Although I do revert back to the double click, and a middle click a lot.

    I can only assume that using KDE is similar as long as you stick with KDE or QT apps.

    The problem is probably more prominent when using different applications that rely on different library sets. If you're using Gnome as your desktop, and Konq as your browser, ya, you might have an issue. If you use Gnome, and epiphany; you probably won't see this problem.

    That's my two cents.

    1. Re:Haven't had this problem in a while... by Guy+Harris · · Score: 1
      If you're using Gnome as your desktop, and Konq as your browser, ya, you might have an issue.

      If you're using GNOME as your desktop and Konqueror as your browser, and ^C/^X/^V don't work in Konqi or between Konqi and other applications, whether they're GTK+-based or Qt-based (regardless of whether they're full-blown GNOME or KDE applications), either Qt or GTK+ has an issue, and you should report that issue in the hopes that it gets fixed. Those toolkits should be using the PRIMARY and CLIPBOARD selections in ways that should make ^C/^X/^V cut/copy/paste and mouse-based "paste current selection" Just Work. If they're not, or if an application is screwing up, that's a bug (or, at best, a misfeature).

    2. Re:Haven't had this problem in a while... by dR_gOnz0 · · Score: 1

      All I know for certain, is that I'm using Gnome 2.6, and I don't have any problems with any of my Gnome or GTK+ applications in regards to the clipboard buffers. Yet, when I used applications not based on a particular toolkit or set of libraries this wasn't the case.

      Mouse based paste works fine with all applications, without exception. However, I have noticed that some applications don't seem to use the 2 X clipboard buffers in the same way. So it seems that using applications based on the same libraries and toolkit work better together. It also seems to me that when you use a Gnome environment, all keyboard shortcuts are handled by a single source, not by the application, which is how keyboard shortcuts in X used to be handled; at least from what I recall. Is this a possible source of problems as well?

    3. Re:Haven't had this problem in a while... by Guy+Harris · · Score: 1
      All I know for certain, is that I'm using Gnome 2.6, and I don't have any problems with any of my Gnome or GTK+ applications in regards to the clipboard buffers. Yet, when I used applications not based on a particular toolkit or set of libraries this wasn't the case.

      Well, Konqueror is definitely based on a particular toolkit (Qt) and set of libraries (the KDE libraries), so it'd be in a different category from the applications you describe as having problems with GTK+ applications, and other KDE applications fall into the same category as Konqueror, so the next question is "did you see clipboard problems with KDE applications?" It might be that the "applications not based on a particular toolkit or set of libraries" are those based on lesser-known toolkits or those whose developers have written their own toolkits (or equivalents - if, for example, you have more than one scrollbar in your application, you might have routines to draw scrollbars and respond to input in scrollbars, even if you don't call them part of a toolkit), and those toolkits might not implement the X PRIMARY and CLIPBOARD selections the same way Qt 3.0 and later, for example, do.

      However, I have noticed that some applications don't seem to use the 2 X clipboard buffers in the same way.

      They might, as noted, be based on toolkits that don't (or don't yet) implement PRIMARY and CLIPBOARD as per the X clipboard explanation.

      So it seems that using applications based on the same libraries and toolkit work better together.

      Applications based on the same libraries and toolkit are more likely to implement PRIMARY and CLIPBOARD compatibly with each other than are applications based on arbitrary different libraries and toolkits; however, there may be specific pairs of toolkits that implement them in the same way, and a pair of applications, one using toolkit A from that pair and one using toolkit B from that pair, are probably nearly as likely, and perhaps as likely, to work together as well as applications using the same toolkit, so from "it seems that using applications based on the same libraries and toolkit work better together" one cannot necessarily conclude that applications not based on the same libraries and toolkits won't work well together - there might be cases where that's true, but it's probably unwise to generalize from those cases, especially if one of the toolkits isn't one of the major ones.

  124. Reverse Problem Here by Captain+Rotundo · · Score: 1

    I want to copy and paste in windows with a highlight a middle click.... I can berely use windows now because I can't it is VERY annoying.

    but I use all GNOME apps practically and have not have a ctrl-c ctrl-v problem in a while.

  125. How it should be done by pclminion · · Score: 1
    Highlighting to select is convenient, but can be annoying sometimes (like when you are highlighting simply in order to delete something). I suggest the following: to copy a selection, highlight the selection, and when you release the mouse button after selecting the appropriate material, give it a final click. This is like a "double click" but at the end of the operation instead of the beginning. This would specify that you want the selection to be copied.

    The copy buffer should operate like a fixed-length queue, or ring buffer. The newest copied selection goes at the front of the buffer, bumping the oldest entry off the end. I'd say 3 entries would be more than enough for most people.

    When you hit ctrl-v, the most recent selection should be pasted. If this is not the selection you want, hitting ctrl-v again should cycle through the available selections.

    By the way, this pasting behavior is exactly how Emacs operates. When you ctrl-w a selection, it goes into the kill buffer. Hitting ctrl-y recalls the selection. Hitting ctrl-u at that point will cycle through the kill buffer.

  126. I don't know if it has been done by logicnazi · · Score: 1

    It would be real easy to combine the ease of use advantages of highlight to copy with the ability to highlight to delete or even copy multiple items.

    Implement a copy buffer stack. Bind a simple key like escape to a function like swaping the top of the stack and the next element (you would want to have a minimum of two elements (possibly blank) in the stack at all times).

    So you want to copy something highlight it. Now you don't want to have it deleted when you copy the next thing tap escape highlight your new text and if you want to replace this with the text in the buffer tap escape again to paste.

    This sort of system preserves the ease of just highlighting to copy while giving it a great deal of additional power. Power users could of course bind additional functions like duplicate the top entry, delete an item etc.. etc.. If my description is a little confusing the model is from my hp48.

    For all I know this has already been written, if so maybe someone can post a link.

    --

    If you liked this thought maybe you would find my blog nice too:

  127. bash can use either emacs or vi ctrl keys by zapp · · Score: 2, Informative

    Actually that's an Emacs control sequence.

    Bash uses emacs control sequences by default, but can easily be set with either of 2 ways...

    1. set environment variable EDITOR=vi
    2. at prompt, type: set -o vi

    then bash will act just like vi

    --
    no comment
    1. Re:bash can use either emacs or vi ctrl keys by Prowl · · Score: 2, Informative

      i could be wrong but i belive those sequence are readline(3), which is used by emacs/bash etc

      --
      That man tried to kill mah Daddy
    2. Re:bash can use either emacs or vi ctrl keys by kwoff · · Score: 0

      That's correct. And tab completion, command history, that's all readline. The key bindings can be changed to be like emacs or vi (or whatever you want); you can put key bindings into ~/.inputrc so any application can use them.

    3. Re:bash can use either emacs or vi ctrl keys by Anonymous Coward · · Score: 0

      Actually, C-u is typically supported at the terminal driver level. Look at the output of stty -a on any Unix system; a console based program would have to do some terminal magic to disable C-u. Bash doesn't seem to do this with set -o vi.

      As for X programs, they simply mimic this behaviour because C-u is traditionally expected to kill the line.

  128. Thank God for Windows (troll?) by Anonymous Coward · · Score: 2, Insightful

    Call this a troll if you must, but there is much to be appreciated from the monolithic leviathon.

    OS behavior that is uniform throughout its (correctly written) applications is essential for end user ease of use and training. Period.

    And why do some folks here try to deflect blame from the Linux operating system. (Its X's fault, Linux is as innocent and pure as the driven snow). Fine, then Linux peddlers need to create a true "Linux GUI" that functions uniformly accros applications.

    These dumb mentalities of: "thats just the way it is" or "if you dont like it, you fix it" or "we can't change longtime stupid unix behaviors, the users must learn to workaround it" is exactly what keeps Linux from growing into a legitimate desktop OS.

  129. Think that's bad? by dtfinch · · Score: 0, Troll

    I grew up using tab and shift-tab to indent/unindent selected blocks of code. Under most graphical text editors of unix/linux origin, all that happens is your block of code is deleted and replaced by a tab character. Each editor has its own key combos for block indent/unindent (like ctrl-shift-i/u), with little in common between them.

    1. Re:Think that's bad? by NullProg · · Score: 1

      I tab/shift-tab all the time. Check out Anjuta.

      http://anjuta.sourceforge.net/

      Enjoy,

      --
      It's just the normal noises in here.
  130. Primary Selection vs. Clipboard Selection by Brian+Ristuccia · · Score: 1

    The middle mouse button always inserts the contents of the primary selection, while Edit->Paste always inserts the contents of the clipboard. The primary selection always contains whatever text currently highlighted. The clipboard contains whatever was hilighted when you last picked Edit->Cut or Edit->Copy. Hilighting text changes the primary selection, but does not change the clipboard.

    See http://www.jwz.org/doc/x-cut-and-paste.html for more information.

  131. -1 Zealot Troll by Anonymous Coward · · Score: 0

    lameass

  132. You know what bugs me? by Anonymous Coward · · Score: 0

    I use linux on my desktop at home, and MacOSX at work. At least once a day, while at work, I highlight a block of text, switch windows, middle-click, and.... nothing.

    The traditional X copy/paste is excellent, and it saves a lot of movement compared to other methods. I'm not going to say it's better than ctrl-c / ctrl-v or anything, but I will say this: it works well.

    So, in essence, I think your problem is really "how do I adjust my mind to working in different environments?" The answer: awareness and/or customization. And guess what? Of the three major OS's (Win/Mac/GNU)... only one cultivates awareness, and only one allows for *real* customization.

    Yes, I'm a fanboy. And no, I'm not ashamed of that fact.

  133. My "solution" by Kafteinn · · Score: 1

    I call it the Arbitrary Multiplexing Triband Intraocular X-Clipboard Buffer It's a bit of hack using keylaunch and xclip paste following into ~/.keylaunchrc key=**.Z:echo `xclip -out` > /tmp/.clip1 key=.**Z:xclip -in /tmp/.clip1 key=**.X:echo `xclip -out` > /tmp/.clip2 key=.**X:xclip -in /tmp/.clip2 key=**.C:echo `xclip -out` > /tmp/.clip3 key=.**C:xclip -in /tmp/.clip3 key=..*Z:`xclip -out` I expect everyones deep gratitude for this amazing piece of technology and keep in mind it is intended for non-commercial use only!

    --
    Hitler's in the fridge.
  134. KDE 3.x anyone? by er_col · · Score: 1

    Somehow I thought this whole problem was gone long time ago. For me it just disappeared the moment I installed KDE 3.0. Maybe Debian packages somehow magically did the trick for me, I don't know. But since then only Konsole copies on selection, and it copies to its own internal buffer rather than the global KDE one, so it all just works.

    1. Re:KDE 3.x anyone? by Guy+Harris · · Score: 1
      For me it just disappeared the moment I installed KDE 3.0. Maybe Debian packages somehow magically did the trick for me, I don't know.

      What did the trick for you was switching to a version of KDE that used Qt 3.0, that being the first version of Qt that implemented the arguably-better way of managing the X11 PRIMARY and CLIPBOARD selections.

      But since then only Konsole copies on selection, and it copies to its own internal buffer rather than the global KDE one,

      Or maybe it just sets the PRIMARY selection to the selected text - as X11 applications should.

  135. Re:"Correct?"-- A bit off topic, a bit flame-y by Anonymous Coward · · Score: 0

    If the only way to attract users is to have an OS that looks exactly like Windows and behaves exactly like Windows, then let them stay with Windows! I'd rather have it the way we have it today than have all unixes behave exactly like Windows..

    I would not want an OS that passes MY mothers tests for the same reason I do not want to drive a car that passes a "my mother" test.

    If now Windows happened to be (arguably) "first" and learned all users "the wrong way" to do copy-paste, that doesn't mean that X has to change it's behaviour, does it?

    The users of X have figured out how to do copy-paste the X-way and probably don't want to learn another behaviour..

  136. Re:Of course, no solution, but tale from trenches by julesh · · Score: 1

    i have a habit of highlighting as i read

    I'm glad I'm not the only one who does this. I also use drag-highlight modes to scroll text windows, you get much better control than a scroll wheel, or even than internet exploder's fancy scroll-wheel click and move the mouse around thing.

    I find mozilla has a nasty bug where if you do too many selections in quick succession it hangs for about half a second. No idea what causes it...

  137. KDE gives you options in this arena by GweeDo · · Score: 1

    In KDE 3.2.x (not sure about early versions) klipper gives you the option to control this feature a lot. You can have it completely sync the two clipboards at all times, you can turn off selection copying, you can keep them sperate...whatever floats your boat.

  138. It's The Applications That Are Broken by erikharrison · · Score: 1

    There are two (well, three) buffers for clipboard-like functionality.

    The first is maintained by the X server, this is the Ctrl+c/v that you expect in windows. The second is maintained by the application, which is the middle click behavior. These are orthogonal.

    The problem is applications screw it up. The first way they could screw this up is to confuse these buffers, so ctrl+c clobbers your application buffer, or vice versa. More complicating is that GNOME preserves the highlight buffer it makes it persistent across closing apps - not really broken, but is unexpected (to me at least).

    The other way to screw up is to not use a standard keyboard shortcut for copy and paste, forcing you to use the highlight-middle click tactic inappropriately. It's really only intended for quick fixes, usually within the application. I use it to copy to the URL bar from a webpage.

    One could argue that it's X's problem for making it hard on developers, but at this point we're stuck. Trillian on Windows kills me by implementing the highlight and click on Windows, and NOT Copy/Paste.

    1. Re:It's The Applications That Are Broken by spitzak · · Score: 1

      Not quite correct. Both buffers are identical and maintained by the X server. The only difference between them is their identifier. You can make up your own besides these two but nobody uses them.

  139. How about a better keyboard? by agilliland · · Score: 1

    Sun keyboards actually have a dedicated key for "copy", "cut", "paste", "undo" and a few others. This has always made the most sense to me.

    This also works in the dual clipboard mode. So hitting the "copy" key will place the contents in a different clipboard then highlighting.

    Works great.

  140. Re:Of course, no solution, but tale from trenches by Anonymous Coward · · Score: 0

    This is why highlighting as you read is stupid. Break the habit now, before it breaks you.

  141. Re:"Correct?"-- A bit off topic, a bit flame-y by IamTheRealMike · · Score: 2, Insightful
    Your mother would not know about the secondary/middle-click clipboard unless she was told about it. She equally would not be using emacs, which is one of the few remaining broken apps (and you can unbreak it with a setting).

    So, basically, the clipboard would work OK for your mother. It's power users who try and combine both mechanisms at once then get confused who it doesn't work for, but there's no way around that.

    The real problems with the X clipboard have more to do with handling large quantities of data, and standardised data formats than middle click vs ctrl-c/v.

  142. Why Can't I Map Them Myself? by SlipJig · · Score: 1

    Why the hell can't I map whatever keys or mouse buttons I want to cut and paste? Can I do this in X? I seem to remember being able to remap the keyboard but being limited on the mouse.

    On Windows, I have it set so that if I press both mouse buttons simultaneously, it copies, and clicking the mouse wheel pastes.. of course I'm using third-party mouse software.

    I suppose under the covers it's really just doing a Ctrl-C or Ctrl-V, and that this only works because Windows is more standardized in that area. It sure would be nice if there were a separate key code for 'cut' and another for 'paste', so we don't have to rely on wacky combinations of the existing ones. One of you folks reading this, please come up with a new character set for me ;)

    And while you're at it, it would be cool to define a code to toggle a 'copy' mode, that captures keystrokes into the copy buffer, so I don't have to select and copy separately, after I've typed my text.

    --
    Read my keyboard review.
  143. Take my "me too" by anewsome · · Score: 1

    This copy and paste behavoir in X windows annoys me to no end too. It is a major pain sometimes and this is one thing I wish Unix/Linux/X-Windows would copy from the windows environment. I just wanted to make sure the rest of the world knew it.

  144. Re:Of course, no solution, but tale from trenches by Anonymous Coward · · Score: 0

    Obviously you don't use linux if you have a girlfriend.

    No shit, he said it himself. He is on Windows using Trillion. Read the parent again dumbass.

  145. There are only 3 toolkits that matter now! by TheNarrator · · Score: 1

    Come on everybody, it's time to stop making excuses.

    There are only 3 toolkits that matter now.

    GTK (Gnome, Mozilla, Open Office)
    QT (KDE,etc)
    Java (Swing and SWT)

    If all these three toolkits agreed on common mime types and cut/paste UI I think the whole problem would be solved because they together make up 90% of the app usage on the Linux desktop.

    The next problem however is to make a network transparent embedded object cut and paste and this is going to require a distributed object protocol like CORBA. Unfortunately CORBA is a beast.

  146. You get used to it by proxima · · Score: 1

    As others have said, most applications support both types of clipboards. The ones that only support one, or confuse the two, are becoming few and far between (in my experience).

    That said, I've become so accustomed to the select->middle click routine that I find myself missing it in Windows or non-X11 apps in Mac OS X. The biggest problem is obviously wanting to replace the selected text with pasted text, but I find myself working around that.

    I use tons of tabs while browsing, so I've become accustomed to opening new tabs and hitting the middle mouse button in the location bar. No clicking to focus on it, it just works. Alternatively, you could middle-click on the window itself (at least in Mozilla), but I usually use the former way.

    I find myself wanting to replace rather than append mostly while word processing. Fortunately, Open Office's clipboard support works well for me, so I use the standard ctrl-c ctrl-v method there.

    Because the support for both clipboards is nearly universal in the applications I use, I find myself far preferring X11 to Windows because I have a choice.

    --
    "The universe seems neither benign nor hostile, merely indifferent." --Carl Sagan
  147. Yes, there *IS* a common clipboard standard! by smcv · · Score: 4, Informative

    Yes, there is a common clipboard mechanism. Once you understand that there are two separate clipboards (and that this is a feature), everything makes sense.

    Here's how it behaves in modern X environments like KDE 3, GNOME, XFCE, etc.:

    - There is a clipboard (called CLIPBOARD in the specs), which you interact with by explicit copy and paste commands, for which the key bindings are conventionally Ctrl+C, Ctrl+V, Ctrl+X to copy, paste and cut respectively. Use it whenever you would use the Windows or Mac OS clipboard, teach it to new users, and so on.

    - As an extra "easter egg", applications can manipulate the selection (the currently highlighted text) using the same API. The convention is to select text by dragging (or Shift+cursor keys, etc.) and to copy the selection from another program by pressing the middle mouse button. I will reassert: this is an "easter egg" for advanced users. The specs call this the "primary selection", PRIMARY (there is also a SECONDARY, but I am not aware of any program that uses it).

    As documented here:
    http://www.jwz.org/doc/x-cut-and-paste.html
    http://pdx.freedesktop.org/Standards/clipboards- sp ec/clipboards.txt

    OK, now the holes in that logical explanation:

    - KDE 2 used to use Ctrl+C, Ctrl+V to manipulate PRIMARY. This was wrong and had all the flaws the poster cites. Solution: Upgrade to KDE 3, problem solved.

    - Some other broken apps do the same. Solution: either fix them as you suggest, or stop using them. GNU Emacs 20 was apparently broken in the same way as KDE 2, while XEmacs and GNU Emacs 21 apparently work in the same way as KDE 3 (I can't confirm this, I use vim myself).

    - Some (usually older) apps (like xterm) don't have copy or paste commands at all, but do have the selection/middle-click behaviour. Solution: either use something else (e.g. Konsole if you're a KDE fan) or learn the middle-click behaviour too. Since the command line is generally considered to be "hard", it shouldn't be that much of an intellectual leap.

    - Ctrl+C already means something very common and specific (send a SIGINT) in console windows, so the standard Windows-style keybindings cannot be used in console windows. This is a historical clash between the Unix/DOS "Ctrl+C interrupts" and the Windows/OS2 "Ctrl+C copies" (on the Mac the convention is actually Command-C, so Ctrl is still available, and OS X's Terminal uses it as you'd expect) - Windows' MS-DOS-derived command prompt has the same conflict and a similar solution.

    1. Re:Yes, there *IS* a common clipboard standard! by MisanthropicProgram · · Score: 1
      Ctrl+C already means something very common and specific (send a SIGINT) in console windows
      The "DOS" or "Command Prompt" in Windows doesn't use the CTRL-C/V either. You have to use the "edit" system menu item to that sort of thing.
      Am I correct in stating that it would - have to be/has been - implemented in the command windows on Linux.

      Sorry, I don't have GNU/Linux up. And I don't have any desktops installed. So, please bare with me.

    2. Re:Yes, there *IS* a common clipboard standard! by Rysc · · Score: 1

      "Am I correct in stating that it would - have to be/has been - implemented in the command windows on Linux."

      Yes.

      The complaint the guy had was that /a specific command window/ (as you call them; the correct term is "Terminal Emulator") namely xterm does not behave in the way he wants it to. The cmd.exe/command.com-style Mark thing could be implimented, and as the poster you were replying to already said: If you want good CTRL+C/V integration, use konsole (KDE) or gnome-terminal (GNOME) which will behave in a manner that seems "right" from a windows paradigm. Xterm will continue to behave in a way that seems right in a *nix paradigm.

      --
      I want my Cowboyneal
    3. Re:Yes, there *IS* a common clipboard standard! by forty7 · · Score: 1

      So, please bare with me.

      No, thanks. I don't like reading Slashdot naked ;o)

    4. Re:Yes, there *IS* a common clipboard standard! by smcv · · Score: 1

      No, that was my point: in a normal app, Ctrl+C copies, but in a terminal emulator (including the Windows equivalents) it doesn't, because that key combo is already taken.

      In a Win9x MS-DOS prompt, WinNT Command Prompt, Unix xterm/Konsole, etc., the Ctrl+C key combo already means "interrupt this program", a convention which dates back to dumb terminals and pre-dates the clipboard, so you have to copy and paste some other way.

      (To test, on Windows: open a command prompt, ping slashdot.org, wait for a couple of packets to be sent, press Ctrl+C to stop pinging before the usual 4 attempts. Unix ping will keep pinging forever if you don't stop it, which you do with Ctrl+C.)

      Most other Ctrl+letter key combos are sent through to the program that's running in your terminal, and at least in Unix, often do something important (Ctrl+W is usually "delete previous word", Ctrl+V sometimes means "insert next character literally", etc., and of course editors like Emacs and Vim use most of the keyboard for *something*) so it's not safe for the terminal emulator to treat any of them specially.

      - In MS-DOS Prompt (WinNT Command Prompt too, I think, but I don't have WinNT) you use the system menu or toolbar in a non-standard way (i.e. the method you use is specific to the DOS prompt and doesn't work in any other Windows app).

      - In KDE's Konsole you use the Edit menu in a reasonably standard way, but you lose the keyboard shortcut, on the basis that being able to kill a program with Ctrl+C is more important; I don't use GNOME myself, but I assume gnome-terminal behaves similarly.

      - In a traditional xterm (or a clone like aterm or rxvt) there is no clipboard support, so you have to use the primary selection (pulled into other apps via middle-click).

      Macs don't have the same problem, because they already use Command (the Apple logo/"splat" key) where a Windows user would use Control, so Cmd+C to copy doesn't conflict with the traditional Ctrl+C to interrupt. I seem to remember the terminal emulator on my old Psion 3 had the same property (you conventionally used Psion+C to copy and so on, so Ctrl+whatever was still available, and would send the appropriate character down the serial line).

    5. Re:Yes, there *IS* a common clipboard standard! by Anonymous Coward · · Score: 0

      >Ctrl+C already means something very common and specific (send a SIGINT) in console windows, so the standard Windows-style keybindings cannot be used in console windows. This is a historical clash between the Unix/DOS "Ctrl+C interrupts" and the Windows/OS2 "Ctrl+C copies" (on the Mac the convention is actually Command-C, so Ctrl is still available, and OS X's Terminal uses it as you'd expect) - Windows' MS-DOS-derived command prompt has the same conflict and a similar solution.

      yes... but you'd think a terminal program would know when some text was selected!!!

    6. Re:Yes, there *IS* a common clipboard standard! by smcv · · Score: 1

      yes... but you'd think a terminal program would know when some text was selected!!!

      It does. It puts it in the primary selection, PRIMARY, just like when you select text in any other X app; middle-click pastes from PRIMARY.

      In properly written X apps (e.g. KDE3, but not KDE2, as mentioned above) the Ctrl+C clipboard is CLIPBOARD, not PRIMARY; Ctrl+V pastes from CLIPBOARD.

      If you drag over the text "foo" in, say, Mozilla, that puts "foo" in PRIMARY; if you then press Ctrl+C, "foo" is in both PRIMARY and CLIPBOARD. If you click elsewhere to de-select the text, CLIPBOARD will still contain "foo" and PRIMARY will be empty. If you then drag over the text "bar", you have "bar" in PRIMARY and "foo" in CLIPBOARD.

  148. Excellent article on the subject by toomim · · Score: 5, Informative
    You should read this article: http://www.jwz.org/doc/x-cut-and-paste.html.

    In a nutshell, there are TWO completely different clipboards implemented in X:

    1. The "select->middle click" clipboard
    2. And the "copy->paste" clipboard

    These two clipboards do not affect or interact with each other.

    Other OS's (like Windows) only have the second kind. Modern Unix applications (like anything based on GTK, QT, or Mozilla) support both clipboards simultaneously and independently.

    Old X Windows applications like XTerm only support the first kind. This is why you can't copy from or paste into an XTerm using C-c and C-v.

    So if you are using modern applications, you should always be able to use C-c and C-v. If you have to copy or paste something into an XTerm, you will have to select it and middle-click. The solution is to use a moderm terminal, like gnome-terminal, instead of XTerm.

    If you read the article, you'll learn that there are actually three different clipboards in X (one of which is never used), and that Emacs and XEmacs then implement yet another fourth clipboard!

    Also see the freedesktop.org reference.

    1. Re:Excellent article on the subject by 0x0d0a · · Score: 1

      Old-style-clipboards in X == drag-and-drop on Windows/Mac OS. It's just easier to use.

      New-style-clipboards n X == copy-and-paste on Windows/Mac OS

      Emacs's internal clipboard (the "kill ring") really is an artifact of the fact that Emacs can run in an environment that lacks its own copy/paste support (like a VT200, say). Emacs has a very nice clipboard with a huge history that is generally better than that of the normal operating environment.

      It's rather ironic that people are now complaining that X doesn't support clipboards persisting past the life of programs -- it actually *did* at one point with cut buffers, but it's kind of inefficient when you're working with a remote windowing environment to immediately dump every cut to the X server.

    2. Re:Excellent article on the subject by KidSock · · Score: 1

      These two clipboards do not affect or interact with each other.

      Actually Firefox (or Firebird, not sure which one) has a serious problem with this. It favors Ctrl-C/Ctrl-V but attempting to use the select/middle click (e.g. for pasting a URL into a terminal window) does not work most of the time. I have not been successful in isolating the pattern yet but I'm fairly certain hitting Ctrl-C will wipe out the selection buffer. Someone please tell me this problem goes away in newer versions of Firewhatever.

    3. Re:Excellent article on the subject by WaKall · · Score: 1

      These two clipboards do not affect or interact with each other.

      There is a nifty little X11 program called autocutsel that will synchronize them. Each will have whatever text was most-recently 'copied' to either clipboard. You can find it here.

  149. Re:X copy/paste - Swap??? by DGolden · · Score: 2, Insightful

    Here's an idea, publically disclosed so no evil little fuck can patent it:

    Whenever PRIMARY changes, make the secondary selection the previous primary, and add a "Swap" menu item + shortcut to make Cut/Copy/Paste/Swap.

    Use Case:

    Highlight some text "hello", lets say the highlight is bright blue background.

    Go to somewhere else, highlight some more text "goodbye". "goodbye" becomes bright blue background indicating it is now PRIMARY. "hello" has become faded blue, indicating it is now SECONDARY.

    Now "Swap". "hello"+"goodbye" exchange places! I think "hello" in its new position should have the PRIMARY selection, and "goodbye" in its new position the SECONDARY, as that's where the user will "be" after swapping, and a second "Swap" will restore the text to its original state.

    Most cut/paste operations I do are reorganisations of that nature. Other people might differ - but it's certainly one of those features that would keep legal people loyal to a word processor, say.

    I think it would be dead handy, and no-one I know is doing it.

    --
    Choice of masters is not freedom.
  150. Wow. Must Be A Really Slow Day by Eradicator2k3 · · Score: 1

    At the end of the day, I often find myself ready to go to bed and find that my computer (which I normally turn off at night) is still powered on. Is there a way for me to turn off the computer that takes absolutely no effort on MY part? Ideally, this method would merely require me to will the PC off. Can anyone show me how to implement this form of "cybertelepathy?"

    --
    Mr. T pitied this fool on 27 July 1992.
  151. Missing the real story by rabtech · · Score: 4, Insightful

    The real story is why doesn't Linux have a clipboard standard with well-defined interop standards ala OLE/COM?

    I can copy text from VS and paste it into Word, in which case it pastes as RTF with colors and formatting. If I paste it into notepad, I get plain text. This is because the clipboard understands high-level text (RTF) and casting that down into standard text. It also allows apps to provide multiple data formats; copying an image can put a JPG, Bitmap, and PNG on the clipboard and the consuming app can select the format it likes best.

    Even better would be to support Office-style multiboard functionality where there are 10-12 "slots" on the clipboard and you can cut and paste from each slot at will.

    (Ex: in VS, CTRL+SHIFT+V will cycle through each of the last X copied items for pasting, meaning you can go to one spot of code and copy, then another and copy, then open a different source file and copy a block, then paste all three together somewhere else very easily.)

    --
    Natural != (nontoxic || beneficial)
    1. Re:Missing the real story by smcavoy · · Score: 1

      you speak as if Linux = Windows.
      Linux is your GUI, Linux isn't really your OS, it's your kernel.
      Your kernel don't give a shit about copy/pasting
      This would be an X/KDE/GNOME/other issue.

    2. Re:Missing the real story by cthulhubob · · Score: 2, Informative

      X supports a similar method known as "content negotiation" whereby the programs decide between themselves on a compatible format for the data being moved.

      I just selected some HTML text, including a hyperlink, from Mozilla, middle-clicked in a GAIM window to send it to a friend and it showed up perfectly formatted, with an active hyperlink in it.

      If you want clipboard history / multiple clipboards, you have to use a third-party tool to do it, same as in Windows. It's called XClipboard.

      --

      In post-9/11 America, the CIA interrogates YOU!
  152. It has to be said, but... by reimero · · Score: 1

    ...in Soviet Russia, text copies YOU!

    --

    ----------

    Something clever
  153. HERE'S A SCARY THOUGHT.... by Anonymous Coward · · Score: 0

    Maybe you could apply.... ...wait for it... ...FORETHOUGHT!

    If you know you're going to copy something you could follow the following steps:
    1) highlight
    2) delete
    3) highlight
    4) middle click

    ...and OHMYGOD it's the same number of steps as:
    1) hightlight
    2) C
    3) highlight
    4) V

    1. Re:HERE'S A SCARY THOUGHT.... by vector0319 · · Score: 1

      Mod this parent up. Pure genius.

      --
      My well being does not depend on my slashdot score.
  154. Re:No it doesn't by Anonymous Coward · · Score: 0

    Most X apps use a single clipboard for both ctrl-c/ctrl-v copying and selecting to copy. Some such as KDE and Opera do use two seperate clipboards, but most do not use the windows style clipboard at all.

  155. Ctrl-L by Anonymous Coward · · Score: 1, Funny

    In Firefox, if you press Ctrl-L it will highlight the contents of the location bar in the current tab without copying it to the Middle-Click buffer. Then you can delete it with backspace, and Middle-Click in the now-empty location bar to paste the URL you previously highlighted with the mouse. (Works for me, anyway.)

    To summarize:
    1. Highlight URL with mouse.
    1.5 Bring focus to Firefox window (TM)*.
    2. Press Ctrl-L
    3. Press Backspace
    4. Middle-Click the mouse.
    5. Press Enter to visit the URL you just pasted.
    6. Generate advertising hits for website whose URL you just visited.
    7. They profit!

    *"window" is a registered trademark of Microsoft Corporation.

  156. Common keyboard shortcut standard by raarky · · Score: 1

    One of the main factors driving me to continue to use windows as a major productivity tool are the common keyboard shortcuts throughout each application and the os to perform tasks. Not just the basic cut n' paste, but also undo(ctrl-z), hightlight all(ctrl-a), the windows key shortcuts (win-m, win-d, win-e etc). The list goes on. If you want to do anything fast you need to use the keyboard. And in windows I assume that certain keystrokes will perform as implied. 95% of the time they will.

    What linux needs is to agree on a common set of keyboard shortcuts. sort of a best practices that everyone adheres to.

    yes you can "configure" everything to work the way you want, but how annoying is that? I don't want to spend my precious time setting up the computer. I just want to turn it on and have everything work.

    one day... :)

  157. X should deal with more interface selection by Self+Programmed · · Score: 2

    X should provide a selection mechanism for user interface customization, and then pass that on to every application. If there was a common cut and paste mechanism then this would be even better. Apps could still reserve a buffer for themselves. There is more than one answer to most interface decisions and this will continue, there is no use in insisting that the current behavior is "right" and everyone better learn it. What is needed is that the user be able to select an interface model at the top level and that it be honored by all apps running under that level. The reason I adopted Linux is to able to fix interface problems and not be stuck with the choices that someone else made.

  158. Solution: get KDE by Knights+who+say+'INT · · Score: 1

    This solution has a serious drawback, though. You'll get used to have two clipboards handy (the middle-mouse one and the ctrl-v one), and will be completely unable to use a Windows machine again!

  159. write-up of X copy and paste by pleclair · · Score: 1

    Here is a little discussion of how copy and paste works in X. Don't know if its all absolutely right myself, but jwz seems like a clever guy.

  160. It's what you use your middle finger for. by Anonymous Coward · · Score: 0

    clod!

  161. You didn't grew up for long... by lfourrier · · Score: 2, Informative
    I grew up on Windows machines, using the ol' ctrl-c to copy and ctrl-v to paste.

    Those are not old. Those are a copy of Cmd-C Cmd-V from the Mac.

    The original old shortcuts for Microsoft Windows are Ctrl+Ins and Shift+Ins. And when I'm on a Microsoft Windows station, my fingers are doing them without me thinking. But alas, less and less application support them, nowadays.

    If Microsoft managed to change, in the course of a few years, such a fundamental characteristic of the UI, why X could not ?

    1. Re:You didn't grew up for long... by dasmegabyte · · Score: 1

      The problem with ctrl/shift insert is that you were always hovering around the insert button...which IMO is a piece of shit. I never want typeover -- ever -- but slipping off ctrl or shift for a second would result in switching modes and me typing over whole paragraphs.

      Ctrl-C/V allowed me to pop the insert key off my keyboard for good, so i'm also not hitting it accidentally when I go for Del or PgUp.

      --
      Hey freaks: now you're ju
  162. No problem at all by RoLi · · Score: 1

    KDE can be configured to keep 2 seperate clipboards (and AFAIK it's configured by default that way) and when you use Ctrl+X/C/V, you will never need to know that there is another way to copy and paste.

  163. 26 clipboard registers by Anonymous Coward · · Score: 0

    If you are using vi, you can have 26 different registers to cut/copy to and paste from.

  164. I DON'T feel your pain!!! by Anonymous Coward · · Score: 0

    I happen to love the copy/paste in Linux. If this ends up being one more way in which the window managers abandon things that were unique to become a closer clone to Windows, I am going to scream! Why even use anything else, how about just using Windows and placing "Linux" in the title bars so we can all pretend we are using something different!

  165. What happened to Ctl+Ins? by RobertB-DC · · Score: 1

    Maybe too late in the discussion thread to get an answer, but am I the only person left who uses Control+Insert to copy text, and Shift+Insert to paste it?

    And then there's also Shift+Delete to CUT text.

    I'm sure Shift+(direction) to highlight text is well known, and Shift+Ctl+(direction) to jump words. Plus Shift+Home for beginning of line, Shift+Ctl+Home for top of doc, and ditto with the End key. And don't forget PgUp/PgDn.

    Each of these key combinations, which are as automatic to me as touch typing, occasionally don't work in the small collection of Linux apps I've used so far. At least I know now that I'm not alone!

    --
    Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
    1. Re:What happened to Ctl+Ins? by maubp · · Score: 1

      I'm a DOS child, and while I don't use Shift+Insert for Paste, and Ctrl+Insert for Copy I use something similar:

      Shift+Insert for Paste
      Shift+Del, Shift+Insert for Copy

      And yes, I really did use Cut then Paste instead of copy - I don't think I was ever aware of Control+Insert until far to late for my fingers!

      Mind you - they do seem to have learnt Ctrl+C as copy these days, given it doesn't have much effect for stopping programs under windows.

    2. Re:What happened to Ctl+Ins? by RobertB-DC · · Score: 1

      Shift+Del, Shift+Insert for Copy

      And yes, I really did use Cut then Paste instead of copy - I don't think I was ever aware of Control+Insert until far to late for my fingers!


      That's funny... I'll do Shift+Del and Shift+Ins, too, when I really want to make sure I'm copying the right thing! It's so easy, too, 'cause you don't actually release the Shift key. I don't know if there's even a standard way to say Shift+Del/then/Ins !

      So you think it's our DOS heritage showing through, huh. These kids nowadays, with their fancy "window" systems...

      --
      Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
  166. I knew a programmer... by MisanthropicProgram · · Score: 1

    who copied and pasted his code all over the place instead of writing a function ( this was C ). This pastes in two copies.. would have been perfect for him because that's the way he coded!
    I really can't blame him, though. We were, after all, being rated on our k-locs.

  167. Highlighting does not copy by Anonymous Coward · · Score: 0

    Highlighting having the side-effect of copying is just unintuitive and often the wrong behavior. It's speculating that you will want to copy the highlighted text, but often times you want to delete the highlighted text without clobering your copy buffer. or maybe you might just want to highlight the text to mark your spot.

    Except that highlighting text in X doesn't copy - at least not like in Windows. If you click in the window where you highlighted and un-highlight the text, you cannot paste it, anymore. Text copied with Ctrl-C can always be pasted, until you use Ctrl-C, again.

    If you can't tell the difference between Left-Middle and Ctrl-C-Ctrl-V, you've got bigger problems than X's usability.

  168. Re:"Correct?"-- A bit off topic, a bit flame-y by lukewarmfusion · · Score: 2, Insightful

    I agree with you. Nearly every time someone posts an honest criticism of Linux usability or compares an open source app to a commercial app, someone responds similarly. Comments like yours are generally modded down as overrated, troll, or flamebait.

    In this case, it's ludicrous to argue that the middle-click is better because "it's always been done that way." If users find it easier to CTRL-C/V, then it should be done that way instead.

    If Linux makes an improvement upon some usability issue, people will gravitate toward it. If it's harder to use, they will stay away (unless something else attracts them).

  169. Or, a line shorter by Anonymous Coward · · Score: 0

    10 Highlight text you want to copy
    20 Press CTRL C
    30 Highlight text you want to delete
    40 Press CTRL V
    50 PRINT 'Happy Camper'

    Proving that MiCrOsOfT is teh 1337.

  170. Tip for Konqueror users by Knights+who+say+'INT · · Score: 1

    For a while, I was really annoyed about the select+middle-click paradigm. I tried selected an URL, then would select the text in Konq's location bar, and when I'd middle-click, the clipboard contained the text previously in the location bar.

    Later I found out that if you selected an URL, you can simply middle-click in an empty part of a Konqueror window, and the URL will open. Works for searching Google too!

  171. IN MACINTOSH APPLE... by Anonymous Coward · · Score: 0

    ...the mousebutton is the middle button. YOU.

  172. Re:No it doesn't by Anonymous Coward · · Score: 0

    What decade are you in , the 80s? Most X apps use Zawinski's explanation of X Clipboards these days. KDE isn't an application, its a desktop suite - there are hundreds of KDE applications, and hundreds of GNOME applications, all of which follow the modern clipboard rules set out on freedesktop.org.

  173. Re:The writer needs a clue. It is orthogonal. by Anonymous Coward · · Score: 0
    Telling someone that they are clueless beacuse they use a differnt setup than you is not very helpful.

    Fun though.

  174. But wait... by gillbates · · Score: 5, Funny

    Wasn't this the very thing that open source was supposed to avoid?

    You don't like the copy and paste works? Fine - you've got the source code, so just change the key codes and recompile.... right?

    After a few frustrating hours of digging through source code, you finally find the keybindings. You change them, do a make.... and make crashes. So then you debug the make script and realize that you _ALSO_ need the source code to an obscure set of libraries. So you Google it, download the source, and it ALSO won't compile, because you've got the wrong compiler version.

    So you figure, what the heck, it's time to upgrade gcc anyway. You download the sources, compile it, only to find that you also need to download the sources for the shared libraries as well. Tomorrow, you'll resume.

    Well the weekend is coming up, and you've finally got the compiler and all its dependent sources together, and you start the compile. It actually compiles and installs just fine... And then you try to compile those obscure libraries and the compiler crashes. Turns out there's a kernel bug which means the new version of the compiler won't work with older kernels. You think, well heck, I'll just upgrade my kernel, and you ftp the sources.

    So you configure your kernel and then type 'make clean; make dep; make install' and kick off the process; it dies - once again, your compiler segfaults. So now you've got an older kernel with no way to compile the new one...

    So next weekend you decide that you're just going back to the old compiler. You rpm -i the compiler, and start the kernel compile process again... but the new kernel won't compile with the older compiler, and the newer compiler won't run on an older kernel....

    You take a walk. It's nice to see the sunshine, and feel the breeze for a change.

    It's tuesday and you've figured out that you can apply a few patches to your current compiler source, compile that, and then you'll be able to compile the most recent version of the compiler. So you do that. After you've built your intermediate version, you install it, build your kernel, and then recompile the newest compiler sources. After a reboot, you're able to successfully compile those obscure shared libraries, and rebuild your application.

    Then you fire up your modified ctrl-c, ctrl-v enhanced software....

    It segfaults. For no apparent reason.

    So you Google the newsgroups, and lo and behold, someone else is having the same problem! But they don't know what the problem is.

    Next week, your newsgroup buddy has found the problem. It turns out that a change in the way gcc handles memory allocation causes your obscure libraries to crash when compiled with the newer versions. They recommend using an older version of the compiler to build the software.

    So you go back to the intermediate version, recompile, and finally, everything works great. For a few days, you've been enjoying the benefits of ctrl-c ctrl-v copy and paste. Life is good.

    And then, you notice that KDE starts crashing at random for some unknown reason...

    --
    The society for a thought-free internet welcomes you.
    1. Re:But wait... by joeldg · · Score: 1

      hahahahahahahahahaha.....
      oh.. my side... my side...

      too damn funny..
      sounds like you had some personal experience with this. :) and I would bet it was in redhat around 7'ish...

      I have not had that particular issue since making the switch to gentoo it seemsto manage the libraries very well.

    2. Re:But wait... by Anonymous Coward · · Score: 0

      RedHat... Gentoo... Slackware...... whatever it is. They have a point - whether they tried to make it directly - 99.9% of people aren't going to even touch the source they have access to. And even if they did, they would just about all come across the same crap that the grandparent did.

    3. Re:But wait... by 0x0d0a · · Score: 1

      GNOME and KDE software (the stuff Windowsites are going to be using anyway) support Ctrl-C/Ctrl-V just fine.

      The "no clipboard contents after app is closed" complaint isn't valid in the presence of the GNOME clipboard manager.

      Really, I think I best heard the justification for the select/middle-click interface once -- the middle-click-pastes is *not* copy and paste. That's C-c and C-v. Middle-click-pastes is just a more evolved interface to drag-and-drop, which has extremely similar functionality.

    4. Re:But wait... by isorox · · Score: 0

      True, I'm trying to contribute to a free software project that I
      1) feel qualified to offer patches too
      2) am interested in

      Can't compile the bugger though!

    5. Re:But wait... by Anonymous Coward · · Score: 0

      Which software project? :)

      Also, have you tried their mailing list? I find that if you show that you have at least some kind of clue, people on a mailing list will be happy to help you however they can.

    6. Re:But wait... by Matthias+Wiesmann · · Score: 1
      Middle-click-pastes is just a more evolved interface to drag-and-drop, which has extremely similar functionality.
      Except for the fact that drag and drop is not persistent. The content of the drag session will only exist during the drag session. If the session stops (successfully or not) the content of the pasteboard is cleared.

      If you select, you can insert with the middle button as long as you have not selected something else.

      I am not saying that select - insert is not a valid paradigm, simply claiming that is a more advanced form of drag drop seem quite a stretch to me. Additionally, this only works for text, while drag drop works for more advanced data types).

  175. control insert by Njovich · · Score: 1

    As control+C doesn't always work and sometimes shuts programs down, I tend to use control+insert to copy and shift+insert to paste. It works nearly everywhere (including Windows, DOS, and the Solaris machines at my university).

    Hope that helps someone.

  176. Dealing? by bkhl · · Score: 1
    The X way of cut'n'paste isn't any better or worse than the Windows way - it's just different.

    Since it's Unix, if you aren't happy with the way things work, you just fix it, like the people at gcb.

    1. Re:Dealing? by radiophonic · · Score: 1

      I agree 100%

      Growing up using desktops like WindowMaker and FVWM I never really had the convenience of ctrl+c; I just used the highlight+middle-click mechanism and life was good. It just took a darned long time to learn it existed.

      This is simply a migration issue. To use a different operating system you should expect some culture shock.

      --
      Whenever you read this sig someone's refrigerator light turns on.
  177. jeeeez.. by joeldg · · Score: 1

    If I am forced to use windows I go nuts because this behavior is NOT happening.

    It isn't broke, there is nothing to fix, that is the way it is and we like it that way.

    If you really don't like it, write something to change that behavior and opensource it so others like you can use it and stop asking slashdot questions like these.

  178. There is simple way ... by Anonymous Coward · · Score: 0

    I use paintbrush icon in galeon.

    Highlight the text with mouse. Click paintbrush so URL vanishes. Paste with middle button.

    Simpler and more natural than what you do.

  179. Re:Training and repetition by Jim+Hall · · Score: 2, Insightful

    The fact that copy/paste is buggy or sluggish under X-Windows has a simple reason: There are tons of SDKs for X-Windows, almost all of them using a separate clipboard implementation/mechanism. Saying that you deal with a technical problem by getting used to it, is saying that technology will fail to address the problem. As you say, "Linux is different" (almost true, since it has almost nothing to do with Linux, but rather with X-Windows). I would rather say: X-Windows clipboard management sucks. If you want to use Linux on the desktop, you'll have to get used to it.

    While true, I found a rather interesting "workaround" when I explained to my mother how to use her new Linux desktop (disclaimer: she asked me to move her to Linux, and after several weeks of me asking her "why do you want to learn something new?" and setting an expectation for what she'd find on Linux, I finally moved her to Red Hat Linux. Also, I have run Linux 100% as my desktop since 1998.)

    The "workaround" was to explain that Linux has two different kinds of clipboards, and it would work differently for her under Linux than the clipboard worked under Windows. I explained it like this:

    One clipboard (which I referred to as the "local" clipboard) was used within a program to let you copy/paste stuff. For example, within Mozilla you can copy some text and paste it into a new Mozilla Mail message. Or within StarOffice, you can copy a selection and paste it elsewhere within your document.

    The other clipboard (which I called the "global" clipboard) was used to copy/paste between applications. You used this by selecting text with the mouse, and middle-clicking (or in her case, clicking both left and right mouse buttons together) to paste the text somewhere else. For example, you could highlight some text in Mozilla, and middle-click to paste it in your StarOffice document.

    I explained the "global" clipboard would only let you copy/paste text. And "local" clipboard was implemented by the program, but would let you copy/paste graphics, etc, just like in Windows. (If you want to insert a graphic from a web page into your StarOffice document, I showed her how to do "Save As" and then insert the graphics file into StarOffice.)

    As a newbie to Linux, she only used Mozilla for browser and mail, and StarOffice for spreadsheets, presentations, and documents. I didn't have to worry about chat software or anything "weird". This was a fairly simple migration.

    Yes, I know this is not technically the correct explanation. But when trying to explain how the copy/paste thing works to a non-Linux user, I found this simplification made it easy for her to understand. And it set the right expectation - she never asks about why copy/paste acts the way it does. My mother (not a technical user) had the expectation set for her that Linux was not Windows, so copy/paste wouldn't work just like Windows. The concept of "local" vs "global" clipboards was different, but then again she was on a different operating system. It didn't take her any time to get used to this - she understood right from the start when to use middle-click and when to use copy/paste.

    Interestingly, I was in the next room when I heard her explain this to one of her (also non-technical) friends. She said something like "...and that's why you can do copy/paste from the file manager, but you can't just middle-click the file there." I smiled, since it was technically not copy/paste in Nautilus, but I thought it was neat that the simplified concept of "local" vs "global" clipboards seemed to work so well for her.

    I suppose I'll go to hell for telling a white lie about how it really works. :-)

  180. emacs Solved This by Bob+Uhl · · Score: 1
    emacs solved this more than a decade ago. Instead of a single copy-paste buffer, there is a 'kill ring,' which is a ring of copy-paste buffers; anything copied or cut goes into the ring; the most recently copied or cut is the default. Say I wish to copy some text, then replace some other text with the copied text (the typical URL-paste). I simply copy it (which places it in the kill ring), then delete the other text (which places it in the kill ring, push the copied text to second place, then paste the second entry in the kill ring.

    In emacs, the keys for this would be Alt-W (to copy), Ctrl-W (to cut), Alt-2 Ctrl-Y (for yank second kill ring entry). Sounds complex, but it's second nature after awhile.

    emacs is clever, no doubt about it. And to this day no-one has written a better or more capable text editor.

    1. Re:emacs Solved This by hjf · · Score: 1

      yeah but you need more than 10 fingers to use emacs.

  181. Use Ctrl-C/V then by noda132 · · Score: 1

    You can use standard Ctrl-C and Ctrl-V if you want. They should behave exactly the same as on Windows. If they don't, it's a bug.

    At the same time, you can use highlight-middle-click.

  182. Not me by matth · · Score: 1

    Can't say I've ever had this issue. I use klipper. Multiple clipboard entries. Highlight doesn't copy until I right click and copy or hit the key. And I can do multiple clipboards. What's the issue.

  183. ctrl-v sucks by Anonymous Coward · · Score: 0

    i hate the copy and paste thing on windows, it's annoying; for example i highlight something, then press my middle button and nothing happens. I have to go back highlight, key-bombo, go back to the other app, and key-kombo i can't think of anything more annoying in windows that that.

    well maybe the fact that it crashes at least a couple of times a second.

  184. Fuck all this by Anonymous Coward · · Score: 1, Interesting

    We should get mouse manufacturers to add 4 small buttons to the mouse directly underneath the normal buttons so you can just curve your fingers a little and have Cut, Copy, Paste, and Delete. Wouldn't that make the most sense and fuck all this other shit?

  185. the ol' ctrl c thing. by __aaazjx524 · · Score: 1

    "I grew up on Windows machines, using the ol' ctrl-c to copy and ctrl-v to paste"

    Doesn't anyone else see a problem with that line? any ol' windows user wouldn't be hooked on ctrl-c, ctrl-v, etc.. Originally the MS apps didn't have any standard at all, word, notepad, and every other word processing app for windows did it's own thing. It was sorta understandable between different companies products but it took a while for even MS apps to standardize. It wasn't until later they copied the Mac and standardized on ctrl x, c, v

    The other question I have is how do I get the middle button to paste in Windows? :) Besides getting a programable mouse and setting the middle button to ctrl-v that is.

  186. Re:"Correct?"-- A bit off topic, a bit flame-y by irix · · Score: 1

    No offense, but this arrogance is exactly why Linux has insignificant desktop market share.

    Sorry to interrupt you on your high horse, but talk about jumping to conclusions. "This arrogance" is demonstrated by some poster on slashdot and somehow this is representative of the "Linux community". Give me a break.

    It took her long enough to figure out Ctrl-c Ctrl-v; she doesn't want to learn another behavior.

    For most modern X apps, ctrl-c/ctrl-v work just fine. See for example the Gnome HIG.

    --

    Do you even know anything about perl? -- AC Replying to Tom Christiansen post.
  187. ctrl+c? no thank you by Anonymous Coward · · Score: 0

    I use the old key combinations from the editor that came with MS DOS (edit.com). They still work in practically all windows programs and I'm pretty sure some Linux programs support them as well, although I don't know how many.

    ctrl+insert: copy
    shift+insert: insert
    shift+delete cut

    This makes perfect sense (at least the last two) because they actually insert and delete text respectively. In the good old DOS days ctrl+c usually terminated a program as well as several built-in DOS commands (like if you do a "dir/p" and decide you don't want to hit ENTER a million times) although some programs used ctrl+break instead and some used both.

  188. Re:"Correct?"-- A bit off topic, a bit flame-y by Anonymous Coward · · Score: 0

    >>my mother has postgraduate education, has started a successful business, is a successful archaeologist

    Grave robbing is now called a business? Who knew.

    "I can toss in the hair on the scalp for free Baron. She was wearing a copper headpiece when we found her. Now you just need to fly it say ... as far as Panama. We'll ship it there."

  189. You've got it all wrong by Rysc · · Score: 2, Informative

    This is a common mistake. In reality:

    Highlighting text puts it into the X selection buffer.
    Middle clicking pastes the X selection buffer.
    CTRL+C (or whatever copy is set to) puts text onto the X clipboard.
    CTRL+V (or whatever) pastes the X clipboard.

    Notice: THERE ARE TWO BUFFERS. The X selection buffer and the X clipboard buffer. If your app overwrites the clipboard on highlight then it s misbehaving (see fd.o for what is "right").

    Adjust your thinking just a smidge: When you select, it does not copy. It acts just like in Windows... only you can also access the last selection on a way Windows prevents.

    Repeat: If your apps do not behave this way, /they are broken/. Don't blame *nix, or X, blame the author of the app. Some apps are deliberately broken (because it makes More Sense[tm]) but not terribly many.

    --
    I want my Cowboyneal
  190. copy and paste by Suppafly · · Score: 1

    Copy and paste not working consistantly/as expected is one of the issues that will keep linux from being widely accepted.

    Until data can be copied and pasted between all applications in a consistant manner, linux will not be ready for the desktop. period.

  191. I almost really like it by Froze · · Score: 1

    The only thing that would make it really nice is if you middle click to paste and the highlighted text was the same as the clipboard text then it would pste the previous clipboard contents.

    --
    -- The morphemes of your disquisition are ascertainable, but they have eschewed an ambit of transpicuous exposition.
  192. helpful hint by miles+zarathustra · · Score: 1
    Try the X application `xcutsel`


    Very useful for copying between Java text areas and other X apps.


    Incidentally, I find it highly ironic that Java, which was born and raised in the X-based Solaris, does not have any way whatsoever to get at the primary selection -- unless you want to write impure java.

  193. Exactly... by Omega · · Score: 1
    In fact, I tend to have the reverse problem as the topic poster. I HATE using ^C/^V in Windows to copy and paste. When I highlight the text, I'm saying COPY THIS TEXT. When I click the middle mouse button, I want to paste it. In Unix I can copy and paste with one hand; in Windows it takes two.

    Fortunately I don't have to use Windows all that much.

    1. Re:Exactly... by jonfelder · · Score: 1

      Well...when I highlight text, I'm saying select this text for replacement or deletion. When I click the middle mouse button, I'm telling Firefox to open a link in a new tab or issuing some other command that a middle click does in an app that isn't paste.

      In windows I can select text, right click and hit copy if I want to do it one handed. Besides unless you're missing an arm or something, last I checked you should have two. Quit masterbating with the other and you can use the keyboard without taking your hand off the mouse.

    2. Re:Exactly... by edward.virtually@pob · · Score: 1

      You said it. I'm forced to use Windows, and I find the requirement to both highlight AND either press ctrl-c or right-select 'copy' (you might prefer this to ctrl-c) to be an endless pita. The pasting behavior is a pain too, but right-selecting for that is not so annoying. Thanks for speaking up.

  194. Just use OpenWindows on Sun hardware! by Anonymous Coward · · Score: 0
    Open-source software on free hardware!

    Seriously, under OpenWindows/OpenLook, the cut/copy/paste keys on the left side of a Sun keyboard work great.

    As does the find key - highlight the text you want to search for, move the mouse cursor into another window, and hit the find key, and your selection from the first window will be highlighted in the second.

  195. You could always change how it works... by Anonymous Coward · · Score: 0

    Thanks to its Open Source, Linux is customizable by anybody, not just your local bloodthirsty corporation! So delve into the source and tweak it to your heart's content!

  196. Double bonus, since... by Ayanami+Rei · · Score: 2, Informative

    sites like slashdot, sa and 2/4chan people will purposefully not create clickable links, but type the URL-as-text. Just select, CTRL+N, middle click, no problem.

    The only thing that gets you is slashdot's page-widening-defeating mechanism. But you still have a chance to correct the typos in the URL bar if it 404s on you.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:Double bonus, since... by Trejkaz · · Score: 2, Funny

      But do you really think it's that easy to prank someone when you can see http://www.goat.cx/ in plain view? Seriously...

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
  197. My solution: Ctrl-U by phigga · · Score: 1

    What I've trained myself to do is this: in Mozilla/Konq/etc., Ctrl-U erases the line. So, I highlight the URL i want, click on the current (unwanted) URL, hit Ctrl-U to remove it, and hit the middle button to paste the new URL. Works for me...

  198. Shouldn't be using the mouse buttons at all by Hoi+Polloi · · Score: 1

    The problem with using a mouse button to copy and paste is that the cursor frequenly moves on you from the force of clicking the mouse button. It drives me nuts everytime I carefully highlight a big block of text only to have my mouse shift just enought for me to lose my highlighting. The windows method of using the keyboard to mark a cut/paste ensures that the mouse doesn't move.

    Hate to admit it but the windows method is better.

    --
    It is by the juice of the coffee bean that thoughts acquire speed, the teeth acquire stains. The stains become a warning
  199. Funny thing is.... by System.out.println() · · Score: 1

    You can drag and drop stuff all over the place in Mac OS X. True, not EVERY application supports drag and drop. However, it's a high enough percentage that if this functionality isn't included, you can probably find another program that *does* have it.
    Text, graphics, URL's, even entire address book entries are handled (usually) intelligently. Drop a person from your address book to the Mail.app icon, it starts a new message to that person - drop it on an Address Book Group, the person is added to the group. It's only slightly less flawless for non-Apple applications, but there's almost always basic drag-and-drop functionality, because it's built in to Apple's developer templates and objects.

    I agree with one of the other posters who said the highlighting thing is "unintuitive" - it is. Copy and paste is better, but drag-and-drop is about as intuitive as it gets - though I am glad splat-C and splat-V are there.

  200. C-c C-v is annoying by japsu · · Score: 0

    I find the Windows way of kill/yanking really annoying. While using Windows, I keep missing the select/middle click method of kill/yanking.

    --
    from foo import signature
  201. Middle-click doesn't paste. It drops. by BZ · · Score: 2, Insightful

    I'm not sure why people think of highlight-and-middle-click as pasting. It's more like a drag-and-drop operation except that you don't have to keep the left mouse button down during the drag and you can rearrange windows before you drop. Apart from that, all the behavior is exactly identical to drag-and-drop.

    Control-C and Control-V are copy and paste (and use the CLIPBOARD). They work just like Windows (or like the Mac clipboard). If an app doesn't work right with these, it's just broken. File a bug on the app.

  202. Re:Pasting urls - use Ctrl-L in Mozilla by Peter+McC · · Score: 5, Informative

    In Mozilla and Firebird at least there is the very useful, but little-known shortcut Ctrl-L. This highlights the url bar but does *not* copy it to the clipboard. So when I'm in that situation I do Ctrl-L, delete, middle click.

    Of course, the middle-click on the page body works too, as long as you don't have to edit the URL. Ctrl-L is still super-handy if you want to type in an URL by hand or something.

    --
    You know what I hate? Wait, what do you like? I hate that!
  203. My solution by Raunch · · Score: 1

    I have to know what I am doing before I start. If I want to quickly highlight somehting and then move it into another app I use middle click, but if I plan to replace exising text then I copy/paste. I have yet to find an application that I use regularly that does not support a paste that does not involve the middle button.

    The issue here is keeping your 'clipboards' straight in your mind. Remember what is in you middle button clipboard, yout Ctl+c clipboard, and what is in your Ctrl+k killring.

    If I ever do select to paste, and then realize that I am planning on replacing text, I put the cursor at the beginning of the text to replace middle click and then Ctrl+k to eradicate the old text. Because the cursor moves to the end of the new text but is still before the old text I have my new text and no old text.

    Granted, this is a little more complicted than the ms Cc Cv paradigm. But the linux setup allows more flexibility and power. If more complicated and more powerful does not describe Linux perfectly then I must be using a different OS than you.

    My issues revolve around hitting ctrl-a ctrl-k in abiword or OO and trying to turn my entire document into a link.

    --
    George II -- Spreading Freedom and American values, one bomb at a time.
  204. It is fast! by mortenalver · · Score: 1

    The select - middle click system is so much faster to use (for me) that I feel crippled when running Windows. If you take it away, I'll hate you for it.

  205. Opera by Anonymous Coward · · Score: 1, Interesting

    you can do things that should (IMHO) be in the codebase, like re-ordering tabs, moving tabs in groups, moving tabs between windows, opening duplicate tabs (complete with the tab's page history), and (my favorite) undoing the closing of a tab

    Opera does all of these things natively.

    1. Re:Opera by Anonymous Coward · · Score: 0

      Galeon does a lot of these too.

  206. Re:"Correct?"-- A bit off topic, a bit flame-y by silicon+not+in+the+v · · Score: 1

    I think this is a really tough issue because there are two different paradigms as far as applications being used, and the two types of edit commands are separately suited to the two application types.

    For graphical applications, the Ctrl commands are more convenient. They copy when you want them to, you can highlight text to replace before you paste over it, you can keep something in the clipboard for a while without worrying about losing it if you accidentally "drag" your mouse a little while placing the cursor, etc.

    That doesn't work well at all in terminal windows. Ctrl-C is an actual command there, so it can't be used. Also, your cursor is always at a fixed location, so as soon as you select your text, it's a given where it is going to be pasted, so a middle click anywhere will put it where the cursor is--very convenient.

    Two very specifically tailored solutions that don't work well together, and I think that you would get a very high correlation between mouse-edit fans being command line jockeys, and Ctrl-edit fans mostly using graphical apps.

    --
    We may experience some slight turbulence and then...explode. -Capt. Mal Reynolds
  207. Software should bend to the user by Anonymous Coward · · Score: 0

    This is one of the problems with Linux in general, the attitude of "YOU must bend to the almighty OS!!". Sorry, but Windows has proven that a usuable (or at least popular) OS must be convienent for the user, not the OS writer.

    If 99% of the world (or whatever %) uses windows and expect windows keyboard shortcuts to work then why not use them in X? It might actually make it, *GASP!*, easier to use.

    1. Re:Software should bend to the user by mce · · Score: 1
      I know very well you are trolling, but...

      his is one of the problems with Linux in general, the attitude of "YOU must bend to the almighty OS!!". Sorry, but Windows has proven that a usuable (or at least popular) OS must be convienent for the user, not the OS writer.

      That must be the joke of the year! Windows, the OS where you cannot use focus-follows-mouse unless you install additional software that MS doesn't tell you about except if you already know where to get it. Windows, the OS where you cannot click in a window without the bloody thing popping up. Windows, the OS where you cannot move the Help function to another key than F1. Windows, the OS that does not allow you to redefine the window manager. Windows, the OS that does not allow you to use X style cut+paste. Windows, the OS ... I guess I better stop, because the list of similar sillyness that Windows simply emposes on me is endless.

      Guess what: X-based platforms allow all that. And quess what: I actually use all this.

      My idea of cut+paste usability does not involve using both a keyboard and a mouse. Not in a million years. But if you absolutely want it that way, X lets you. Windows, on the other hand...

    2. Re:Software should bend to the user by Anonymous Coward · · Score: 0

      "Windows, the OS where you cannot use focus-follows-mouse unless you install additional software that MS doesn't tell you about except if you already know where to get it."

      Or how to search using Google or MS's own search site.

      "Windows, the OS where you cannot click in a window without the bloody thing popping up."

      Minimize on open is there as is run minimized.

      "Windows, the OS where you cannot move the Help function to another key than F1."

      Ya it's the standard location that helps people. Also you can remap that key but you don't want to use third party software on windows but on X hell if you don't use third party apps you would have no apps.

      "Windows, the OS that does not allow you to redefine the window manager."

      That is wrong you can easily change the shell. Do you need more? Most don't and standards are easy.

      "Windows, the OS that does not allow you to use X style cut+paste."

      Which is confusing, non-intuitive and limiting. When I highlight something it doesn't get copied and it sure as heck should not get cut unless I want it too. Have you ever seen a senior citizen highlight text because they need contrast? I have and that is what highlighting/selection should do.

      "Windows, the OS ... I guess I better stop, because the list of similar sillyness that Windows simply emposes on me is endless."

      Most of your silliness is a from a lack of the hodgepoge of patches and just using the OS as it was intended. You crave hordes of flexibility but most people don't.

      "My idea of cut+paste usability does not involve using both a keyboard and a mouse. Not in a million years. But if you absolutely want it that way, X lets you. Windows, on the other hand..."

      Let me finish that sentence for you. Windows on the other hand is what all the X platform and apps are copying when it comes to CTRL+C and CTRL+V. Finally you conviently forget to mention that right click context menus exsit for both cut and paste allowing one to use only a mouse to preform those functions.

    3. Re:Software should bend to the user by Anonymous Coward · · Score: 0

      And how the f**k do you click in a minimized window?

    4. Re:Software should bend to the user by mce · · Score: 1
      1) To know that you should search for TweakUI, you .. have to know that it exists.

      2) A minimised window is useles for clicking into.

      3) Yes, I know where X is getting the CTRL-C and CTRL-V stuff from. My point is that X does not force you to use it but lets you choose. As in "Windows forces you to use what it thinks is best, X allows you to use what you think is best". THAT is my entire point, after all. If you want CTRL-C and CTRL-V on X, then by all means: have and use it. The X standard explicitly allows you to. I don't mind CTRL-C/CTRL-V support in X at all.

      4) Yes there is the right click menu. But my idea of cut+paste usability also does not involve popping up that menu every time either. Just select&click-to-paste should be sufficient. That's the absolute minimum that can be achieved anyway.

      By the way, you're "standards are easy" argument applies to any system, including X. So you basically give X the right to define a standard of its own. But I don't want to exploit that weakness in your argument, because my entire point is that X is NOT a platform that imposes things, in contrast to what the grandparent post claimed, whereas Windows IS such a platform.

      Finally, I'm not "most people". I'm "me". I don't care what your OS allows you to use, but I do care what my OS allows me to use. Again: my point is that ... (reread the preceeding paragraph)

  208. Try this by Chanc_Gorkon · · Score: 1

    You think that is confusing? Try this one....in a application I work on (in windows), you have to hit Shitf-Delete to Copy and Shift-Insert to paste. You can even do this with Ctrl-c stuff and in fact thats what you do when copying from a browser to this application window.

    --

    Gorkman

  209. One nice feature of Opera... by simetra · · Score: 1
    Actually 2...
    1. After copying, you can right-click in your address bar and there's an option "Paste And Go".
    2. You can highlight an url that's not an actual link, right-click, and choose "Go to URL"

    I'm pretty sure those options are available in both the win32 and Linux versions.

    Opera's URL is http://www.opera.com, FYI.

    --

    "Would it kill you to put down the toilet seat?" -- Maya Angelou
    1. Re:One nice feature of Opera... by t_allardyce · · Score: 1

      Its even better, shift and ctl-shift work on "go to url" too (to open it in a new tab or new background tab). Opera rocks!

      --
      This comment does not represent the views or opinions of the user.
  210. Easy, if you want UNIX learn to use UNIX by jmorris42 · · Score: 2, Interesting

    Really, the sun doesn't rise and set over Redmond Wash. UNIX/X has been using the middle button to paste for a decade or so. If you want to use UNIX you shouldn't expect it to be just like Windows. What is it with this low self esteem problem! People don't migrate to the Mac and expect IT to act like Windows but everybody migrates to Linux/X and sits around bitching because it isn't Windows. KDE and GNOME are terrified of doing anything that doesn't look like Windows because it might hurt adoption. Bull!

    Linux/UNIX/X/GNU/blah is a different culture, just like Mac. Just because YOU dual boot the same machine to play games doesn't change that reality. And if you really decide you don't like UNIX culture just keep running Windows... or go buy a Mac if you would like something that won't contribute to the Outlook worm problem.

    --
    Democrat delenda est
    1. Re:Easy, if you want UNIX learn to use UNIX by dasmegabyte · · Score: 1

      You're right. The sun rises and sets over Cupertino, which is where Meta-Z,X,C,V were invented.

      Anyhow, the reason people are complaining is that the UNIX way of copying is fucking stupid. Selecting something shouldn't AUTOMATICALLY clear your clipboard and replace it with what you selected. Nor should there be two separate clipboards on a system. These are design flaws...side effects that are overly complicated and completely unnecessary, as evidenced by the millions of Windows and Mac users who don't have them and the relative obscurity of third party applications which replicate the functionality in Windows. I mean, think of all the functionality that you're missing out on by having these two methodologies.

      Incidentally, I have used Windows machines for 16 years and have never contributed to the Outlook worm problem, the macro virus problem, or anything else. A little knowledge and a healthy amount of distrust are all you need to secure ANY system...

      --
      Hey freaks: now you're ju
    2. Re:Easy, if you want UNIX learn to use UNIX by jmorris42 · · Score: 1

      > Anyhow, the reason people are complaining is that the UNIX way of
      > copying is fucking stupid. Selecting something shouldn't AUTOMATICALLY
      > clear your clipboard and replace it with what you selected.

      No, it is DIFFERENT, not stupid. One advantage is that since you are using the mouse to select anyway, why involve the keyboard? I like CLI as much as the next UNIXhead but if you are using a mouse, why not be able to do the whole job with it?

      > Nor should there be two separate clipboards on a system.

      No there shouldn't. Blame GTK and Qt for most of that. Find me an xlib app that misbehaves with selection and then bitch. GNOME and KDE are alien environments grafted onto X trying to please the Windows users while not provoking an open rebellion among the UNIX folk. So they support multiple selection methods. Stupid if you ask me, but nobody did. Not as stupid as chasing Microsoft's taillights with mono but in the top 10.

      > as evidenced by the millions of Windows and Mac users who don't have
      > them and the relative obscurity of third party applications which
      > replicate the functionality in Windows.

      Not saying our way is superior in all ways, but that it IS our way and if you want to live in our world you should learn our customs. Kinda like moving to France and then bitching about em blathering on in French all the time instead of learning to speak proper English.

      And I'm not supprised that few use the middle click paste trick on Windows since it would be a pain in the butt to get that working and keep it working across service packs. And anyway, when in Rome..... Although if forced to use Windows for any length of time I would HAVE to find a patch to kill click to focus and give me the focus follows mouse behaviour that God intended us to have.

      > Incidentally, I have used Windows machines for 16 years

      You have my condolences. Sorry to hear you spend all your time downloading and installing fixes instead of having a life, but glad to know there is at least one responsible Windows user out there. :)

      --
      Democrat delenda est
    3. Re:Easy, if you want UNIX learn to use UNIX by dasmegabyte · · Score: 1

      Although if forced to use Windows for any length of time I would HAVE to find a patch to kill click to focus and give me the focus follows mouse behaviour that God intended us to have.

      See, I always hated that...because often I want to drag from a deactive window to an active window. Or I let the mouse slip a little and find myself typing in a different window (happened ALL the time with the old laser-and-grid optical mice on the UltraSparcs at school). If mousing were an exact science, I suppose it'd be a good thing, but it isn't. Mousing is pretty random and you're more likely to fatfinger a cursor placement than you are to accidentally click on something.

      Of course, now that I'm using a Mac almost full time, I've become addicted to quite another form of window control...specifically, Expose. Expose is a neat side effect of Quartz Extreme...basically, it a) instantly slides all windows off the screen, showing the desktop (which RETURNS when you press it again) or b) scales and tiles all the windows currently open and unhidden for an application or c) the whole desktop next to each other, allowing you to select the one you want at the foreground by clicking (or releasing, if you held down the button). It's a little bit of the best of both worlds with all new funk flavor...you have to use it to understand its power, but after you map it to your middle moust button, you'll wonder where it's been all your life. And you won't miss the retarded cut and paste at all.

      Expost beats the hell out of virtual desktops (in which I'm always losing things, even WITH a map). Give me one desktop I can work with, thanks!

      Also, being able to handle just about any file in any context that feels right is nice, too. If you have a way of doing things that's intuitive for you, the Mac OS probably supports it...including dragging to the dock icon, dragging to an open window, right clicking and selecting the app from a menu, File->Open, etc. Hold down the alt key and you're copying data, hold down the option key and you're linking to it, drag it regular and you're moving it. Furthermore, the clipboard will guess what you want to do with something if you paste data that isn't natively supported. Copy and paste a JPEG from Safari to the desktop, it saves it as a JPEG. Paste it to Photoshop, it opens it as an uncompressed image. Paste it to an icon representation, it reencodes it as an icon bitmap. As far as I know, there's no Linux OS that has this kind of flexibility...treating the clipboard as a way to use data the way you probably WANT to use it, instead of treating it as a "one media type, one purpose" repository. Oh yeah...you can still save the contents of the clipboard as a "clipping" file, too...just select something, hold down alt (to copy it) and drag it to the desktop or any finder window. Desktop not visible? HIT THE EXPOSE DESKTOP BUTTON, which I map to F12...

      --
      Hey freaks: now you're ju
  211. No flames here by Theatetus · · Score: 1

    Credit where it's due; Microsoft's clipboard, like a lot (but not quite all) of their user interface, is very good. My only real complaint is the difficulty sometimes of pasting a richtext or html selection as plain text in a richtext- or html-aware application. Though I've found with the better apps (Office, Visual Studio.NET, etc.) this is handled rather elegantly.

    --
    All's true that is mistrusted
  212. Use a REAL editor ! by garaged · · Score: 1

    I know its hard to understand comming from windows, but I came from windows, and the first time that I saw the automagically copy-paste on unix, i thougth to myself: "Damn !! This is good "

    --
    I'm positive, don't belive me look at my karma
  213. Deal with the matter by GAMMAH_DJ · · Score: 1

    I can't believe this is a story on /. Ok yeah the two systems copy and paste differently. If you want both systems to behave the same, then won't they just BE the same? Then you should upgrade from whatever unix you're using to Windows. It is not hard at all to remember that in my Windows apps, it's CTRL-[CV], and in that terminal window I'm running it's highlight/click. Here's my submission for Ask/. - "Dealing with Unix File Management" I Hate that I have to remember it's "rm" on unix and "del" on Windows. Any words of wisdom?

  214. Linux apologist? by Anonymous Coward · · Score: 0

    "The X clipboard is not broken, you just don't understand it"

    And this is one of the reasons why Linux won't be the desktop OS of choice for the masses any time soon, becoming defensive about it (you can't criticize Linux/X!) instead of trying to think of a solution.

    1. Re:Linux apologist? by Ender+Ryan · · Score: 1
      You didn't read my whole post. You can use the X clipboard just like Windows, Control+C/X/V.

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
  215. Rotate cutbuffer by AngryRodent · · Score: 2, Interesting

    Back in college (about '93 or so) I got frustrated enough by this to write a little X app to build multiple cut-buffers and rotate through them. Something like 10-20 lines of C. Bound it to a twm menu, and ta-da. Highlight, click, highlight, delete, click, paste. I'm sure someone has written something far more usefull in the same genre by now..

  216. Re:"Correct?"-- A bit off topic, a bit flame-y by macrealist · · Score: 1

    I'd rather have it the way we have it today than have all unixes behave exactly like Windows.
    ... I would not want an OS that passes MY mothers tests for the same reason I do not want to drive a car that passes a "my mother" test.

    Apps that have a consistant interface is a Mac OS thing, used (less successfully) in windows, Amiga OS, TOS, and nearly every GUI oriented UI but X/unix. The "mother" test is excellent test as long as it is not the only test. The book The Inmates are Running the Asylum by Alan Cooper describes the problems with UI's and offers an comprehensive method to fix them, of which having a set of diverse users "critique" the UI is a large part. Well worth the read, even though it is not easy to agree with everything the "father of Visual Basic" has to offer. Even more gui specific design (and a different view) on the problem can be found by asking Tog

    The users of X have figured out how to do copy-paste the X-way and probably don't want to learn another behaviour.
    Yes, that is the problem! With X, almost every app has a different behavour. You can't tell me you really use X/unix and this has never bothered you?

    --
    I am living proof of the Peter Principle
  217. Re:"Correct?"-- A bit off topic, a bit flame-y by serviscope_minor · · Score: 1

    And this is the attitude that annoys existing Linux users:

    If users find it easier to CTRL-C/V, then it should be done that way instead.

    Which users? Windows users? What abut the existing UNIX users? Remeber, a `user' isn't just your aunt Tilly, they are also the people creating the system, and they'll create it the way they like it (anything else would be silly). Besides, it should all be configurable anyway.

    --
    SJW n. One who posts facts.
  218. Get a grip by Anonymous Coward · · Score: 0

    It is just an OS not a religion, though you seem to think it is.

  219. It's not a feature, it's a bug by GrouchoMarx · · Score: 5, Insightful

    As the parent and others have posted, X11 has TWO (well, three but no one uses the third) clipboards. One is highlight/middle-click, and one is Copy/Paste. The proper, documented (see parent and others) behavior is for both to be implemented and for both to operate completely and entirely independently of each other.

    In a properly implemented program, you should be able to use it as if there is no Primary Selection feature (highlight/middle-click) and not notice the difference from your usual Windows/Mac Ctrl+C/Ctrl+V habits. If you come across a program that does not do that, and mixes them together, that is not a feature that is a bug. Report it as a bug. If the developer dismisses it, report it as a bug again, email the developer telling him that you're going elsewhere, and switch to any of the plethora of other programs around (Free Software is great like that) that do things properly. Eventually someone will get the message.

    That's one reason why I stick to KDE applications whenever possible. All KDE applications (ie, ones provided by the KDE.org team) are well-behaved and non-buggy in this respect. Programs that misbehave should simply not be used. Period.

    --

    --GrouchoMarx
    Card-carrying member of the EFF, FSF, and ACLU. Are you?

    1. Re:It's not a feature, it's a bug by Minna+Kirai · · Score: 1

      Programs that misbehave should simply not be used. Period.

      So then we know what happens with vi vs emacs: they both lose!

      Of course, the "select-copy/middle-paste" question is technically trivial to resolve, yet has taken a long time to get (nearly) fixed. Meanwhile there's the much larger problem of "clipboard data besides raw ascii text", which Linux software has barely even addressed.

      (That's someplace where KDE lags Gnome and OpenOffice.org... but in truth, all 3 Free Software office suites are quite bad)

    2. Re:It's not a feature, it's a bug by 42forty-two42 · · Score: 1

      Is there a way to get xterm to use the Clipboard selector, instead of the Primary selector?

    3. Re:It's not a feature, it's a bug by Guy+Harris · · Score: 1
      Is there a way to get xterm to use the Clipboard selector, instead of the Primary selector?

      Use it for what? If you want to have selections become the clipboard selection rather than the primary selection and have the middle mouse button paste the clipboard (and thus make xterm behave differently from most other applications on your desktop, and run the risk of confusion with applications that use PRIMARY and CLIPBOARD in the fashion recommended by the X clipboard explanation:

      • selecting but with no explicit copy should only set PRIMARY, never CLIPBOARD
      • middle mouse button should paste PRIMARY, never CLIPBOARD
      • explicit cut/copy commands (i.e. menu items, toolbar buttons) should always set CLIPBOARD to the currently-selected data (i.e. conceptually copy PRIMARY to CLIPBOARD)
      • explicit paste commands should paste CLIPBOARD, not PRIMARY)

      you can probably set mouse bindings in your .Xdefaults file.

    4. Re:It's not a feature, it's a bug by N1KO · · Score: 1

      I'm not sure about vi but vim supports clipboards (with "* and "+).

    5. Re:It's not a feature, it's a bug by 42forty-two42 · · Score: 1

      No, I merely want a hotkey or whatever to copy/paste to/from the clipboard buffer, while leaving select/middle-click alone. Ctrl-C dosen't work as expected, obviously :)

    6. Re:It's not a feature, it's a bug by Guy+Harris · · Score: 1
      No, I merely want a hotkey or whatever to copy/paste to/from the clipboard buffer, while leaving select/middle-click alone.

      That can probably also be configured by setting the resources for xterm to have the appropriate key binding for the key you want.

    7. Re:It's not a feature, it's a bug by jschrod · · Score: 1

      XEMacs implements the requested behaviour. Of course, since jwz wrote it.

      --

      Joachim

      People don't write Manifestos any more -- what's going on in this world? [Frank Zappa]

  220. I don't have a problem with it. by Ayanami+Rei · · Score: 1

    I don't really know what the issue is. There really are few programs out there that on Linux _don't_ use GTK or QT and use their cut/paste semantics, which I am quite familiar with. It works just like Windows...

    The problem I have is switching from *nix to Windows and losing the concept of the "primary" selection. You don't have to use middle-click = insert primary if you don't want to... it's not necessary anymore.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:I don't have a problem with it. by Guy+Harris · · Score: 1
      I don't really know what the issue is. There really are few programs out there that on Linux _don't_ use GTK or QT and use their cut/paste semantics, which I am quite familiar with. It works just like Windows...

      I suspect the issue is, at least in part, one or more of

      1. some people don't understand that selecting text doesn't automatically copy it to the clipboard, in most cases, and the middle mouse button doesn't paste the clipboard, in most cases, and therefore get confused by mixing the primary-selection-based select/middle-mouse-button mechanism and the clipboard-based ^C/^X/^V mechanism;
      2. some people don't know that the clipboard-based ^C/^X/^V mechanism even exists in many X11 toolkits and applications (where "many" includes the toolkits for GNOME and KDE, so "many" here is a lot);
      3. some applications/toolkits don't implement the behaviors described in the X clipboard explanation, leading people to believe the problem is "the clipboard is completely broken in X" because they generalize from problems with some applications and to then act as if ^C/^X/^V is completely unavailable.
  221. Just put a Mac OS in front of X by macrealist · · Score: 1

    and it works a lot better.

    --
    I am living proof of the Peter Principle
  222. How to Cut & Replace,Replace,Replace... by eamonman · · Score: 1

    OK, here's a situation I can't figure out.

    1: I have some text that I've placed in the buffer (yank, deleted, whatever)
    2: I would like to replace sections of my code with what's in the buffer. Is there a way to replace sections of code WITHOUT changing the value of the buffer? The slow way is to: find a section to replace, select it, put the buffer out, re-yank the buffer contents (as the buffer contains the code I replaced), repeat.

    In windows it's just cntl-c, select,cntl-v,select,cntl-v,... repeat.

    --
    0- Eamonman Proud member of DNRC
    1. Re: How to Cut & Replace,Replace,Replace... by Guy+Harris · · Score: 1
      In windows it's just cntl-c, select,cntl-v,select,cntl-v,... repeat.

      In many X11 applications it's just cntl-c, select, cntl-v, select, cntl-v, ... repeat. In others, it's not, but that's arguably a misfeature or a bug, at least for GUI applications (if you're running a terminal-based application, it's not so easy - but the same problem exists on Windows with applications running inside a Command Prompt window).

  223. Stop blaming Linux! by Dominic_Mazzoni · · Score: 2, Informative

    I can't believe this is still an issue! I can't think of a single Linux app that I still use regularly that doesn't support Windows-and-Mac-style copy and paste. I just copied some text from OpenOffice to Mozilla to Konsole, no problem. The GNOME and KDE folks agreed on a common clipboard standard years ago, and probably 90% of popular Linux desktop apps conform.

    Complaining because some free Linux apps still don't support the clipboard is like complaining that the Windows clipboard is broken because some freeware text editor doesn't copy and paste between programs.

    1. Re:Stop blaming Linux! by Anonymous Coward · · Score: 0

      In Windows, copy and paste are functions of the windowing system itself. There could be no text editor that did not support them...it's automatic.

  224. Copy Paste + laptop = no by Oriumpor · · Score: 2, Interesting

    Unless you have an alternative mouse on mouse laptops there is no middle click, hence no decent way to copy + paste in linux applications. I'm not about to setup something involving ctrl/alt etc to emulate a middle click when something like CTRL+V is so much more convenient, and reliable.

    1. Re:Copy Paste + laptop = no by Guy+Harris · · Score: 1
      Unless you have an alternative mouse on mouse laptops there is no middle click, hence no decent way to copy + paste in linux applications.

      ^C and ^V have worked for me in that case, for at least some applications.

      (That's on FreeBSD, not Linux, but that's not what makes the difference, as they're X11 applications in both cases.)

      Konsole doesn't support ^C/^X/^V, at least not by default, for the same reason why the Windows Command prompt window doesn't - but they both have menu items to let you do copies and pastes.

    2. Re:Copy Paste + laptop = no by Mattwolf7 · · Score: 1

      You can just click both mouse buttons

    3. Re:Copy Paste + laptop = no by value_added · · Score: 1

      Alternative mouse on a laptop? Maybe someone can explain to me what a "middle click" is on a 3-button button mouse that has as its "middle" button a scroll wheel.

      I don't know whether 3-button mice (sans scroll wheel) are even sold today in any great numbers.

    4. Re:Copy Paste + laptop = no by Oriumpor · · Score: 1

      Unless it's a really crummy scroll mouse depressing the scroll wheel clicks the middle button.

    5. Re:Copy Paste + laptop = no by value_added · · Score: 1

      Didn't think to check that out, but by golly it seems you're right.

      However, on the mouse I'm currently using clicking the scroll-wheel (or, more accurately, pressing down real hard on it until a 'click' is heard and a fat-assed icon appears on screen) also initiates the scroll lock feature, so a double click is required - one to paste, one to turn off the locking.

      My own opinion is that using a mouse is overrated and often encourages bad habits. Ask any vi user. ;-) Would be nice after all these years to settle into a fairly standard habit for selecting/pasting text when I reach for the mouse, though. Maybe I'll settle for pressing the scroll wheel.

  225. And Cut was Shift+Del by grouse · · Score: 1

    What's really annoying is applications that don't support that one since they will end up deleting your text instead. This is worse when it is not undoable.

    Like Palm Desktop, which has helped me destroyed many a Memo entry accidentally. Not only does it delete the text instead of cutting it, it deletes the whole memo! Thanks, Palm Desktop. You suck!

  226. Too many replies, you won't see this. by Marc_Hawke · · Score: 2

    I've read through the comments, and everyone seems to think the auto-copy is a bad thing. I'm sure after you've been stung by it that it is.

    I'm in the windows world, and I have the opposite problem. TeraTerm (my emulator of choice) has copied this 'auto-copy' concept. So, if I want to copy something from in the terminal window, I just highlight it and quickly go on my way.

    However, nothing else does. :) So, I'm often found highlighting something (especially on web pages) and closing the window only to discover that I never actually hit CTRL-C.

    I kept thinking that I'd like every program to do that for me...but I think what I really need to for TeraTerm to stop...so I get out of the habit.

    --
    --Welcome to the Realm of the Hawke--
  227. Hilight to delete? by Anonymous Coward · · Score: 0

    What the heck is that. ^U and ^K are for deleting. One of those on a Windows box maps to 'view source' in a browser, and nothing annoys me more than clicking in the address bad, hitting ^K^U to clear it, and instead having a source window pop out at me. Of course I avoid Windows whenever possible, so its not that big a problem. Mainly comes up when visiting family that thinks 'Open Source' is for crackpots.

    Its all in what you are used to. Some people are used to the Windows way, some of us are used to the Unix way. You switch from one to the other, (regardless of the direction) and you will feel lost.

  228. Oh.. the copy paste malfunction by Tei · · Score: 1

    Hee.. I know that bug, malfunctions with copy & paste. You have Blaster virus!.. and svchost is down, Thats All ... Try Uninstall Wine or Booting Your Computer.

    just kidding, of course >:D

    --

    -Woof woof woof!

  229. Re:"Correct?"-- A bit off topic, a bit flame-y by prockcore · · Score: 1

    No offense, but this arrogance is exactly why Linux has insignificant desktop market share.

    It's really reassuring that so many people know exactly why Linux has insignificant desktop market share. Oddly enough, it's usually some random slashdotter's fault.

  230. Re:"Correct?"-- A bit off topic, a bit flame-y by arose · · Score: 1
    I shall cite to you from the EmacsWiki:

    What you call "Windows" is just one of many window systems that has come in and out of fashion during the lifetime of Emacs. Emacs (in one version or another) has supported most of them, SunView, NeWS, X10, X11 (Open Look, Athena, Motif), PM, Win32, Mac. Emacs has provided a sound foundation that has allowed programmers to be productive with all these, and will also provide a foundation for whatever window system will be hot tomorrow.

    What Emacs doesn't do is to give up that foundation in order to follow the latest trend. Instead, it incorporates what is good and compensates for the rest. This -- of course -- will make Emacs feel "old" for the followers of hype, but the wise will see its intrinsic power and lasting value.

    --
    Analogies don't equal equalities, they are merely somewhat analogous.
  231. Re:"Correct?"-- A bit off topic, a bit flame-y by Anonymous Coward · · Score: 0

    I DON'T CARE IF YOUR MOTHER WILL USE IT!!!

    Why not give your mother an operating system designed for end-users, such as OS X? And before you start bitching about arrogance, high horses, etc, realize that we like things how they are because to those of us who don't mind learning, it's MUCH MORE EFFICIENT!

    It's not arrogant to want a system that isn't dumbed down. The fact that we like a system doesn't mean we're on a high horse. Contrary to what you seem to think, we don't say "this is the correct behavior" just to piss you off, we say it because it is the correct behavior, simply because we like it.

    Why do we have to adapt to people who already have a couple of operating systems that do what you seem to want?

    As always, if you want a dumbed down interface, you're free to write one. You're assuming your ideas are better than ours, and I think that telling us that we have to change is just as "arrogant" as us saying we don't have to!

  232. Re:"Correct?"-- A bit off topic, a bit flame-y by janoc · · Score: 2, Insightful

    Well, I am bit tired of these "my mother" tests. There was also an aunt Tillie test, which was about the same. Both are actually completely irrelevant.

    Why everybody encountering something that behaves differently than he/she expects starts complaining and claims that "it is the reason why Linux has an insignificant market share" ? Personally, I use Linux, Windows and sometimes Mac. Each is good for something else and they are (surprise!) tools, not a religion.

    I am working with Linux most of the time but when I have to use Windows or Mac, I have problems because the things do not work as I am used to. Does it mean, that Windows or Mac will never have significant market share ? Actually, market share has nothing to do with usability but all with marketing, folks. You rarely get something sold or adopted just based on usability.

    Back to the "mother test" - what is most important for adoption of Linux (or whichever OS or application) is not that, whether it behaves exactly the same as the thing you used before - if it did, why did you switch in the first place? Because it is "cool" ? I doubt it, that's only what the proverbial 13 year olds care about.

    It all comes down to the motivation - is this new app or OS delivering something so new, that I can swallow the inconvenience of learning something different or putting up with something not working the way I was used to or am I just looking for an excuse why not switch ? If the answer is "yes, there is something that I need", then the app will get adoption regardless whether something silly as clipboard works the same as on Windows, Mac or whatever. If such problem deters you from using the application, you probably do not need its functionality enough and you did not need to switch to it in the first place.

    An example for people complaining about Linux/Unix users being arrogant here. Disclaimer - the example holds in opposite direction as well, I didn't want to pick on some anti-americanism or some similar bull here.

    In the U.S., most cars have A/C and automatic gearbox. Here in Europe, they mostly lack both. If an American comes to Europe and rents a car, discovering this fact, do you think that the clutch pedal will automagically disappear and the gearbox change to automatic just because he was used to have it that way at home ? No, it wont, the driver has to adapt and learn how to drive manually or rent another car. Does it mean, that such cars would not sell, because the manufacturers are arrogant and expecting the users to adapt ? Somehow doesn't compute neither. In the case of the car, it came down to the decision - "Do I need to drive so badly that I can put up with it or am I rather going to walk ?"

    To conclude this my little rant, I agree, that the cut/copy-paste behavior on Linux is inconsistent sometimes and that there are applications which are broken and need to be fixed. However, this not Linux specific issue at all and hardly something preventing its adoption :-(

  233. But, I like it. by DeVilla · · Score: 1

    Wow. A lot of people are really confuse by "highlight = select". I love it. The huffman coding is excellent. I always get tripped up going back to windows frankly. I also get tripped up on some X apps at work that decided to no implement the standard mouse select stuff. (I mean the most basic highlight = select, middle click = paste)

    It honestly hasn't been a problem for me in unix unless someone tries to over ride the behavior or screws up the primary/secondary buffer thing. For URLs in the browser, I just middle click in the window. For pasting 'over' text (like some have complained about) I just paste the new text when I want to go and then highlight the text I want to get rid of and delete it.

    I know the select and pasting lacks consistency on unix , but I hope they never get rid of the simple highlight and paste mechanism. To me, doing it like Windows is not necessarily doing it right.

  234. _MORE_ flexible? by Bake · · Score: 1

    OK, I'm at loss at how behaviour that, by design does not permit one to replace a highlighted section of a text with anther one, can in any way be considered "more flexible".

    1. Re:_MORE_ flexible? by Too+Much+Noise · · Score: 1

      the X copy method includes all 3 available selections. the middle-click copy is just using one; to obtain what you want, use the Ctrl-C/Ctrl-V method involving the clipboard selection (if implemented by the application).

      More flexible: you can implement the Windows-type behavior and more. The fact that the 'more' alone is not Windows-type is to be expected, don't you think?

  235. use it to your advantage.. by CoolMoDee · · Score: 1

    Use it to your advantage and *use* both of the clipboards you are given. Think about it, you want to copy some text, use ctrl-c/v but then you also want to delete some text, you high light it,making it go into your second clipboard then delete it. Uh oh, you need that text back for some reason, and you have been ctrl-c/ving a lot, in a normal world, it would be gone. However, in this world with *two* clipboards, it will still be there (atleast in theory). I know it has saved my butt with urls and random text that I wanted but never gotten around to saving all while ctrl-c/ving a lot.

    --
    Jisho - A Japanese English German Russian French Dictionary for the rest of us.
  236. I thought about that and more... by DEBEDb · · Score: 1

    ...but only questions, no answers...

    --

    Considered harmful.
  237. Main Problem by dirt_puppy · · Score: 1

    Main Problem in the whole X C&P issue (there are others, yes) is the blatant lack for unification. Actually, there are as many kinds of C&P handling as there are programs, and there is no non-empty cut of the features. As people have noted, Mark Left - Click Middle works often, as do other Features, but sometimes, they do not (Try Matlab [yes i know, it's not FOSS, but hey, i do live in the real world], Emacs and XTerm at the same time...). The lack is simple and obvious: there is no such thing as abstraction of the "Copy" and "Paste" commands (as it should - after all that's one of the big points of GUI...), so that the user could go and put it on any key he likes. This is the one big problem that X C&P has.

    Oh and then is the confusion about different copy buffers. I just assume that whoever came up with this was just smoking crack.

    X is hell. Every single day working with X, i get reminded to how X was written: a quick hack to do remote debugging. We all deserve better, and we all could code for a better UI system. All you X zealots, go and try a mac for a week, then come back and we can talk...

    1. Re:Main Problem by jtev · · Score: 1

      I tried a Mac for a week and was pissed at how limiting it was. I like the way copy and paste works in X. I also like not having 80 billion windows for a simple MUD client or IRC client. There are other UI issues I have with Macintosh. I REALY like the Gnome panel. I like having system health statisics right at my finger tips all the time, in a nice graphical manner, I like not having my obscured apps hard to read. I love sloppy pointer focus. I have other issues with that peice of crap kindergarden interface but I need to stop before my blood pressure goes through the roof.

      --
      That which is done from love exists beyond good and evil
    2. Re:Main Problem by dirt_puppy · · Score: 1

      Mac is not perfect, but X is far from perfect. I suppose you just don't get the point. Interfaces should be unified, that is, work the same every time. X is antiunified, every X app can do what they like. This is what they do, and the result is clearly visible. If you don't notice, because you had the balls to bite your way through and then memorize every stupidity of every interface every time you use any program, fine, you're not a quiche eater.

      It just doesn't make you seem understanding the message, what would be the point of communication.

    3. Re:Main Problem by jtev · · Score: 1

      No, you pointed out the Mac as a good user interface, I am arguing that it's consistant, but consistantly BAD. I find the detacted menus annoying, options hard to find, and configuration confusing as hell. I use almost exclusively Gnome applications when I use the GUI, so I have a unified desktop. So, hmm, Unified and "makes sense" to me, or unified and makes no sense, is poorly organised, and makes me feel like a kindergardener. Well, I wonder which user interface I'm going to favor? I dislike handcuffs when I'm trying to get work done.

      --
      That which is done from love exists beyond good and evil
  238. Re:X copy/paste - Swap??? by spitzak · · Score: 1

    How about having drag with the middle mouse select the region to be replaced?

  239. Unix Copy by Anonymous Coward · · Score: 0

    Just use the old UUCP :)

  240. alternative not many people seem to use by canned+polar+bear · · Score: 1

    dunno if anybody mentioned this already control-insert (copy) shift-insert (paste) works everywhere.

  241. Yes, the Linux clipboard is a disaster by dozer · · Score: 2, Interesting
    There are three things that drive me nuts about X's clipboard:
    • Select some text, go to middle-click-paste but discover that the destination already has text in it (this Ask Slashdot issue).
    • The clipboard disappears when you quit the application. Try it: copy some text, quit the app that you copied it from, and then try to paste.
    • You can only copy and paste plain text. Sure, it's theoretically possible to push alternate mime types up there too but that gets heavy really quick. I have yet to see a non-plain-text clipboard move correctly between two different Linux apps.
    Gnome Clipboard Daemon tries to fix the second problem. I have no idea how to fix the third. And here's a proposed solution for the first problem:

    Almost every text-entry box ever made has some sort of label or widget on its left identifying it (the URL bar has little "Go" or world icons, dialog boxes have "Labels: ", etc). Just adopt the convention that a middle-click on the text box's label replaces all the text in the box with the primary X selection. For example, middle clicking on the little world icon next to the left of the URL box would replace the URL with the current selection (but would not automatically go there, allowing you to edit it before hitting return). A middle click inside the textbox itself inserts text as it always has.

    It's intuitive, consistent, finger-compatible and easy to implement, especially if the toolkits support it natively.

  242. Gnome Clipboard Daemon by Anonymous Coward · · Score: 0

    What gives Windows the edge is its universal clipboard. The whole highlight-and-middle-click thing is an X shortcut (which can be really handy), while OpenOffice has its own clipboard, as does Mozilla, as does KDE, etc etc... What you need, my friend, is a unified clipboard that will pick up every Edit->Copy, every Ctrl+C, every +y, etc... Enter Gnome Clipboard Daemon. I know it says it's for Gnome, but it really shouldn't. I use it with my Gnome and my girlfriend's KDE, and it works beautifully in both cases. It should also work without a DE (eg, fluxbox or whatever). It provides a unified clipboard that can handle just about anything you can throw at it. I haven't been disappointed with it yet. Check it out at http://members.chello.nl/~h.lai/gnome-clipboard-da emon/

  243. Shift+delete, Ctrl+Insert , Shift+insert by bozojoe · · Score: 2, Interesting

    Am I the only one using the old school cut, copy, paste keyboard sequences?

    --
    lick the cancle button (at least thats what our Chinese QA says)
    1. Re:Shift+delete, Ctrl+Insert , Shift+insert by Big+Boss · · Score: 3, Interesting

      Nope, I preffer those too. Probably just inertia. I have noticed that some new apps don't support them though.

  244. Strict key bindings? by Nuclear_Loser · · Score: 1

    Probably too late for anyone to read this now, but meh.
    I've seen many comment calling for standardization of copy and paste shortcut keys, and many arguments against the ctrl-c/ctrl-v keys due to issues like dvorak keyboards and mouse handedness (kinda silly, I'm left-handed and I don't see any problem with using my right on the mouse.)
    IMO, the best way to please everyone is not forcing them to use one set of bindings. Have X handle the keys, but let them be rebindable inside the X config file. Ideally, this would be much more flexible than hardcoding copy/paste.
    Alternatitvely, X could leave this alone and let the desktop environment be responsible (since most DE's allow rebinding already), but this would leave a few users in the cold for a while if they only use a simple window manager.
    Well, guess I'll sit back and wait for someone to tell me I'm wrong or that this already exists. guurh?

    --


    You've got 8% of my love - 8% of my love - 8/100's of the time you're the only girl I'm dreaming of.
  245. Ok, Whoa! by wonkavader · · Score: 2, Insightful

    I see a lot of people here badmouthing select and middle-click. Let me RUN to its defense.

    The ^C ^V paradigm irritates the crap out of me. I LOVE middle-click paste.

    I only have a problem with it when things (like TORA, for instance) don't use it properly.

    ^C ^V is one of the reasons (along with the crappy foreground window model) that I feel horribly encumbered and inefficient in Windows.

    While I understand the urge to select and replace, but if you really want it, add a modifier key like control to your select action, and arrange for that NOT to replace the primary selection.

    The fault isn't with middle-button paste, here. It's with forcing a Macintosh-ism onto a nice, clean X paradigm.

  246. correct behavior for X... by bani · · Score: 1

    ...but not for user interfaces in general.

    it's a braindamaged design, like apple's non-proportional sliders in macos (took them ~12 years to fix that!)

  247. X supports image-pasting (apps may not) by Xtifr · · Score: 1

    The X clipboard certainly provides everything an application would need to support copying/pasting of images (or whatever). Whether the applications you use for that actually use the provided features of the X clipboard is another question, but they certainly could!

    From the much-linked JWZ page: "One of the really cool, yet rarely used, features of the selection mechanism is that it can negotiate what data formats to use. It's not just about text. When one application asks another for the selection, part of their communication involves the requester asking the owner for the list of types in which they are capable of delivering the selection data; then the requester picks the format they like best, and asks for it that way."

  248. highlight, middle click paste is faster and easier by EMR · · Score: 1

    For me anyway.. It's less steps I have to do when copying and pasting text.. So for me personally I find the ctrl-c,v,x thing annoying and get frustrated when some unix/linux app forces you to use that instaed of allowing the X-selection to copy text. But that's me personally..
    And anyway all the new Desktop apps (gnome, kDE) allow for both the X-selection AND the ctrl-c,v,x system as the *standard*. It's only old apps that don't have the keyboard shortcuts.

  249. the problem is Windows ports/expectations by dekeji · · Score: 1

    X11's selection mechanism is marvelously efficient and it's a shame that other systems don't use it more. However, if you aren't used to it, it may be somewhat confusing to you and you may not take good advantage of it.

    The selection mechanism is actually separate from the clipboard--it just is a way in which one application can communicate to another that it would like to get the data that is "currently selected" in that application. It's like dragging and dropping data between applications, only it's actually easier to do because you can rearrange windows in between.

    The confusion really started when programmers coming from Macintosh and Windows only supported the cut-and-paste they knew and felt comfortable with. X11 has become less consistent because Macintosh and Windows developers tried to make it more consistent--with their understanding of the world.

    In any case, there isn't much that can be done about it: X11 applications that ignore X11 conventions and mechanisms are now more common than correctly behaving ones. If you find yourself using the X11 selection mechanism accidentally, you can just remap it to something you are less likely to do; many applications that use selections will also have the good sense to use X11's traditional resource system.

    Furthermore, there are a number of clipboard applications (e.g., xclipboard) that let you keep multiple clipboards and convert between selections and cut-and-paste.

    Fortunately for you, unfortunately for traditional X11 users, X11 GUIs will probably sink to the lowest common denominator created by Windows and Macintosh. That way, the computing masses will be happy with their standardized, uniform, centrally planned user interface and all that unruly diversity will be quashed. The only difference will be whether windows are slightly transparent and where the menu bar goes, and people can endlessly debate the usability merits of the "Aqua" theme on Macintosh vs. the "XP" theme on Windows.

  250. how it actually works: by Jamie+Zawinski · · Score: 2, Informative
    highlighting text in Linux automatically performs a copy

    Well, no, not really. Here's how it really works.

    I totally agree that too few Unix programs support the C-c/C-v idiom, but it's orthogonal to the select/middle-click idiom.

  251. At least it's not... by sabNetwork · · Score: 1

    ... the Microsoft Office clipboard.

    It is probably the most retarded "innovation" to come out of Redmond, second only to multiple selections in Word. If you copy without pasting and then copy again, it stores the original clipboard in the "Office Clipboard." After you accumulate 20 or so of these, it will show a sidebar with all of the unpasted clipboards.

    This even happens when you turn it off.

  252. Middle door [Re: Middle button?] by Anonymous Coward · · Score: 0

    Made me think that the rule if you're drunk, always take the middle door holds for sober people in EXACTLY the same way...

  253. Why not make it an option? by Anonymous Coward · · Score: 0

    Making this behaviour an option during startup.. EITHER ctl-c etc, OR mouse click would just make everyone happy.

    On another note: In windows I can use quickedit mode and never have a problem with ctl-c ctl-v.... except for pasting to a cmd.exe window.

  254. I love Unix cut n'paste! by MikeFM · · Score: 0

    I hate using Windows because it lacks the Unix-style cut n'paste of text. It's so easy to work with. As a programmer it saves me a huge amount of time. I'd think the same would be true for anyone that works a lot with text. I just wish cutting and pasting other things in Unix was as easy. Gnome & KDE programmers should stop copying Windows and Mac methods and go with the easier Unix style. Highlight a file and the file is selected. Press the middle button and it's copied. Easy as can be. For more complex options you can still use the Windows-like right-click menus.

    --
    At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
  255. Re:"Correct?"-- A bit off topic, a bit flame-y by Anonymous Coward · · Score: 0

    > it will fail the "my mother" test

    Well, since you mum wears combat boots and a mu-mu, I'm guessing you also an expert on fashion.

    NYAH-NYAH-NA-NYAH-NYAH.

  256. even better, use Ctrl-U in Mozilla by nyet · · Score: 1

    it will nuke the whole line in one fell swoop.

    1. Re:even better, use Ctrl-U in Mozilla by Peter+McC · · Score: 1

      What mozilla are you using? And on what platform? For me, with Mozilla 1.6 on Linux, Ctrl-U is View Source.

      --
      You know what I hate? Wait, what do you like? I hate that!
    2. Re:even better, use Ctrl-U in Mozilla by Tony+Hoyle · · Score: 1

      It's View Source on Windows too.

    3. Re:even better, use Ctrl-U in Mozilla by whowho · · Score: 1

      you have to click in the address bar first

    4. Re:even better, use Ctrl-U in Mozilla by shaitand · · Score: 1

      Ctrl+U in windows, or when you don't have the cursor in the location bar is view source.

      If you have the cursor (as in the blinking text cursor, not mouse) anywhere in the location bar it clears the full bar.

      CTRL+U works in other apps as well, although elsewhere it generally nukes the line up to the cursor, instead of the whole line whereever the cursor is.

  257. I'm so glad people have time on their hands by Anonymous Coward · · Score: 0

    If you have time to post on slashdot you must be on top of the game. You obviously must be sitting back and watching as your computers all input records themselves and send you logs of what they are doing. You must have sysadmin down to an art where the computers do the work and you are merely the maestro ensuring they don't miss a beat.
    Anyone here who has posted a slashdot gripe about cut and paste has a lot to be embarassed about. A whine about cut and paste is basically an admission that you are a data entry clerk and you are a slave to your computer. You are obviously being forced to cut an paste irrelevant data from one window to the next and it bothers you. You are obviously telling the computer to interactively transfer text/images from one part of a file to the next. That's repetition and the computer should do that itself unless you like sitting there doing repetitive tasks. No self respecting slashdotter should be in that category.
    A real sysadmin writes good time and labour saving scripts and farms off any remaining minimal shitty file edits and updates to a structured task worker who will be content doing the minimal data entry.
    Any senior analyst should only be cutting and pasting in project management applications or during documentation. Most of that is in microsoft anyways.
    Automation though is key. These computers are getting faster and faster every year. With the plethora of scripting languages and the ever increasing power of desktop computers, there is no excuse for lack of automation and therefore little need for cut and paste. Those who have so much cutting and pasting are basically being mastered by the computer. We are in an era where the user should master the computer. Get the computer to do that boring cutting and pasting for you because your time is valuable. Learn macros, or scripts or find a way to accomplish your goals by getting the computer to do that tedious dogmatic nonsense for you.

    Your time is valuable and it should not be spent on trying to create a support group on cut and paste woes. Let the computer worry about that while it processes the data for you in a well written script.

  258. as if developers gave a damn by Anonymous Coward · · Score: 3, Insightful
    Seriously,

    This is just another instance of a far more generic class of problem with Linux (and no, i don't mean an inability to coordinate developers ).

    There is no one authority who can speak out and require that all the myriad little isolated or small development shops adhere to anything resembling a Human Interface Guideline, like Apples (or anyones).

    If Linus or someone really came down firmly and consistently on the need to have some common standards (and not just for tcp / http / smtp or whatever), this situation might change. As things stand, though, I'm not going to hold my breath.

    And before the flames begin - I love the IDEA of linux. Please! Really! Save me from Windows! I HATE Windows !!!

    But I feel like someone on a surgery table about to die while a group of insane surgeons argue about which method to use to cut into me, while some start with a variety of implements without consulting the others, and no consensus being reached.

    The problem is that the cure looks far scarier than the disease right now, and you can take that however you want.

    And telling me to go out and become a developer isn't an answer, its a fricking cop-out. This isn't something you fix with a widget, its something you fix by acting like you care, and have a professional attitude.

    There are linux conferences, linux journals, linux companies, linux-oriented scholars/scientists.

    So, why not take all that and add the last ingredient needed to make linux development a profession? (i.e. professional conduct and attitude regarding the product ).

    Hell, no one has to even starting thinking in human interface terms. No need to learn presentation skills or interface design!

    APPLE ALREADY DID IT !

    Is there anything preventing the linux community from just ADOPTING THE APPLE HIG as the defacto standard??

    Besides petty NIH syndrome ? (Not Invented Here )
    1. Re:as if developers gave a damn by EdMcMan · · Score: 1

      Isn't this what freedesktop.org was trying to do?

    2. Re:as if developers gave a damn by lkaos · · Score: 1

      And before the flames begin - I love the IDEA of linux. Please! Really! Save me from Windows! I HATE Windows !!!

      Save yourself. You're right, I don't give a damn. If you want me to make the software easier for you to use, you can pay me.

      As long as you're not paying me, I don't really care what you think. You should be happy that I'm letting you use my software for free.

      --
      int func(int a);
      func((b += 3, b));
    3. Re:as if developers gave a damn by lkaos · · Score: 1

      Oh, and FYI

      GNOME DID IT FIRST!

      We don't use the Apple HIG because we use the Gnome HIG.

      --
      int func(int a);
      func((b += 3, b));
    4. Re:as if developers gave a damn by Anonymous Coward · · Score: 0


      I disagree. The reason that it works for Apple is that you only think of the applications that were developed by large corporations - Apple, Adobe, etc. Think of the thousands of X-windows compatible applications that happen to run on OS X. Furthermore, there have been a *lot* of work to standardize interfaces, e.g. the KDE and Gnome projects.

    5. Re:as if developers gave a damn by spitzak · · Score: 1

      Unfortunately this does not prove anything. You have not identified the problem with Linux.

      THERE IS A STANDARD FOR CUT & PASTE!!!! If you actually read the other comments here and managed to sepearate the real information from the unbelievable pile of crap posted here (both by Linux lovers and Linux haters). You would know that there is a simple solution, and rules that if followed, would make BOTH cut & paste and the middle-mouse stuff work, in a much more convienent form than Windows (in reality the middle-mouse stuff is a much better drag & drop, because you can rearrange and open and close windows before dropping).

      Unfortunately the problem is with older programs that don't follow the standards. The problem is not the lack of standards. What needs to be figured out is why Linux keeps running these older programs, why people don't fix them or care to fix them, and why there is such incredible ignorance that people are still unsure how to fix them.

      (PS: To fix your damn application, make ctrl+x/v put the text into the CLIPBOARD, and paste from the CLIPBOARD. Don't worry that ctrl+v does not insert text from xterm, that is xterm's fault, not yours!! Xterm should be fixed so selection either lets you type ctrl+c or it automatically updates the clipboard on release).

    6. Re:as if developers gave a damn by Anonymous Coward · · Score: 0

      All i know is that *nix culture folks, volunteer and paid alike, spent nearly 20 years developing *nix variants.

      Assume maybe 15-18 years of that with the hardware actually able to support *some* kind of graphic environment.

      What passed for a user interface for most of those years?

      • CDE - Anyone who could like that GUI is an amazing person
      • various window managers (twm, icewm, this that and the other wm) - these can barely be called desktops. I know - they're good for unix, but that's pretty much my point now, isn't it?
      • Irix, AIX, and many more *nixes all had thier competing desktops, none of which was stellar - i think the fact that most are being dumped for linux andits desktops says that Gnome and KDE are apparently better. I'l grant right off that i have no experience with most *nix desktops, but if there was something out there truly wonderful, I'd expect it to be in pretty heated competition with GNOME and KDE.
      • BeOS - a first hint of a truly nifty desktop. Note that the project involved Apple alumni, who came from a culture that valued usabilty and quality of work.
      • NeXTSTEP/OPENSTEP - i have no idea, but I've heard good things from folks who have used it.

      Now. Let's take all that as the *nix community's efforts, made with quite the headstart. Assume Apple didn't get seriously underway on OS X until after the purchase of NeXT in 1997. First (non developer) release of OS X in 2000. About 3-4 years. And what is unquestionably the most usable desktop any Unix has ever had, period.

      Is it available on most hardware? No. Jobs has his own issues, and wanting to build boxen is his thing. And isn't that an interesting point. A decent *nix desktop came about not from a team that was trying to make a decent desktop, but from people who want to sell hardware running something other than Windows.

      There are only two reason Windows is still around as a desktop.

      1. Steve Jobs won't let users access OS X unless they buy his hardware. Apparently selling a quality OS and utilities is good enough for Microsoft but Jobs just won't believe that it could work as a *serious* business model.
      2. Linux / BSD developers are too busy fighting each other over who is cooler or having more fun or whatever to bother settling on a set of standards that everyone can target. ( and apparently the existing standards don't meet that simple - 'will they use it' criteria )

      It's like having the future of intellectual property and computing rest in the hands of children.

      Oh ... right.

    7. Re:as if developers gave a damn by lkaos · · Score: 1

      Dude, you seriously don't understand. Window is *not* more usuable than Linux. I've not used Windows in close to a decade and I can't find my way through the thing.

      You're just used to it. There's nothing we can do about that short of cloning Windows. Well f that.

      --
      int func(int a);
      func((b += 3, b));
  259. does drag-and-drop confuse you, too? by hak1du · · Score: 2, Insightful

    Windows applications support drag-and-drop and copy-and-paste simultaneously. Does that confuse you, too? Does it bother you that you can't drag-and-drop something while also deleting the destination?

    Well, X11's selection mechanisms doesn't, as you put it, perform an "automatic copy", it is actually separate from the copy-and-paste system, just like drag-and-drop is separate from copy-and-paste on Windows. X11's selection mechanism is a drag-and-drop operation, only that you can let go of the mouse button between selecting what you are going to drag and dropping it in the destination. It's actually significantly more convenient than drag-and-drop and significantly easier to handle. To make drag-and-drop work as well as X11's selection mechanism, you need to add weird hacks like "spring loaded containers".

    Well-behaved X11 applications should implement both X11's selection mechanism and copy-and-paste. To convert between selections and clipboards, you can use any working X11 applications that can hold the datatype you are interested in converting, like an X11 text editor or the xclipboard application.

  260. Obligatory by Anonymous Coward · · Score: 0

    I use CLI and vi only you insenstive clod.

  261. Selecting text with right-click by TheRoachMan · · Score: 1

    Errr...I don't use Linux (yes, mod me down to whatever u want and don't read on if you must) but why not make a system-wide change: left-click select puts the selection into the clipboard, selecting text with the right mouse button doesn't. Simple. This way the user can choose whether he wants to select-to-copy (left) or select-to-delete (right).

    If it's already in the thread, sorry, I only searched the first page and didn't find my suggestion. So why didn't anyone think of this earlier? I don't see any disadvantages...

  262. Re:The writer needs a clue. It is orthogonal. by six11 · · Score: 1

    Telling someone that they are clueless beacuse they use a differnt setup than you is not very helpful.

    Fun though

    Only on slashdot. In the real world, saying this to a person would likely get you clocked in the face.
  263. Galeon's great with Tabs... by Chris+Tyler · · Score: 1

    The Galeon browser is great with tabs. Set it up so that middle-click opens in a new tab...

    - Middle-click the HOME icon to get a new tab.
    - Middle-click an existing tab to open a duplicate.
    - To do the "Open the selection in a new tab" thing, middle-click HOME then middle-click somewhere on the new window body.

    Galeon also allows re-ordering tabs, closing a tab other than the one you're looking at (useful at work... think about it), and so forth.

  264. I hate this about linux by Elpacoloco · · Score: 1

    I started as a windows user, and I'm very used to ctrl + c to copy and ctrl + v to paste.

    This "Select to copy and middle button to paste" thing irritates me quite a bit, especially because I have a two button mouse (I would consider linux unusable if not for chordmiddle).

    1. Re:I hate this about linux by otis+wildflower · · Score: 1

      This "Select to copy and middle button to paste" thing irritates me quite a bit, especially because I have a two button mouse (I would consider linux unusable if not for chordmiddle).

      Get a scroll mouse!

      (how do you switch weapons in UT2k4 without it?) /remapped MX700 for ut2k4 ;)

  265. klipper and ctrl-alt-v to save you from cb hell by neves · · Score: 3, Informative
    If you use kde, it comes with a nice task bar applet called klipper. It remembers the last copied texts. All you have to do is a ctrl-alt-v and it will list your last selections, choose the one you want to past, and midle-click where you want to past it.

    If you use mozilla/firefox, another nice tip is to use the plug-in diggler, it adds a cancel button beside the browser url location field. You can then just press it to clean the field, instead of selecting and pressing del, this way the selection won't go to the clipboard.

  266. Mod Parent Troll by fraxas · · Score: 0
    Interesting, sirReal.83., that you ad hom B'Trey as "completely fucking clueless", but have no idea how you fixed the separate-keyboard issue on your own box.

    Free Software is not about choice. Free Software is about Free Software. Choice is incidental.

    Also, choice isn't necessarily good.

    1. Re:Mod Parent Troll by Master+of+Transhuman · · Score: 1

      No, choice is always good.

      What isn't necessarily good is not being told you HAVE a choice or what the choice IS or what the risk/benefits of the choices are.

      Which is obviously the problem here - NOT choice.

      Also "free software" DOES mean freedom of choice - pay money or not to pay money, get source or not to get source. Commercial software is NOT about choice - you pay, you don't get source (except in some cases, of course) - period.

      So, yes, you're totally clueless.

      --
      Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
    2. Re:Mod Parent Troll by sirReal.83. · · Score: 1

      Interesting, fraxas, that you begin a post by running off-topic and losing your sense of the English language. What separate-keyboard issue?

      The issue I think you're referring to wasn't necessarily fixed by me. I'm thinking it was the result of a KDE upgrade. Honestly I don't use ^C/^V often enough to remember when it even got fixed.

      Free Software is about Freedom. That's choice, among other things. Choice is not incidental. And the presence of choice is necessarily good; some choices obviously are not good.

  267. Weird. What I can't get used to is ctl-c, ctl-v. by Anonymous Coward · · Score: 0

    The two copy-paste conventions are:

    Windows/MAC:

    1. Highlight selection with mouse
    2. Ctl-c to copy selection to buffer
    3. Click mouse at insertion point
    4. Ctl-v to paste.

    Unix/linux:

    1. Highlight selection with mouse
    2. Middle-click mouse at insertion point to paste

    I have always had good success with the unix approach, and it seems simpler to me, too. I don't have to move my hand to the keyboard, for one. The work-around of keeping one hand on the keyboard and one on the mouse doesn't really work for left-handed mouse users, because the c and v are on the left side of the keyboard.

    Recently, I have been forced to deal with some Microsoft Office documents. I struggle even with the highlighting. As far as I can tell, there are some built-in "features" such as the impossibility of highlighting only part of a word at the beginning or end of the selection-- apparently, I don't know what I want to highlight, and MS Office decides for me to highlight the whole word. Another problem during highlighting is uncontrollably fast scrolling, so that I can easily highlight several pages by mistake.

    Then, I have to move to the keyboard, hit ctl-c, move back to the mouse and click at the instertion point, move back to the keyboard and high ctl-v. That's inconvenient, to me.

    That level of inconvenience assumes I remember to hit ctl-c. Given my unix background, more often than not, I forget to hit ctl-c, and I end up pasting into the document whatever happened to be in the buffer from before. And often, the highlighted selection is back on another workspace or under a lot of other windows, which makes it an additional inconvenience to go back and hit ctl-c.

    I kept waiting for people to complain about this ctl-c/ctl-v user interface disaster. It severely disappoints me that people are actually complaining about the method that I find simpler and more intuitive.

  268. ADTI: copy/paste is used to steal IP by Anonymous Coward · · Score: 0

    Now ADTI report will include "detailed research" on the methods which Linux IP thieves use to steal proprietary source code. It is sad so many /.-ters got into this trap.

  269. The answer to all X cut-and-paste complaints. by Anonymous Coward · · Score: 0

    To everyone who complains about the way that X11/KDE/Gnome/etc handles cut-and-paste:

    If you don't like it, you don't have to use it.

    Windows users: Nobody forces you to use the middle button - it's a non-obvious feature for "power users". The way things are supposed to work is that CTRL-V and the middle mouse button are independent. Therefore you can choose to use only CTRL-C/CTRL-V and be perfectly happy. If your application confuses the two, submit a bug report, or barring that, fix it yourself. That's why it's open source.

    Mac users: Miss your one-button mouse? Use one! If you're dedicated enough to want a crippled mouse, you should be able to figure out a way to remap your keyboard to get context menus to work like Mac OS.

    Sheesh.

    To the original poster: I feel your pain. Someone suggested using CTRL-K to clear the address bar, I'll have to try that. Otherwise, bugging application developers to fix broken impletementations seems the proper thing to do.

  270. Opera has this already included by Anonymous Coward · · Score: 0

    everything that this extension is already implemented in Opera for months, the undo closing page is in since version 7.20, it's around one year old.

    1. Re:Opera has this already included by Anonymous Coward · · Score: 0

      And what makes you think this extension hasn't been here "for months" (years)?

      Well, newflash, it has.

  271. this is NOT a problem by Anonymous Coward · · Score: 0

    I grew up with UNIX and X Windows and I find UNIX copy-paste to be just perfect. Frankly, you windows/mac users can go fuck yourselves if you don't like it.

  272. Umm.. well.. by bl8n8r · · Score: 1

    learn to type? You would be surprised how fast you can go without looking at the keys once you learn how.

    --
    boycott slashdot February 10th - 17th check out: altSlashdot.org
  273. What's your problem son? by stronger · · Score: 1

    1. Mark a selection
    2. "Ctrl+C"
    3. Mark another selection
    4. "Delete"
    5. Click somewhere
    6. "Ctrl+V"
    7. Enjoy pasting your first selection

    I find your problem nonexistent.

    1. Re:What's your problem son? by EdMcMan · · Score: 1

      At step 5 you implicitly copied that selection into the clipboard. Try running something like emacs to see the problem

    2. Re:What's your problem son? by spitzak · · Score: 1

      Like a zillion other users here you are confused about where the problem is.

      The problem is with programs that use the selection for ctrlx/v, instead of the clipboard. If you try ctrl+v into a WORKING program (such as any recent KDE or Gnome app) you will find the clipboard is unchanged by selecting the text. EMACS is broken, NOT "Linux".

      If an application on Windows doing drag & drop caused the clipboard to change to the drag & drop text, or if doing paste always pasted the last thing you drag & dropped, this would be a similar (actually IDENTICAL) problem. However that does not prove "drag & drop sucks and should be removed" (which seems to be the prevailing opinion of noobs here). Instead it proves that there can be broken applicatcions.

    3. Re:What's your problem son? by EdMcMan · · Score: 1

      You should probably reply to the parent, not my comment.

  274. Windows copy-paste paradigm by Anonymous Coward · · Score: 0

    I have exactly the opposite problem. I learned UNIX over 15 years ago (before DOS 3.3 was out). I'm so frustrated every time I'm forced to work on a Windows box that _doesn't_ do copy/paste as I've always learned (w/ the left button highlight, middle button paste) that I want to scream. I can't tell you how frustrating it is trying to get text copied and pasted in Windows.
    My condolences that you had to learn first the wrong way. Unlearning bad habits is harder than learning it right the first time.
    Perhaps, though, you can use KDE? They've been trying to be a Windows clone and have toasted copy and paste (at least how I'm used to doing it) in most KDE apps.

  275. Drag Doesn't "Copy" to clipboard in Unix by spaceturtle · · Score: 1

    "What I am saying is that many people don't understand why highlighting something would copy it."

    As I understand the way UNIX works is:
    Left-Drag: Select text.
    Middle-Click: Copy(Paste) current selection here.

    BTW. I don't understand what you mean by "Middle click required to copy text". If you mean copy as in "copy to clipboard" then what button would we use to paste?

  276. Linux on the desktop by eWarz · · Score: 1
    ( Read More... | 514 of 666 comments | ask.slashdot.org ) 666 comments? that's damn scary. Anyways, issues like these are the reason why linux is NOT ready for the desktop. This isn't meant to be a flame, but you can add all the eye candy in the world, but WITHOUT STANDARDIZATION you have NOTHING.

    "Oh but linux users have freedom of choice" <Sarcasm>Which is why it's overtaken both macintosh and windows platforms right?</Sarcasm> Until a set of desktop standards is announced, and a GUI is built to use this standard, linux will never be mainstream (think it is now? think again, most desktop linux users are either geeks, or using workstations at work) Flame away...

  277. since the unix paradigm predates windows... by riprjak · · Score: 1

    (hell, the paradigm discussed predates LINUX!!) I had the other problem when switching from SGI machines to windows boxes (back in the day, 1990 or so, although going from vi + tex to a "wysiwyg" word processor on windows 3.1 didnt seem useful at the time, I couldn't understand why the management was buying these silly home computers for work, lol; clearly *NOT* clairvoyant, me).

    Whilst in windows I tend to use shift-del and shift-ins; I *miss* the middle mouse button paste behaviour, especially with good "double click" rules for word/phrase selection.

    Both paradigms are pretty basic tho; if you *need* a "clipboard" in *nix, keep a text editor open and when you highlight to copy, paste it in the text editor and continue editing... when you want to copy back, double click the text in the text editor and paste away...

    err!
    jak

  278. Weak... by Anonymous Coward · · Score: 0

    Don't be such a pussy!

    The GUI is only to be used to browse the web, and you can't highlight and delete in the terminal.

  279. Can you get the X-Windows Behaviour in WindowsXP? by Anonymous Coward · · Score: 0

    I prefer the X-Windows select to copy and middle-mouse button to paste scheme because I don't have to type anything to copy and paste.

    My question is if and how this can be done on WindowsXP?

  280. wmcliphist by jdowland · · Score: 1

    No matter what mechanism is used to accessing the clipboard, unless it supports multiple things then you will always find yourself clobbering something you want to keep. It happens in X, it happens in windows.

    So, use a handy clipboard history tool - like wmcliphist. This tool will cache a user defined number of clipboard contents which are available from a context menu over the dockapp. You can lock items which prevents them from being overwritten, and even sort strings into sub directories based on regular expressions (web shortcuts in one, email addresses in another, etc.).

    Some people have also mentioned klipper which I think does a similar job.

  281. Windows Equivalent? by Anonymous Coward · · Score: 0

    I've been searching for a Windows util that forces a mimic of the highlight/copy -n- click/paste functionality of the *nix workstations. Is there any available (other than puTTy intra-app)? Someone want to write one? :)

    Please email URLs/code/utils to chillburgh(at)netscape.net as I admit that I'm a surface ./er and dont read deep into the comments.

  282. Speaking from experience here.... by Anonymous Coward · · Score: 1, Insightful

    The actual habit of selecting text for the purpose of deleting it withers with time.

    The only place it gets you is urls, and that's easily solvable once you get in the habit of pressing ctrl+u which wipes out the url line in Mozilla/firebird.

    The only annoying thing then is using Mozilla/firebird on windows where you'll press ctrl+u and it brings up the damn source in it's annoying non-editable fashion.

    Private rant, why does mozilla and other mozilla based browsers insist on opening the source in a read only window instead of a text editor? Even if they need to include a simple text editor with mozilla it'd be tiny compared to the app as is.

    If you use composer or another graphical environment for writting webpages (ie, not a serious web developer/designer) that doesn't help, you still have to hit "edit this page" in the menu to get up composer. If you edit html source properly by hand in a text editor, it is VERY helpful to right-click, view source, save and then reload on a local html file to see changes every 15 seconds or so. Doing things this way gives you a visual experience equal or superior to graphical apps and html which is VASTLY superior.

  283. in emacs... by davids-world.com · · Score: 3, Informative

    I have solved the problem in Emacs with a customization package: it defines Apple-C and Apple-V, because I found it too annoying on my Mac. It also doesn't put marked text automatically into the clipboard (or whatever the emacs folks call it: kill-ring). you can get a package here.

  284. solution.... by spongman · · Score: 1
    ... in true slashdot style:
    1. fdisk /dev/hda
    2. install Windows.
  285. Precisely;-) by Anonymous Coward · · Score: 0

    > Using a mouse in unix? That's heresy.

    Yes, being a guinea pig is more appropriate.;-)

  286. Ctrl-C copies? by Xerp · · Score: 1

    esc-yy to yank a line
    esc-ctrl-v to block highlight with a single y to yank
    esc-p to paste

    Pure, simple, clean, effective. Totally avoids "middle clicking" (Mac Friendly!).

  287. delete text without copying it by ascii4A · · Score: 1

    Sorry if I missed anyone who said this already, but...

    You can start selecting text and press or before letting go of the button and that text will not be copied and overwrite what you currently have in the clipboard. I do this all the time. Try it!

    --
    He died for you, won't you live for Him?
  288. Amazing what you learn, and when by DaveJay · · Score: 1

    So I've been using Linux for years now, and I had NO IDEA about the automatic copying. All this time, I just assumed the clipboard didn't work in all apps -- and it's just been pasting exactly what I'd just highlighted back onto itself.

    I guess things aren't always as obvious as you'd think.

  289. Re:X copy/paste - Swap??? by DGolden · · Score: 1

    Might work, though I think I'd need to code it up and try it to decide how it felt - might be "too easy" to do accidentally (btw, don't hold your breath waiting for me to code it, I've got lots of other less fun things to do...).

    I also know some applications use middle-button drag for x-y scrolling/panning, which I also like, as the scroll bars are sooo far away on my desktop and I don't have one of those newfangled 2-axis x-y new-mouse-wheel thingies - but that's not a long-term problem, I suppose, as Microsoft will eventually have pretty much everyone with the 2-axis new-mouse-wheel thingy.

    Actually, thinking about it, I'm not entirely sure there's any easy protocol for a "swap" within the X selection framework in the two independent applications case (how to tell App1 that it needs to get data when "swap" is requested in App2 ???. It's easier to make an "fast replace" of PRIMARY in App2 from App1's SECONDARY as App1 doesn't need to know to get new data from App2, but that's a bit different from what I originally had in mind and doesn't buy much over ctrl-x/c/v IMHO).

    I will have to meditate upon it further, it's 1am here at the moment and I'm not at my best...

    --
    Choice of masters is not freedom.
  290. Re:Pasting urls - use Ctrl-L in Mozilla by bprime · · Score: 1

    Single- or double-tapping F6 in Windows will select the address bar (but not copy it) in Firefox. Wait...did I just admit I used windows?

  291. Opera by BhAaD · · Score: 0

    Opera solves this problem by allowing you to middle click ANYWHERE (except other URLs) on the browser window and it will open a new tab with the new url thats in clipboard

  292. what annoys me.. by MattyCobb · · Score: 1

    what annoys me is for whatever reason x seams to clear the clipboard automaticall when you exit an app. Like if i copy a URL out of Firefox, close Firefox, and try to paste that URL into Gaim the clipboard is empty. This may not be that big of a deal if you are used to it, but I for one hate clutter and close things the instant I am done with them. Which can be very annoying if it loses what you had in the clipboard (unlike Windows).

    Maybe their is a way around this. I can be a *nix noob at times...

    --

    Matt
    You have 1 Moderator Point! Use it or lose it! Is that a threat? -vapid
  293. Major issue for me by jridley · · Score: 1

    The lack of a common, robust and flexible copy/paste system under Linux is one of the things that has driven me back to Windows several times. I can't even always get text copy/paste to work between different apps, and forget images, objects, cutting a table from a web page and pasting into a spreadsheet and expecting proper behavior, etc.

    Between that and getting printing working in a reasonable fashion (IE not having to install 12 pseudo printers if I want to print 12 different ways, or figuring out CUPS, or whatever) are the things that keep driving me nuts and sending me back to Micro$oft.

  294. why have a number? by opweirdisntit · · Score: 1

    lol, this is just an idea lol...but; who said you have to have a set number of clipboards? A linked list fasion like in c++ would do great letting you just keep adding another board when you need to:) the next time you control-c it would add another board and copy it:) ..well if needed

    1. Re:why have a number? by shaitand · · Score: 1

      Due to memory concerns you'd want to limit the size of clipboards as well as the number, or perhaps limit the total clipboard contents size for an unlimited number of clipboards.

      There is no reason that both the limit and the number couldn't be set in a configuration file. Having clipboards be generated on the fly probably wouldn't be such a hot idea, it'd add uneeded complexity back into the concept.

      I'd agree, though I believe the number should be static, I believe the static number should be user defined rather than hardcoded. Much like multiple desktops.

    2. Re:why have a number? by LionMan · · Score: 2, Insightful

      This goes in the spirit of not having hard limits, which is generally a good programming philosophy.
      Generally, there are only 3 cases: 0 items, meaning a restriction, 1 item, like the normal clipboard, or an infinite (until memory runs out) number of items. This is a good philosophy to work by, unless you have a standard (which you assume won't get broken). People making fixed size buffers are what get people into buffer-overflow attack problems.

      --
      -Leo
  295. Here's something close... by sakti · · Score: 2, Informative

    First 2 shell scripts:

    $ cat xcopy
    #!/bin/sh
    xclip -o -selection primary | xclip -selection clipboard

    $ cat xpaste
    #!/bin/sh
    xclip -o -selection clipboard | xclip -selection primary

    Then using your favorite keymapper set these to something close (M-c/M-v in my case). Here's an excerpt from my .bbkeysrc:

    KeyToGrab(c), WithModifier(Mod1), WithAction(ExecCommand), DoThis(~/bin/xcopy)
    KeyToGrab(v), WithModifier(Mod1), WithAction(ExecCommand), DoThis(~/bin/xpaste)

    Now alt-c copies highlighted text to the clipboard. Then alt-v copies the clipboard to the primary selection (so middle click them pastes it).

    Note that many programs that support C-c/C-v use X's clipboard selection. That means you can hit C-c in say firefox, them hit C-v, then middle click into an xterm and get the text you copied from firefox.

    Hope this helps.

    --
    "It is better to die on one's feet than to live on one's knees." - Albert Camus
  296. SOLUTION! by Anonymous Coward · · Score: 0

    Use windows, its better anyway =)

    1. Re:SOLUTION! by Anonymous Coward · · Score: 0

      Bill, is that you?

  297. mod parent up by x3ro · · Score: 1

    That link to the article on freedesktop.org is the only piece of the information in this discussion really worth reading. Thanks :)

    --
    [ UNSIGNED NOT NULL ]
  298. the mouse buffer is great by Anonymous Coward · · Score: 0

    I've been using X since about 1992, and since early on have found that select-middle click copy and paste method is much nicer than any other. I find that it makes it that little bit easier to copy and paste, and so I end up using it a lot more, when on a Mac or Windows I'd continue typing for smallish amounts of text.

    I think the mouse button based copy and paste is a more intuitive concept, especially if you describe the content to a user as metaphorically 'being in the mouse'; with ctrl-c ctrl-v the metaphor isn't as clear (to me anyway).

    I've always found the mouse copy to be one of the features that brings me back to a unix desktop time and again - no-where else has that level of ease with copy & paste.

    What's irritating me is that the new desktops are starting to break things that made the mouse buffer useful. Ctrl-U, since the Dawn of Time*, has meant 'clear text to start of line', which makes pasting in URLs to browsers work properly. It seems the latest Gnome releases have broken it, and now I find random things happening in my applications (like View Source on a web page) when I want to paste a URL. Only a powerful and abiding laziness has stopped me from rolling back to an earlier gnome release.

    - Daniel

    * for small values of 'The Dawn of Time'

  299. Re:Unix should care more about keyboard users by jtev · · Score: 1

    If you are a dubmass who likes running trojans you can put . in your path. It is of course not recomended. Now, if you understand why it is a good thing to have to conciously run a script or program located in your current working directory the two extra charecters are a non-issue, and don't realy slow you down that much.

    --
    That which is done from love exists beyond good and evil
  300. Re:The writer needs a clue. It is orthogonal. by Ender+Ryan · · Score: 1
    And you know this... HOW? The guy didn't say what apps he uses, or even hint that he had the first clue about X's copy/paste and selection buffers.

    Who the hell is moderating this shit? 99% of the posters have it 100% wrong. Fucking Christ, if noone knew about the highlight / middle mouse-button selection mechanism, everyone would just use copy/paste just like on Windows and noone would notice any difference.

    There are real *problems with X and X applications, but so far everyone has been way-the-hell off-base.

    * Eg. I can't think of any two programs that can copy/paste graphics between each other.

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
  301. crappy console by Anonymous Coward · · Score: 0
    ok, only partially releated: but in the linux virtual terminals, you couldn't even use it, because Shift+Insert or Ctrl+Insert (or any other function key) doesn't send a key escape code different from the ones if the key was pressed alone.
    That's why ALL major unix text editors are crap and hang years behind DOS tools - where you could simply select text with shift+arrow keys. Right now even such "user friendly" Unix editors like 'joe' require at least a dozen keys ONLY to select text (Ctrl+K+B ... Ctrl+K+K) - which then becomes the most frustration part if you just want to copy+paste it to somewhere.

    Unless kernel developers change the default keymap, or at least some of the major distros standardize on it, Linux consoles and text editors remain unusable crap.

    I wish there was a "freeconsole" project, that tried to enhance general Linux utility useability as "freedesktop" already does for X11.

  302. This is a quasi-religous look and feel issue by gatkinso · · Score: 1

    that doesn't require an entire topic on Slashdot.

    Geez a true power user would just adapt - like me. I use both every day and can more or less adapt transparently even when running Unix apps on my Windows desktop.

    However.... I ALWAYS type "setenv env_var val" instead of "set env_var=val" in the Windows shell - which drives me nutz!!! But that is my one transgression.

    --
    I am very small, utmostly microscopic.
  303. shift-insert, ctrl-insert by redphive · · Score: 1

    There is an option that works well in both win32 and *nix. I have adopted it just for the very same reason it frustrates the hell out of me when I type ls in win32 and dir on solaris.

  304. Re:Pasting urls - use Ctrl-L in Mozilla by Peter+McC · · Score: 1

    Hey, cool, it works in Linux too. Ctrl-L works in Windows as well, though it's less relevant because it wouldn't copy it to the clipboard anyway.

    --
    You know what I hate? Wait, what do you like? I hate that!
  305. CLI utility to do this by anti-NAT · · Score: 1

    You might be able to bind a key or mouse button in your window manager to run it.

    XSel

    --
    The Internet's nature is peer to peer - 20050301_cs_profs.pdf
  306. Re:X copy/paste - Swap??? by DGolden · · Score: 1

    Actually, thinking about it, I'm not entirely sure there's any easy protocol for a "swap" within the X selection framework in the two independent applications case (how to tell App1 that it needs to get data when "swap" is requested in App2 ???.

    Hm. Should have actually reread the effing ICCCM Spec before posting that. I'm actually covering old ground, so my "idea" is not very new at all anyway...). The thing in my suggestion not already in the ICCCM spec I think is that applications should grab secondary corresponding to their old primary on losing primary. Anyway, reading the ICCCM Spec I kinda get the impression that they had some idea of SECONDARY being a bit more independent than that, maybe like ordinary left-drag => highlight in blue => PRIMARY, right-drag => highlight in orange => SECONDARY, or something.

    Still, maybe the temporally ordered PRIMARY-to-SECONDARY transition I suggested would be less confusing than two completely separate highlights. Or not. Have to code _both_ and try them :-).

    I'm _really_ going to bed now...

    ICCCM excerpts:

    2.6.1.2 The SECONDARY Selection
    The selection named by the atom SECONDARY is used:
    o As the second argument to commands taking two arguments (for example, "exchange primary and secondary selections")
    o As a means of obtaining data when there is a primary selection and the user does not want to disturb it.

    2.6.3 Selection Targets with Side Effects

    These side-effect targets are used to implement operations such as "exchange PRIMARY and SECONDARY selections".

    2.6.3.2 INSERT_SELECTION
    The owner should use the selection mechanism to convert the named selection into the named target and should insert it at the location of the selection for which it got the INSERT_SELECTION request.

    --
    Choice of masters is not freedom.
  307. the "universal standard" still works by HtR · · Score: 2, Informative

    Generally speaking, these still work. I got used to them and still use them regularly today in virtually all Windows applications.

    By the way, Cut is Shift-Delete

    --
    Have you tried turning it off and on again?
  308. The Window System was doing this before... by borgheron · · Score: 1

    DOS even had a GUI. ;) So I'm not sure that the Ctrl-C, Ctrl-V can even be considered a "standard".

    GJC

    --
    Gregory Casamento
    ## Chief Maintainer for GNUstep
  309. Primary Selection Considered Not Harmful by Chris+Tyler · · Score: 1

    I'm finding this discussion almost unbelievable!

    Except for broken applications, there is no conflict between the primary selection and clipboard mechanisms. You can completely ignore middle-click and happily use only the clipboard. Almost all modern apps implement Ctrl-X/C/V; some older ones implement Ctrl-Insert/Delete because that was the standard in earlier versions of Motif (it came from the CUA standard ---> IBM Presentation Manager ---> Motif 1.0).

    So you can look at Select+MiddleClick as an optional addition to the user interface. Don't care for it? Just use the clipboard!

    But let's not work ourselves into a sweat and start ripping the primary selection code out of the GUI toolkits. Primary selection is a good thing: it works where clipboard selection doesn't (for example, where a selection is permitted but no Copy function is available), it takes advantage of the hardware (let's use those middle buttons!), and it's a legitimate timesaver for many of us.

    (But to whoever made the earlier versions of KDE operate on the primary selection when Ctrl-X/C/V was used: we sentence you to read the Inter-Client Communication Convention Manual (ICCCM) from the X Window System from Cover to Cover, three times. In 8-point Courier. On red paper).

  310. An aside point... by plaa · · Score: 1

    Not exactly on the point of copy-paste, but I'd like to know who the fscking idiot concieved of drag-n-drop for text and implemented it? Lately I've increasingly often been frustrated by trying to remove/copy/select a piece of a URL, for instance. If I accidentally select too much/too little, I instinctively start to select the correct region. Then I notice that instead of selecting the new part it has drag-dropped the selected text somewhere else! How this can be called a 'feature' (especially in text-entries such as the URL bar) I can't understand.

    The only place I can possibly concieve this being useful would be in word processing, eg. selecting a paragraph and drag-dropping it to another place, but this is exactly what copy-paste is for. Copy-paste is so simple that there doesn't need to be another way to do it. Definately not such an irritating way as drag-and-drop!

    --

    I doubt, therefore I may be.
  311. The Reverse drives me nuts by watermodem · · Score: 1

    As a Unix - Linux etc.. guy the lack of a middle button paste and the stupid control keys drive me nuts with the windows world view.

  312. shift+delete, ctrl+insert, shift+insert by Dhraakellian · · Score: 1

    - Ctrl+C already means something very common and specific (send a SIGINT) in console windows, so the standard Windows-style keybindings cannot be used in console windows. This is a historical clash between the Unix/DOS "Ctrl+C interrupts" and the Windows/OS2 "Ctrl+C copies" (on the Mac the convention is actually Command-C, so Ctrl is still available, and OS X's Terminal uses it as you'd expect) - Windows' MS-DOS-derived command prompt has the same conflict and a similar solution.

    this is one of the reasons I use the combos listed in subject line instead of ^C, ^X, and ^V when I'm not using auto copy and middle mouse. (the other reason being that ^C,^X, and ^V don't make that much sense on a dvorak layout, where they're spread all around the keyboard)

    ^X = shift+delete (it's the only one with del; it cuts)
    ^C = ctrl+insert (you're controlling what will later be inserted. copy)
    ^V = shift+insert (paste)

    I've used these since way back when I was running OS/2, before I was aquainted with *nix's autocopy. I still use them now when I run into problems with Gnome and KDE apps not wanting to play nice with each other's (or their own) clipboards with autocopy (or when I'm using windows with it's annoying lack of automatic copying.)

    (having said all that, I still agree with others who say that klipper and its ilk are awesome and much needed tools)

    --
    I've read Grocklaw. BoycottNovell, you're no Grocklaw
  313. 2 cents by cookiepus · · Score: 1

    The author of the writeup has recieved plenty of advice to "get used to it" and plenty of explanations as to why things are the way they are, but no real answer...

    I sympothise with him because I was in the same shoes. Having developed on Suns every weekday of the past year got me used to the X way of copy/paste but the problem remains, and I sometimes mess up:

    Very common problem is selecting text and accidentally moving the mouse down a little bit so that the whole line is selected, including the line break. This means that when I paste onto the command line (which is where I usually paste into) the line break will get pasted too and submit whatever was pasted to the shell for execution, whether this is what you want or not. It's also common that I select text, then in the process of positioning my cursor where I want the text pasted, I select a bit of text, losing the original selection.

    I would assume that a nice Linux distro could package software that mainly supports the Windows-style copy/paste to aleviate this problem somewhat. No such luck in my work environment (but I mainly use the shell and emacs so it's livable)

    My big issue with Linux copy/paste is that it's stupid when it comes to... well, here's an example. I have a Word document with tons of formating. I copy it, paste it into something that only supports plain text. No problem. Formatting is stripped, text remains. I could NOT get this to happen with OpenOffice and Mozilla. Whatever magic Microsoft does to "downcast" your selection to whatever the app you're pasting into can handle, is a blessing.

    Also....

    Sometimes when I use Windows (which I do at home) I end up selecting some text and not doing control-c or right-click/copy and expecting it to be pasted later on. Of course it doesn't. I was looking for a third party app that would simulate the X way of copy/paste on Windows but never found one (I mean, things like mIRC support this internaly, I want to find something that will make it work in all apps - but no such luck.) BLAH. I just pressed control-e to get to the end of the line and Composer opened.... Any way to get emacs keys to work in Windows Mozilla? I believe they work in Linux Mozilla...

    The best I've found were a couple of apps that keep your clipboard history (Microsoft Office does this when you have one of the Office apps open) which is sometimes handy when you need to paste say 10 separate things from one app into another. You go to app #1, select text1, copy, select text2, copy, etc, then go to app #2 and paste, then past history item #1, history item #2 etc. No need to switch context 10 times.

  314. Re:Pasting urls - use Ctrl-L in Mozilla by RzUpAnmsCwrds · · Score: 3, Interesting

    Sidenote: in Internet Explorer, CTRL+L brings up the "Open Page" dialog and gives focus to the URL field. You can paste in a URL and press enter.

    So this trick is cross browser.

    Also, AlT+D in IE does the same thing as CTRL+L in Mozilla.

  315. I hate Ctrl+C and Ctrl+V by Anonymous Coward · · Score: 0

    You know what, I can't stand those stupid WordStar shortcuts. Ctrl+C and Ctrl+V have well-defined meanings in a lot of apps; Ctrl+C pretty much everywhere. Like Ctrl+Z -- suspend or undo?

    You know, I don't much care about Windows. I prefer UNIX, because its what I'm used to, but when I use Windows, I don't sit there and whine because it doesn't copy the way I'm used to. I recognize that I'm using a different OS and that its paradigms are different. Windows has essentially always used the Ctrl+C Ctrl+V stuff it ripped off from the Mac. In the old days, MS used Ctrl+Insert and friends because in DOS Ctrl+C was the same as Ctrl+Break, usually.

    I appreciate that people want Linux to overtake Windows, but this does not mean doing everything the way Windows/Mac does. Windows and Mac are both different and yet successful. Why must Linux copy either? I like it just fine the way it is, thank you very much, and I would be royally pissed off if some newbie Linux user pining for their Windows/Mac way went and redefined the system I've been using since the 80s, just to suit them. As I imagine they would be if I unilaterally imposed X clipboard semantics onto their OSs.

    The X clipboard does have issues. It isn't properly internationalized, for one, so you can never be sure if non-ascii text will copy properly, but this is more because of a lack of standard than anything else, and the people at fdo.org and such are working on such extensions (which weren't necessary back when all this was designed.) But this is a function of its implementation, not its UI. News flash: today, Windows and Mac do not have good UIs in the scientific sense. The original Mac may have, relatively speaking, but with the introduction of skinning, custom icons, etc, etc, it's all gone way down hill. But people still like it and use it. They just have a learning curve. Sheesh!

    I suggest the following: abandon the use of Ctrl entirely for menu shortcuts in GNOME and KDE, and instead use the Windows key. We don't use it in Linux anyway. On Macs, we can use the Cmd key, just like they do; on Sparcs, Meta; etc. That way Ctrl and Alt can still be used for what they were intended. Emacs keys and sending signals to programs. I wan't to be able to give a window focus and type Ctrl-C, fuck this xkill shit. Or Ctrl-Z, for that matter. Some WMs let you do this (mine does, thank god). But for menu and widget based stuff it needs to be standardized.

    Oh, oh! We could even make it so that Windows users can set Ctrl to behave like the windows key, if they wanted! But the rest of us, who understand that Ctrl and Meta/Cmd/Super/Ultra/Whatever are different keys, we can get on with our lives and be productive.

    Windows UI is Windows UI. UNIX has its own way. It is not inferior, just different. Notice I'm not dogging on Windows here.

  316. Use xclip and a hotkey! by pkeck · · Score: 2, Insightful

    I have my F5 key defined to this:

    xclip -o | xargs -iMYCLIP firefox \
    -remote "openURL(MYCLIP,new-window)"

    Pops up a new window with the selected URL. If you select a whole bunch of URLs, it opens them all in different windows.

  317. linux desktop clipboard by Curunir_wolf · · Score: 1
    freedesktop.org has been working on this for some time, although I don't think there are any really great solutions yet.

    The really weird thing is that a slashdot search of freedesktop returns no hits at all. You would think with all the standardization stuff these guys are working on, they'd be getting metion all the time.

    --
    "Somebody has to do something. It's just incredibly pathetic it has to be us."
    --- Jerry Garcia
  318. The one that kills me by ocie · · Score: 1

    When I am entering text into a form like this and I want to insert something at the begnning of the line. No problem, I'll just hit ^A and start... Wait, I'm not in Emacs, I just trashed my whole post. AAHHHHHH!

    --
    JET Program: see Japan, meet intere
    1. Re:The one that kills me by TiggsPanther · · Score: 1

      having never realy looked at Emacs, are you really saying that it's Ctrl-A then start typing to "insert before"?
      Oof! Across about 11 years and at least 3 different OS platforms, that's the one combination I've learned never to perform.

      On a slightly more serious note, does this interfere with Emacs' learning-curve at all? And does it make it hard to flip between the two?
      (Like how when switching between driving stick-shift and automatic, it it possible to forget which you're in and stall the damn engine)

      Tiggs
      --
      Tiggs
      "120 chars should be enough for everyone..."
    2. Re:The one that kills me by ocie · · Score: 1

      Naw, the ^A is just to move the cursor to the beginning of the line. Unfortunately, this is "select all" in a lot of other word processors.

      --
      JET Program: see Japan, meet intere
    3. Re:The one that kills me by TiggsPanther · · Score: 1

      Heh. Unfortunate really.
      And now I do find myself wondering how many people have been caught out by this at times.

      --
      Tiggs
      "120 chars should be enough for everyone..."
  319. Alternate solution. by Anonymous Coward · · Score: 0

    We don't deal with it. We drop $129 on OSx where real interface and design people are paid good money to ensure things work. That's one of the reasons I switched 3 years ago. I was tired of working with my computer rather than getting work done on it.

    Once OS devs stop building little islands of useability, this may change. If not, Linux will go the way of Novell.. powerful and efficient, but an infentesimal market share.

  320. Gaim by pcmanjon · · Score: 1

    Yeah, did anyone ever notice how annoying it is in GAIM.

    You can't copy IM conversations to any other window, you select it, and it does nothing.

    You ought' to think the gAIM developers(http://gaim.sourceforge.net) would impliment a feature that has been in operating systems since OS/2 and Mac OS 1.4

    Alas, it doesn't appear so though. You can't copy things in to the "chat" box neither IIRC.

    I do know for certain you can't copy stuff out of the "conversation" part of the window, and it's annoying.

  321. Re:Pasting urls - use Ctrl-L in Mozilla by Anonymous Coward · · Score: 0

    Wait...did I just admit I used windows?

    Yes, you did. Fool.

  322. I LOVE MIDDLE BUTTON PASTE by Anonymous Coward · · Score: 0

    I actually really LIKE the middle button paste. I find it tremendously speeds up common tasks.

    My only problem is, I wish Mac OS X and Windows implemented the middle click buffer. Anyone know of such efforts?

  323. Here's my idea by Anonymous Coward · · Score: 0

    My idea: have applications make use of SECONDARY.

    Highlight -- copies into PRIMARY.

    Highlight again -- moves into SECONDARY, and new highlight is in PRIMARY

    Middle click to paste -- if it's in the middle of primary, delete and paste secondary. If not, paste primary there.

    Efficient, and works like it should already.

  324. hehe by Anonymous Coward · · Score: 0

    I highlight->middle mouse button in windows all the time, forgetting that I'm in windows. It really annoys me, because I have to go back to my selection, press ctrl-c, then go back to the browser and highlight the url and press ctrl-v.

    Also, using a terminal with highlight/middle mouse button is awesome. like if I see a directory path I want to go to I type cd, then double click the path to highlight it (in Konsole), then middle mouse button. No futzing around with weird shift->insert or whatever keys.

    Leave the clipboard how it is. Just get the toolkits to agree on common data-type standards (yes you *CAN* copy and paste images and things between programs that understand the data type. We just need to grow the list of datatypes and get the toolkits to support em).

  325. Re:The writer needs a clue. It is orthogonal. by TheRealSlimShady · · Score: 1
    The guy didn't say what apps he uses, or even hint that he had the first clue about X's copy/paste and selection buffers.

    Which I guess illustrates part of the problem - if you have to have a clue about the selection buffers it's probably not an optimal design for average users.

    Eg. I can't think of any two programs that can copy/paste graphics between each other.

    So it doesn't work like Windows then. Windows CTRL+C/V or right click Copy & Paste works on graphics as well as text in Windows.

  326. Which method is more annoying? by Gerr · · Score: 0

    I've been using linux since 1.2.13 and I find the copy paste method to be 100% accurate to how I expect the behavior to occur. I find the opposite scenario to be frustrating -- logging into a windows or cyrus on windows machine and dealing with their draconian cut & patste one hand on the mouse, the other on the keyboard, carpal tunnel syndrome inducing method to be ... lacking.

    If any linux/unix developers are reading this, please don't change linux to match some assinine OS like windows.

  327. the TRUE copy/paste by Anonymous Coward · · Score: 0

    Ctrl+Insert : copy
    Shift+Insert: paste

    the only true cut and paste is the above methods; which cause windows to perform a copy/paste, whereas ctrl+c and v are the software programmed cut/paste. you can copy text out of a non-copy textbox with ctrl+insert. sukka dog.

  328. Going back to windows... by Lakers · · Score: 1

    Going back to windows is by far the most annoying result thing after getting used to the highlight + middle click.

    I constantly try and paste with a middle-click to no avail.

    After much frustration, I finally realize I'm in windows!

  329. Sad really... by daveman_1 · · Score: 2, Insightful

    If there is one thing I have to explain to every person who attempts to use one of my linux machines, it is how to copy and paste. Unfortunately, this is something that has never really worked in a uniform manner for as long as I've been using linux. Some applications won't let you highlight. Some applications will allow you to highlight, but contain no context menu that allows you to copy. Some applications will permit CTRL-C, but not a context menu. Yet other applications, if you are really clever and continue to HOLD your highlighted text with your left mouse button still depressed, you can do a quick CTRL-C with the other hand. But be careful about closing that application you just had open when you highlighted and copied that text. You might have just lost your "clipboard" contents if you did close it... Then there is pasting. The whole gamut of problems which plague copying also apply to pasting. Some applications simply don't know how to accept pasted information. Others will allow you to paste, but you have to figure out their preferred method -- CTRL-V OR right-click, or perhaps they only let you do it from the "edit" menu.

    In all the time I've been using linux applications, this problem has existed. It has gotten better with time, as more standard toolkits are used to develop applications, but the underlying problem is still there and is an absolute CERTAIN stumbling block for new users. They ALWAYS have trouble with the clipboard and quite frankly, don't have the patience many times to try and work around it.

    And just to stoke the flames a bit, the clipboard ALWAYS works in Windows and it ALWAYS works exactly the same way and it isn't dependent on any single application being open to store the clipboard data. Such simple things that Windows users do all day every day, such as copying the contents of a word document into notepad to kill all formatting, then copying it back into say a web editor is a task that is typically awkward to attempt in linux applications. And the damn clipboard has worked perfectly in Windows since Windows '95.

    WHY can't the clipboard problem be fixed? Why hasn't the clipboard problem been fixed by now? Good grief, I know I am not the only person who has this problem on an HOURLY basis when trying to get ACTUAL work done. There needs to be ONE clipboard mechanism that is useable UNIVERSALLY by all applications. It is such an important thing to get right because it affects so much. And the old highlight it and it is copied crap is just that. It needs to die. That is too much to assume about the user's intention in making a highlight.

    Ok, that feels better to get that off my chest. :-) Anyone have any real solutions to this problem? Solutions that ALL applications can agree on? Probably not, else we would have one by now...

    --
    Russian Russian Russian RussianDollSig DollSig DollSig DollSig
    1. Re:Sad really... by nevets · · Score: 1

      I agree that I've too have had problems with the copy/paste. But it is usually for things other than real work. For instance, when the gnome tips is set to fortune, and I like one and want to mail it to someone, it doesn't let you copy it. So I have to search it up in the fortune database and get it from there (or just type it in by hand). This isn't really that important, but is annoying.

      The reason it works in Windows and not in Linux is the way that Windows GUI works compared to Linux. With linux, everything is more modular. X windows runs separate from the kernel, The Window manager runs separate from X and apps run separate from the window manager. With windows, you only have the OS (kernel, Gui and window manager rolled into one) and the apps. The cut and paste is controlled by the OS with little help from the apps. With Linux, theres more than one way because of the different controls. This makes Linux more flexible to the developer, but unfortunately it does make things like cut/paste a little more difficult for the average user. But, I'd sacrifice the cut/paste of Windows for the Linux way just to get something that is as flexible as Linux.

      I'm sure that soon (or later) there will eventually be a standard that will define how cut/paste should work in all programs and a defined API to use it. It's just one of the many things needed to be done in Linux to be ready for the mainstream desktop. The more commercial linux becomes, the closer this will happen.

      --
      Steven Rostedt
      -- Nevermind
  330. vim - middle mouse button by yow2000 · · Score: 1

    In vim, you can disable the middle mouse button (by making it act like the left button) with:
    map <MiddleMouse> <LeftMouse>
    map <2-MiddleMouse> <2-LeftMouse>

  331. For gnome... by Mongoose · · Score: 1

    There is the gnome clipboard deamon that stores your selections in a stack / list. I don't know how widely it's used atm.

  332. Re:Pasting urls - not just urls - anything in KDE by EvilSmile · · Score: 1

    The Klipboard feature helps solve this very problem (though it may have other functions as well). Just have it always running on your KDE bar and this problem is mostly solved. All I have to do is go to the Klipboard and select what I want to paste. You may ask "Isn't it the same as copying again?" but it isn't. It is much easier and you could have closed the app from which you copied the text...

  333. I wouldn't resort to Ctrl+? by Anonymous Coward · · Score: 0

    Well you mastered this wonderful feature of UNIX which I find much more intuitive than silly key combinations like on the Mac or under Windows.

    However I have to admit that I noticed the same behaviour as you regarding the deletion of selected text. I assume this is because I'm forced to use Windows at work (disgusting). The best solution would be to abolish Windows entirely . Since this is not possible I think I have to use my brain before copying more often. Remember first delete then copy. You could even do that under Windows. Clearly this would never happen if I used Linux more frequently than Windows. Such a shame!

    Always remember: its Windows fault not UNIXes.

    Well If you want something in between you can always select then point the cursor into the URL bar delete the URL by hand and paste the selection. How is that?

  334. Scroll mouse? by Elpacoloco · · Score: 1

    Get a scroll mouse!

    Um, I'm a student. What money do you propose I pay for this mouse with?

    (How do you switch weapons in UT2k4 without it?)

    Assuming you're referring to "Unreal Tournament," I don't own it and have never played it. I just want to ctrl+c a URL and paste it in the address bar without it deciding to copy the address already in the bar, thus undoing the copy!

    1. Re:Scroll mouse? by ChrisJones · · Score: 1

      You can Ctrl-C a URL and paste it into an address bar without undoing the copy.

      Highlight the URL you want to copy and press Ctrl-C, highlight the URL you want to replace and press Ctrl-V.

      Seriously, everyone who is in any doubt about X's two clipboard strategy needs* to read this article by Jamie Zawinski. If you understand the X clipboards and use them properly it's far more efficient than the windows clipboard (although Windows still has the edge on moving complex data between heterogeneous applications, which is quite poor of us since X has a very flexible mime type system in the clipboard).

      The one thing that always confuses me is that if you don't tell someone about the middle mouse button, the clipboard works exactly the same as Windows, so why is it that the little nugget about mmb paste gets through to people, but not the fact that it's seperate to the ctrl-c/ctrl-v clipboard? ;)

      --
      Chris "Ng" Jones
      cmsj@tenshu.net
      www.tenshu.net
    2. Re:Scroll mouse? by otis+wildflower · · Score: 1

      Um, I'm a student. What money do you propose I pay for this mouse with?

      $10-15 for a mouse? Sell some blood or something.. Skip a case of beer or wait until Harry Potter comes out in a second run theater.

      Where there's a will, there's a way...

  335. *sigh* by Anonymous Coward · · Score: 0

    What a sob story..from an ex windows user of course. GET OVER IT. Stop trying to make linux behave like windows. I find the standard copy and paste functions of X very quick and precise.

  336. That should read about:config by Anonymous Coward · · Score: 0

    Sorry, didn't preview. Change about:prefs to about:config in the parent -srcosmo

  337. BRIEF. From UnderWare. by Intraloper · · Score: 1

    My wife used to write marketing copy for BRIEF, after it was bought by The Programmers Shop, and before TPG went bust. A relatively brief interval, actually.

  338. 2 options by Grifter · · Score: 1

    well buddy you have two options. They are commonally called the Backspace -------- key and the Delete key. Holding these down will rapidly erase text. It's a novel idea, one that i'm sure will loose itself in the hussle of the world today. Also in most BIOSs there you may have an opprotunity to set the repeat speed of you keys on your keyboard. Thus increasing the speed of your deleting. (GNOME 2.6 also has this functionality)

    Good luck on learning these new keys. :)

  339. Re:"Correct?"-- A bit off topic, a bit flame-y by Anonymous Coward · · Score: 0

    Your mother is a dumbass. I don't give a shit about dumbasses, let them bleed Windows dry with stupid ass support calls.

    My fucking 7 year old brother picked it up, even after learning how to use Windows first.

    It's not rocket science, even your Mother had to learn at one point not to hold the mouse upside down.

    OMG! USABILITY ISSUE! She should be able to use the mouse EVEN IF IT IS UPSIDE DOWN.

    Because she should never have to learn how to use a computer to use a computer.

    That's why MICE WILL NEVER BECOME MAINSTREAM.

    Those hardware makers sure are arrogant SOBS. Mouse that doesn't work upside down, pfttt... Keyboards type just fine upside down, but a mouse is all reversed and shit.

  340. You've got to be joking by Anonymous Coward · · Score: 0

    This is unbelievable. As Chevy Chase said, "You're all fucked in the head."

    I love the X-style copy/paste mechanism. It's so smooth and simple. If I highlight something from any source, I want it to always be ready to paste next. That's a brilliant idea. Why do I have to use the QWERTY-specific, claw-stroke to do the obvious thing? I've already got my hand on the mouse; some mouse action ought to paste my selection.

    This is just unreal. People always complain here that Linux isn't as easy to use as cheeze-wiz, and now you want to "standardize" on some (other) arbitrary action or key combo!?

    THIS is what draw's out the Linux zelots. You learned how to do this somewhere else and then, when picking up a system you know to be completely different, and deliberatly so, you not only expect it to work the same in every way, but you don't realize that someone else thought of this before you and decided to do it differently for, what could be, a really good reason.

    Fine. I think it's better this way. So there; now what? Happy? Does that satisfy you? I think you should learn X and like it. But, you think differently, of course. Isn't life grand?

    I learned on MS Windows, too. And I love X-Windows; especially this feature. So, face the fact that there's no way to make everyone happy. There is no perfectly intuitive interface. Get over yourself. Try to image what it would be like to start over, without having to fit the world to your hammer. You might like it. Or you might not. That's the promise here. Not that you will like it, but only that what you like is possible.

    I hope you find happiness...somewhere else.

  341. emacs keys to the rescue! by Anonymous Coward · · Score: 0

    I've come to find that unix-style copies are quite nice when coupled with emacs editing keys. in the example of wanting to paste a url to a browser, i would click the url box, ctrl-a, ctrl-k, and middle click to paste.

    for reference, ctrl-a = cursor to beginning of line, ctrl-k = kill text after cursor

    unfortunate for me, many newer applications and revisions of libraries have abandoned support for emacs-style editing. for these applications i keep open any simple text application that has good support for copy-paste.

    too lazy to create an account right now -- Tyln

  342. ^U & ^K for urls by Anonymous Coward · · Score: 0

    mozilla and some other apps still honor at least ^U to delete backwards from the cursor,^k for forwards. Too bad all apps don't reserve a handful of the more sacred keyboard shrtcts.

  343. Why don't you ... by Pogue+Mahone · · Score: 1
    ... simply paste what you've copied first, then delete the old stuff afterwards. It's a small price to pay for the advantages that the X system brings.

    For more complicated cut'n'paste operations I find xclipboard useful.

    --
    Every bloody emperor has his hand up history's skirt [Peter Hammill/VdGG]
  344. Re:"Correct?"-- A bit off topic, a bit flame-y by Anonymous Coward · · Score: 0

    Why would your mother want to use a compiler? She probably wouldn't. But would you suggest we get rid of compilers too?

    Why not just let your mother not use a compiler, and let her stick to Ctrl-X/C/V like she is used to, and never bother her with learning programming and select/middle-click? It's not like she is forced to use it.

  345. My solution... by VON-MAN · · Score: 1
    to this behavior is to use a klipper key shortcut (and yes, this is a lefthanded KDE solution). When i need to use an older selection (somehow i never get the wrong selection) i push CTRL-\ to pop-up the klipper selection list. For me this works like a charm.

    A righthander could use CTRL-`

    Jaap

  346. Hmm... by infernux · · Score: 1

    I really don't see the problem. I use Linux for a long time now and I really love the mouse-selects-middle-pasts... this is a feature, not a bug! There are problems, yes, like the "clipboard" will be emtied when the window closes, this IS bad. but everything besides this is very handy. >> As in, I'll highlight text to copy it, then >> realize I want to highlight a block of text for >> the purpose of deleting it. Of course, the >> second highlighting overwrites the first >> highlighting. This is nonsense... if you want to past the whole text, just do it and delete wahtever you like in the source text after that. if you realize you don't want something pasted then deleting it after the paste in the new document is easier anyway. scenario 3: you have selected some text and realize you want to delete a section of it also in the original (before the copy&past)... First this is your problem (you should have done before) but just cont the clicks: UNIX: select text, deselect text, select text to delete, delete, select text to copy, paste WINDOWS: select text, copy, deselect text, select text to delete, delete, select text to copy, copy, paste So this is actually easier on *x...

    1. Re:Hmm... by Antity-H · · Score: 1

      Actually I think the problem the original author has ( and I actually have the same occasionnally), is that you can't paste _and_ delete at the same time(==replace a bloc by another) which you can do in windows

      In windows, I select the text I want, use ctrl-c, then select the text I want to be replaced and hit ctrl-v

      This is the scenario which poses problem in linux. However, I still think the highlight==copy is great. Especially when coupled with klipper. Klipper remembers the last selections you made so you can always get the previous copy buffer if you make a mistake.

  347. Re:Pasting urls - Paste & Go Extention by MackTK · · Score: 1

    There is an addon for firefox called "Paste and Go" which does exactly what you describe. I have no idea how well this works on *nix but its sweet on win32.

  348. Unix UIs are less modular by pluvia · · Score: 1

    Note that I'm stating that unix User Interfaces tend to be less modular and NOT unix OS design in general, which can be very modular and clean.

    The problem is that highlight/middle-click muddles and hinders the modular combination of logically simple and orthogonal commands to form more complex commands. i.e. By performing two actions upon highlighting (select AND copy), we cannot build an operation which "selects" without "copying" using this technique. As the author of this article observes, this greatly limits what you can do between performing a "copy" and performing a "paste"; namely, you cannot select anything else.

    In a more modular system, highlighting serves a single purpose: selection. Subsequently, another command may be given to perform some operation on that selection. In this way we can combine a few simple and logically orthogonal commands to build a more complex command.

    In fact, this is my complaint with the UI of *nix programs in general (e.g. text editors). Rather than logically and modularly combining a few simple orthogonal operations, a multitude of distinct key sequences are used. e.g. with CUA (Windows) keybindings, you have the navigation keys (arrows, home, end, pgup, etc.). Adding ctrl to the left and right arrows moves by words. On top of these navigation keys, adding shift causes selection of the text you navigate. Each addition has a clear and logical role in modularly forming the compound command. Selecting a line is as simple as Home, Shift+Down. Copying to the Clipboard does not impede any subsequent editing; the Clipboard is a logically separate entity.

    Of course, additional macros can certainly be created which bind to any mouse and key presses in order to improve user efficiency, but these should exist on top of a simple, logical, and modular UI for combining commands. Hence, you are welcome to X's highlight/middle-click, but it is very important that there also be a logically separate Clipboard with explicit copy and paste commands for modularly creating compound commands.

    This is why CUA (Windows) keybindings and style of editing are infiltrating the unix UI; because they are more modular and simple.

  349. Xcutsel by keli · · Score: 1

    X actually has different ways to handle cut/copy and paste.

    The method you mentioned is the one most used and supported in almost all X application is called the primary selection. (There is also a secondary selection, but the only application i know that supports it is Nedit)

    X also has a feature called cutbuffers. Which is buffers of text stored in the x server. (Regarding the primary selection, the x server only remembers which window has it... the application running has to respond to events from other applications wishing to read it.)

    For applications that do not support CTRL-C/V, you can run xcutsel. Xcutsel is an ugly X app with three buttons that allows you to copy the contents of the primary selection to cutbuffer 0 and select the contents of cutbuffer 0 for pasting with the middle mouse button.

    And apparently CTRL-C/V is implemented in a whole 3rd way... hmmm... maybe X is sometimes too flexible for its own good

    I use this mostly when running a VNC client on windows on a linux VNC server for copying text back and forth between windows and the X applications, as VNC places what you copy in windows into cutbuffer 0 and not the current selection.

    Hope this helps....

  350. I actually dislike ^Z, ^X, ^C and ^V by SpaghettiPattern · · Score: 1

    X-Windows is the first window environment I worked with where copy/paste works the X-way.

    Then for me came MacOS 5.x ( <APP>Z, <APP>X, <APP>C and <APP>V ). MS Windows basically copied the MacOS behavior but with the <APP> key missing on the AT keyboard, the <APP> was replaced by ^ (Control). Now how am I supposed to differ between an interrupt signal and a copy command? Sure, shift-insert etc... Bugger!

    Most of the time (say 99% of the cases) I intend the selection to be put into the copy buffer and I want to paste it somewhere else. I hate having to do ^C and ^V on MS Windows and love the selection/middle button from X-Windows.

    In fact, I find the MS Windows user interface the prohibitive factor in being productive on MS Windows. Just watch me writing code on xterm/vi!

    --

    I hadn't the slightest objection to his spending his time planning massacres for the bourgeoisie... (P.G. Wodehouse)
  351. Re:Pasting urls - use Ctrl-L in Mozilla by Talthane · · Score: 2, Informative

    Cmd-L works in Safari too (as you might expect, since it and Konqueror are practically identical at times).

    --
    "This is why men never share their feelings; because women always remember." -Just Shoot Me.
  352. a 3 button mouse can copy and past very fast by Anonymous Coward · · Score: 0

    given 3 buttons and a nice file interface/editor* it is possible to copy and paste very fast. mouse chords takes away the time consuming ''let go of the mouse and find the keyboard'' part of copying, without having to spend time with opening and searching menus.

    * wily http://www.cs.yorku.ca/~oz/wily,
    acme http://swtch.com/plan9port

    bengt

  353. you dumb linux kiddie by Anonymous Coward · · Score: 0

    Just click the cursor at the end of the url/string that you want to get rid of, hit ctrl+u, and then paste as normal. Note that ctrl+u erases to the beginning of the line, ^, whereas you can then paste that text back with ctrl+y

    Get some skills, mandrake boy.

  354. You don't like LINUX copy/paste...Try Plan9 by tewner · · Score: 1

    With plan9 you can select text to be run when you release the button, ie:

    Press button 3 to highlite text. When you let go, what's highlited get's immidietly run in rc (the terminal). No need to press enter or anything...

    That WM is crazy.

  355. I'm not sure about you. by strider_starslayer · · Score: 1

    But on my system (Gentoo PPC on a 333mhz iMac), Ctrl-C has it's own 'clipboard' and highlight has it's own clipboard, so if I highlight one thing, press CTRL-C, then highlight something else- then go to another program and press CTRL-V and then Middel click, I will get two completely seperate peices of text- and once I got used to the 'two clipboard' system, it was actaully something interesting, I've found a couple specialized applications for it.

    Back to the point however, on my system at least CTRL-C highlight what I want to write over CTRL-V, works, in every X application I have. So maby the problem is not you, but your distrobution; try another one?

    That is, it works when the iMac is not busy recompling X over a three day strech of time- or is it no longer 'cool' to make fun of Gentoo's compile times?

    (gentoo wasen't actually my first choice- but it's all that I could get to run on it; however I'm quite pleased with it now, and might actually use it on another system when I upgrade)

    --
    -Millions of Monkeys, Millions of typewriters, 6 hours of sorting through faeces encrusted pages to find: This post
  356. Another Linux Advantage over Windows (Thanks!!) by The+MESMERIC · · Score: 0

    I am not embarrased to state: I am a n00b.
    My experience of Linux is probably what? coming to 9 months now I think.
    I found ctrl+C and ctrl+V the clunkiest feature in Linux, a real chore, like lifting some-heavy weight.
    It is as if there was a lot of conflicting confused communication going between the clipboard and the apps. It felt hard, and at times didn't even work. Often I would resort to a left-click for a pop-up window and then select copy/paste to be more secure.
    But this Middle-Button stuff is great!
    And I bet because it's a Unix standard - its probably faster and more efficient than ctrl+c/ctrl+v.
    The highlighting-that-copies reminds me of that IRC Pirch Program. So much simpler.

    You learn something cool in Linux every day - nice one, thanks!

  357. Quite important though by not_a_product_id · · Score: 1

    ...before you can tryly say that Linux is ready for prime time
    I think this is quite an important point in encouraging people to move across from Windows. I've been slowly teaching my friends (who recently got their first computer, with XP Home) to use copy 'n' paste more and they love the feeling of power it gives them. (Hey, it is their first computer!). If they were moving to linux and discovered one of the few 'power user' things they could do suddenly didn't work it could be enough to put them off for a long time. Yes, I could try to 'educate them' but that's not going to do any good at that point. Not saying that different isn't good but it's something to think about.

    --

    ---
    We spoke for about a half an hour. I don't recall a thing we said. - Colorblind James Experience

  358. simultaneous use is great by wdebruij · · Score: 1

    Although there are already some 300 posts I haven't read one success story yet (then again, I read at +5).

    I'm actually extremely happy with the current situation, and use the two mechanisms at the same time. For instance, when I'm editing a text or sourcefile, I use ctrl-x/ctrl-v for moving around large portions of the code. As long as I havened pasted, the original order is still in tact.

    Then, using the X-windows selection mechanism, I first clean up the new location before pasting. Especially in large files this saves a lot of scrolling through the text.

    nb: perhaps others have written similar stories, but then they weren't modded up till 5: interesting. I only read about 30 `I can't use it so it must be bad stories'. What does this say about the /. crowds? Would the real geeks please stand up ;)

    Oh, and ofcourse you can always choose not to use either of the mechanisms, so please stop complaining. The fact that you have the choice is good. I hate posts saying that this is why F/OSS / Linux / insert keyword here hasn't broken through on the desktop yet.

  359. KDEs Klipper comes handy to help you by jiggs · · Score: 1

    The klipper applet that runs in the kicker of kde is very use ful to over come the select copy and ctrl+c methods. it combines both and you can copy using select ot ctrl+c select new text to delete and use ctrl+alt+v to select from a list of text copied in the clip board and then use ctrl+v or middle click to paste.

  360. UNIX has a Copy and Paste Paradigm? by EmagGeek · · Score: 1

    When the F did this happen? :)

    Seriously, UNIX/Linux/Solaris/etc have GOT to get on the clipboard bandwagon...

  361. Here's another feature I'd miss by PhilHibbs · · Score: 2, Interesting

    ...if I switched to *nix.

    I write a lot of short perl scripts that read the clipboard, transform it, and then write it back. De-duplicating lines, converting each line to an entry in a comma-separated list, tr/-_/_-/, translate characters to HTML entities (< to &lt; for instance - there, I just used that one!), wrap the text in <blockquote><i> </i></blockquote> (there - I just used them both!)

    In addition, I have them bound to bucky combinations - Ctrl-Shift-Q for blcokquote, Ctrtl-shift-[-] for the -_ swap, thing, etc.

    I don't know if this is possible on a *nix desktop, but I can't see a unified *nix clipboard module for perl.

  362. my notes by pixelbeat · · Score: 2, Informative

    X' clipboard confused my when I started so I made these notes:

    X has 2 clipboards. There is a selection buffer which is updated
    automatically when you select any text. You can paste from this
    buffer by clicking the middle mouse button.
    Then there is the clipboard (which can be managed using
    the xclipboard utility), which works like the windows equivalent
    (Ctrl+Insert or Ctrl+c for copy, and Shift+Insert or Ctrl+v for paste)
    Note gnome-terminal uses Shift+Ctrl+c and Shift+Ctrl+v instead.
    Note when you copy something in an X application
    and you close it, the content of the clipboard and selection
    buffer is lost (unless you use an external app to manage the
    clipboard (like xclipboard)).

  363. Clipboards right now by GeekDork · · Score: 1

    The problem lies mostly with X which implements those selection buffers. One (cut buffer) is never used. Then, you have the primary buffer that gets selections and an actual clipboard. IIRC, the clipboard is restricted to pure text and a potential performance problem since it is stored on the server instead of being handled on the terminal. So if you try to copy a large amount of text via the clipboard on a remote session, that might very well take a long time.

    Now, when something is put into the primary, it is not actually copied anywhere. Instead, the application tells X that it is now "owner" of the primary selection. When another application receives a middle mouse button press, X sets up a link between the primary owner and that application and the owner pretty much dumps the selection into the requesting application. There is however the (apparently rarely used) possibility of doing a content-type check and negotiation, so that a text editor might refuse to accept images and the owner can then decide to send a text equivalent (like the filename, URL, alternative text, etc.).

    --

    Fight hunger. Filet a politician and send him to a 3rd world country of your choice.

  364. Thank You by CanadianCrackPot · · Score: 1

    I never realized there were two clipboards for copy paste. I've always used the M$ ctrl-ins(or c) or shift-ins(or v) all my life.

    --
    Good programmers drink beer to relieve job stress.
    Great programmers drink hard liquor and work best hungover.
  365. laptops by kwoff · · Score: 0

    The worse in my experience is on laptops where you have a touchpad and two crappy thumb buttons. It's infuriating trying to paste things on my HP laptop a lot of the time. I often end up giving up and type the URL in by hand.

  366. Re:The writer needs a clue. It is orthogonal. by CarrionBird · · Score: 1
    It's pretty self evident from what little info we have. If the apps did consistantly use the same model, he wouldn't be having this problem at all.

    And it would be nice if the clipboard(s) handled more than text.

    --
    Free Mac Mini Yeah, it's
  367. Re:The writer needs a clue. It is orthogonal. by Ender+Ryan · · Score: 1
    Which I guess illustrates part of the problem - if you have to have a clue about the selection buffers it's probably not an optimal design for average users.

    No, that's completely wrong. You don't need to have a clue. If you don't know anything about it, it works just like Windows. Control+C/V/X. If you are a "power user," however, there is extra functionality that you must understand to use correctly. Said extra functionality doesn't even interact with the "regular" clipboard. Sheesh... Is it too much to ask that people get a clue before chiming in on discussions? "X suxx0rz d00d!"

    So it doesn't work like Windows then. Windows CTRL+C/V or right click Copy & Paste works on graphics as well as text in Windows.

    Correct, or almost. That is a real problem in X and X apps, and people are too stupid to complain about that and instead complain about problems that don't even exist.

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
  368. Re:The writer needs a clue. It is orthogonal. by expro · · Score: 1

    Just like windows. For an extreme case, perhaps you have never tried to use "edit" to edit a text file on Windows XP. It violates all the UI rules for Windows, yet it still apparently ships with windows and some people still try to use it I have observed, because it is called "edit" so it seems to some like it should be the default. Notepad was badly broken in many releases of Windows as well. People had to use a word processor like WordPad to get reasonable text editing.

    There are plenty of apps to choose from in a typical Linux distribution, and most work exactly the way they should.

    You can find abberant apps if you look hard enough for any OS, but blaming the OS for inconsistency of apps is silly. It is not like this is rocket science or some deep dark secret how it is supposed to behave.

    Just because the apps he uses, which he hasn't even identified, are not conformant (but I suspect misreporting and user error) does not mean that there are not standard apps he could be using that are conformant.

  369. I think your full of it!... by pUNX.h · · Score: 1

    I think the Linux/Unix Cut & Paste is WAY better then windows... at work/home i use Linux, Windows, and Solaris... I don't have any problem with Unix cut and paste... I prefer it....

    every once an a while some java app are don't copy/paste write... But if i slow down my high speed cut and pasting everything works GREAT!....

    I wish windows cut and paste worked like Unix...

  370. my solution by CaptnMArk · · Score: 1

    Personally, I bind middle click to "shutdown X server"

  371. Re:The writer needs a clue. It is orthogonal. by CarrionBird · · Score: 1
    Your example isn't even correct. Edit (a old DOS program) uses the MS standard keyboard shortcuts for copy and paste. No, it does not integrate with the windows clipboard because it's, (drumroll) a DOS program.

    And the guy admits to user error, his whole complaint is that it is too hard to learn.

    Just because the apps you use are conformant, doesn't mean that the apps on his distro are conformant.

    You are taking the tried and true, "It works for me, so you must be an idiot" path. Why? If 99% of the posters as you say, think there's an issue, doesn't that seem like a good indicator of something that should be improved?

    --
    Free Mac Mini Yeah, it's
  372. Not exactly by Bilange · · Score: 1

    Using FireFox 0.8 on Fedora Core 2, middle-clicking on the tab bar will load the url in the current (active) tab, ctrl+middle click will open in a new tab.

    --
    "...a generation of kids has grown up thinking Trance is the shittiest music since country and western." - Paul van Dyk
  373. Re:The writer needs a clue. It is orthogonal. by expro · · Score: 1

    You need a clue as well, about what was posted by most people, about Windows, and a great many other things. The keystrokes that work on the edit program are not the windows keystrokes. And why is expecting an old DOS or older Windows programs (even written by Microsoft) to support standards any sillier than expecting an old X program to do so? Oh, they are Microsoft and you paid them hundreds of dollars, so they can do no wrong.

    Just as in Windows, most up-to-date well-supported Linux programs support the standards and many that are not up-to-date or well-supported do.

    The poster, and you, were not even cluefull enough to post what program you had the problem with.

  374. Actually it's because of CHAR * by Hyperfrog · · Score: 1

    IIRC the weird copy and paste in *nix has to do with the selection being stored as CHAR * .. which leads to interesting issues when you are copying something which may or may not be standard ASCII .. Unix hatersanyone? :-)

    --
    Move faster
  375. Too many different ways in X by TheLink · · Score: 1

    If they aren't happy with the way things work most people will just use something else. They're not fixers.

    Two "clipboards" is too much for most people to handle. Add the fact that some apps want you to use alt-c instead of ctrl-c, some support ctrl-insert in addition to whatever they show in the edit menu, some need ctrl-shift-c, and some only work with the middle mouse button crap - you're looking at a big mess.

    If things don't improve most people _should_ continue to use windows OR MacOSX, and leave the complex stuff to the clever people.

    Most people are creatures of habit. They like routine. Stuff must behave the same way. Heck if their routine is backing stuff up and reformating and reinstalling windows, so be it, you'd be surprised how many people prefer living in a "predictable" world no matter how tedious it is. They get annoyed with windows not because it crashes, but because it often crashes "unpredictably". If it only crashes if they do XYZ, then they just won't do XYZ. They're not the sort who'd go - ah it crashes, let's see if it's exploitable.

    How does Apple do it with MacOSX and various X apps? They're the one who popularized the copy and paste thing with their first Mac OS. Windows just copied the stuff. AFAIK the Mac and Windows style is very similar. So it's better if the X windows people follow the same concept even if it means breaking a few eggs along the way - I personally think breaking the old X apps for better Linux desktop adoption is worth it. Most of the old X apps aren't worth running. Heck you want the old behaviour make it an option and not the default. The smart ones can figure it out.

    The stupid ones are more plentiful than the smart ones, so if people _really_ want adoption by the _masses_, then cater for the stupid. So what if the smart ones get annoyed. They're smart, they'll learn, they can workaround almost anything. Do it right and they might even think it's an interesting challenge.

    Those who say there isn't a problem, are actually people who don't get it. We're talking about usability. The fact that many people think there is a problem, means there is one. Even if it's because they are confused over something, it means something is confusing and thus there is a problem.

    If the OSS developers are happy with the way things work, I'm sure MS will be very happy too and some of the smart ones aren't so smart after all.

    --
  376. Re:The writer needs a clue. It is orthogonal. by CarrionBird · · Score: 1

    Hmmm....

    In edit paste is.... Control+V

    copy is.... Control+C

    Clue anyone?

    It doesn't even matter, expecting a old DOS program to act like a windows one is like expecting vi to conform to X standards, it's silly. It was a terrible example.

    Either way, why not just suggest that the guy use Kde or Gnome apps strictly, that would have been far more constructive than flaming him.

    --
    Free Mac Mini Yeah, it's
  377. Just FIY by Sunnan · · Score: 2

    If it's not an URI, Firefox will try to load Google's lucky-hit for that string.

  378. Re:The writer needs a clue. It is orthogonal. by expro · · Score: 1

    >Hmmm.... > >In edit paste is.... Control+V > >copy is.... Control+C Hasn't worked for anyone I have seen using the program on XP including a week ago. The cut and paste are weird combinations with the insert and delete keys, if memory serves me. Perhaps you had something operating as part of your Windows command box you were executing it in. That would also explain why you do not mention remove. Is two out of three good enough for you, or is that what the standard says, editors do not need to be able to cut? That is the first command I try to use. I think you are clueless. >Clue anyone? Yes, go find one. >It doesn't even matter, expecting a old DOS >program to act like a windows one is like >expecting vi to conform to X standards, it's >silly. It was a terrible example. The sillyness was about the same as your expectations of old apps to conform to Windows cut copy paste keystrokes. >Either way, why not just suggest that the guy use >Kde or Gnome apps strictly, that would have been >far more constructive than flaming him. If you think that is good advice, then you should go for it. I would not have suggested it, because I have not noticed that this good behavior was restricted to Gnome or KDE apps. But the poster's understanding of things was as screwed up as yours, not understanding that middle click is not a paste from clipboard, so criticizing it was silly, when the rest of the operations work fine in major/supported apps, just as on Windows. The argument that Linux somehow cannot extend the model because it is too hard for a few low-end Windows users to peek outside of their box is just plain silly. Bottom line is that most apps just work, just like on Windows, and blaming Linux for apps that do not is just plain silly, and not reading the documentation to have a clue about an operation for which there is no common Windows equivalent and criticizing it because it does not duplicate existing Windows functionality is something a Microsoft whiner might do, but not anyone with any intelligence or self respect.

  379. Solution: SECOND selection in X by Anonymous Coward · · Score: 0

    I once proposed that the "SECOND" selection in X be used to fix this. When you highlight something new, PRIMARY is copied into SECOND. When you paste, if the selected text is the same as PRIMARY, SECOND is pasted instead of PRIMARY.

    This requires toolkit support, but it would solve the problem. SECOND is currently unused.

  380. Sorry, I posted instead of preview before markup. by expro · · Score: 1

    >Hmmm....

    >

    >In edit paste is.... Control+V

    >

    >copy is.... Control+C

    Keystrokes haven't worked for anyone I have seen using the program on XP including a week ago. But being unfriendly to users is apparently not a crime when Microsoft does it.

    The cut and paste are weird combinations with the insert and delete keys, if memory serves me. Perhaps you had something operating as part of your Windows command box you were executing it in. That would also explain why you do not mention remove. Is two out of three good enough for you, or is that what the standard says, editors do not need to be able to cut? That is the first command I try to use. I think you are clueless.

    >Clue anyone?

    Yes, I have, but you should go find one.

    >It doesn't even matter, expecting a old DOS

    >program to act like a windows one is like

    >expecting vi to conform to X standards, it's

    >silly. It was a terrible example.

    The sillyness was about the same as your expectations of old apps to conform to Windows cut copy paste keystrokes.

    >Either way, why not just suggest that the guy use

    >Kde or Gnome apps strictly, that would have been

    >far more constructive than flaming him.

    If you think that is good advice, then you should go for it. I would not have suggested it, because I have not noticed that this good behavior was restricted to Gnome or KDE apps.

    But the poster's understanding of things was very screwed up, not even understanding basics that middle click is not a paste from clipboard. So criticizing it was silly, and never should have been accepted as a story on Slashdot except for roasting. The rest of the operations work fine in major/supported apps, just as on Windows. The argument that Linux somehow cannot extend the model because it is too hard for a few low-end Windows users to peek outside of their box is just plain silly.

    Bottom line is that most apps just work, just like on Windows, and blaming Linux for apps that do not is just plain silly, and not reading the documentation to have a clue about an operation for which there is no common Windows equivalent and criticizing it because it does not duplicate existing Windows functionality is something a Microsoft whiner might do, but not anyone with any intelligence or self respect.

  381. Because that doesn't work by Elpacoloco · · Score: 1

    Highlight the URL you want to copy and press Ctrl-C, highlight the URL you want to replace and press Ctrl-V.

    If I do that, it pastes the highlighted URL instead of the copied URL. Which is not what I wanted. I'm not sure if this means my X installation is misinstalled or what.

    1. Re:Because that doesn't work by ChrisJones · · Score: 1

      I would say that definitely sounds like either your browser or your X server is confused, because that really should work. It certainly works as expected in epiphany and mozilla here.

      Is similar behaviour displayed in other things? If you Ctrl-C some text in a text editor, select some other text and then Ctrl-V, does it paste what you copied or what you subsequently selected?

      --
      Chris "Ng" Jones
      cmsj@tenshu.net
      www.tenshu.net
  382. I'll pass by Elpacoloco · · Score: 1

    The mouse I have works fine as is, and $10 would get me share in stock that would pass me additional money every three months. Or, you know, food.

    Honestly, I might be annoyed that ctrl+c then ctrl+v doesn't do what I expected it to, but buying a new mouse is hardly going to fix that.

  383. Wow, hey, it's fixed. by Elpacoloco · · Score: 1

    I just used apt-get to install the newest X drivers, and now it believes more normally.

    Must have been a bug with that version.

  384. You're forgetting OpenLook by dododge · · Score: 1
    Before the influx of Windowsisms caused by the attempts of Gnome/KDE to attract converts from Windows and Mac, there was a single standard that worked everywhere; highlight, middle click. The only app that I remember ever having trouble with it was Netscape 4,

    Actually the lack of a single standard goes back further than KDE, Gnome, Netscape, or even Linux. Just ask anyone who had a Unix desktop in the late 80's and early 90's, when the workstation vendors started switching over from their proprietary windowing systems (Sunview, Apollo/DM, and so on) to X11.

    There were several toolkits in use at the time. Older applications with simple interfaces, such as xterm, might use Athena widgets or raw Xlib. Highlighting and clicking the middle mouse to paste the primary selection was typical.

    Some newer applications started using Motif or something similar. They typically supported the highlight and middle click behavior for the primary selection, along with some cut and paste menu items that might or might not interoperate with other applications.

    And then there was Sun, who had to do it their own damn way, with things like OpenLook and XView. Highlighting and/or middle mouse behavior in those applications was usually a disaster. The fact that Sun (and others) had custom keys on their keyboards just for cutting and pasting, left over from the days of their proprietary windowing systems, didn't help. Heck, Apollo had about two dozen special keys for window management and other GUI-related stuff.

    I've actually got a Solaris 2.4 (circa 1994) machine accessible to me; let's see how /usr/openwin/bin/textedit (an XView application) behaves:

    • If I highlight some text in textedit, I can paste it with the middle mouse button into emacs, xterm, and others. I think that may be improved behavior over earlier versions.
    • If I highlight some text in xterm, and hit the middle mouse button in textedit, textedit decides to interpret that as "select text from the cursor to wherever the mouse happens to be". So rather than pasting, it actually steals the primary selection from xterm.
    • In fact I'm not sure that there's any way to simply paste the primary selection from xterm into textedit. As I recall users had to run things like xclipboard to bridge the gap.

    This is an old, old problem.

  385. Re:Sorry, I posted instead of preview before marku by CarrionBird · · Score: 1
    Why would use use the old DOS 5 editor in XP? There are notepad replacements out there if you need them.

    Either way, I just went and actually fired up edit, and looked to see what the commands were. No funky commands. You seem to have not verified your info, I have. But what does edit have to do with anything anyway. The only reason it came in is that someone was reaching for some example of windows sucking. What does that prove? The guy isn't trying to use windows.

    And why are you all on about windows anyway? You do realize that these key combinatyions are not a MS invention and have been around on the Mac since the beginning, right? The same complaint also comes from Mac users, are they just Apple whiners?

    My whole point have nothing to do with windows or not windows. You continue to prove my point. You keep jumping through flaming hoops to try to prove that there is nothing wrong with your pet software and this guy complaining must be an idiot. Maybe that's true, but what purpose does that serve? You don't have to take every complaint about your favorite software personally.

    If you want to run around calling people who disagree with you clueless, go right ahead. But, don't expect to be taken seriously if you don't have the backup.
    --
    Free Mac Mini Yeah, it's
  386. scroll-buttons/wheel-buttons by Anonymous Coward · · Score: 0

    I'm not really sure how useful that feature is generally (who wants to paste a link anywhere inside the rendered page to load it?), but it's most annoying when you have a wheel-button/scroll-button as your 3rd mouse button. I find I press the middle-button to paste or to load a link in a new tab, and the wheel scrolls a little as I try to press it down, making me middle-click somewhere else. I wouldn't be constantly accidentally activating the feature if my mouse-wheel didn't scroll so easily, or I could (artificially) reduce the sensitivity somewhere.

    GrimRC

  387. No, it's you and your apps, not X11 by Anonymous Coward · · Score: 0

    • I just wish I could permanently and completely switch off this "feature" of X11, in all programs. I'm not stupid, I've been using X11 nearly daily since 1990, and I've been screwing it up since then.

    Well then, could you please try to understand that your problem has absolutely nothing to do with X11 and everything to do with you and the X11 applications you are using. X11 provides, as a default, three different temporary buffers to contain data of any arbitrary datatype. How these buffers are exposed in the GUI of an X11 application is up to the programmers. How the implemented behaviour of the buffers in the X11 application is customised is up to the user's choice of settings in their .Xresources file.

  388. Get a clue before claiming to have an argument by expro · · Score: 1

    I am sorry you just want to make generalizations and not discuss specific cases. The original poster seemed with his opening sentence to be relating / comparing Windows to Linux. Read the post.

    The fact is, like Windows, Linux cut / copy / paste just works in most up-to-date applications, and if you can't figure out how to use the "paste current selection", which is also available on some other platforms, as I pointed out previously (the Mac terminal emulator, for example), then ignore it and it does not interfere.

    Mac keystrokes are not the same as Linux for cut / copy / paste, even if they were styled after them (except, for example, when running unmodified Unix apps under X on Mac). Windows does not typically define a command key, but Mac has a control key. You are clueless, again.

    I have no windows machines. I have seen edit not provide usable cut copy paste even within the same file using standard keystrokes, that it is clear to me that in most cases it does not work. This has happened more than once as I see Windows users try to use edit to modify a file and unable to figure out how to move a line, and I found the keystrokes for them they had to use, so I think you are wrong, but I will not pay a Microsoft tax to prove it.

    The discussion moved to concrete applications like edit because making generalizations is silly and edit was an obvious counter example. Had you brought up other specific applications, then perhaps an intelligent conversation could be had assuming you spent more time getting your facts strait, and made a real argument.

    You claim you somehow criticized my favorite apps, without having any clue what those apps might be, because you have failed to discuss them at all -- like a bug report, that just says "it is broken" with no details (not even the applications) that flies in the face of many intelligent users who know things commonly work just fine for them. Had you or the original writer posted any intelligent argument or examples, I might have agreed or disagreed with some of the conclusions. We will never know because the posting and your followups were clueless (as was the understanding of paste current selection, as though that somehow prevented people from just using cut / copy / paste).

    1. Re:Get a clue before claiming to have an argument by CarrionBird · · Score: 1
      Why are you trying so hard to have an argument here? I agree with you that the author would probably be fine if he upgraded to better apps. I did that several posts back.

      My beef is with your "anyone who has a problem must not be doing it right. You're clueless, they're clueless, everyone but me is clueless." attitude.

      Then you bring up this obscure example of a program. Then argue with me over how it works when I have a working copy right here. (BTW, maybe the problems have something to do with running it in DOS window?)

      And when did *I* criticize your apps? I was responding to an responce to the author.

      We somewhat agree, yet you insist on making this some kind of intelligence contest.

      Did you stop and think that maybe he is just using old versions of distros (many in here have noted some old versions of Kde have issues with this, for example). Hey it is a poor bug report, but just because it works for you or me does not mean that it really is working for him and he's just an idiot.

      --
      Free Mac Mini Yeah, it's
  389. re: middle click in main window: heck no by aaron_pet · · Score: 1

    middle clicking in the browser window to paste is a horrible BUG

    it causes data leaking, it causes confusion, and is just so horrible, that I can't understand why firefox copied konqueror:

    however, firefox has the option to make the behavior correct:

    http://bugs.kde.org/show_bug.cgi?id=44931
    is where hardly anything has been done to fix it
    in kde, rendering kde unusable

    about:config
    serching for middle (and later autoscroll) gives you:
    middlemouse.contentLoadURL
    and something about autoscroll

    Konqueror is unusable because it's so hard to close tabs, because you can't middle mouse click on tabs to close them.

    it makes no sence to paste onto a tab.
    though it makes sence to paste onto the go button
    but there is a bug open to stop that!!!!

    the other solution, by the makers of the unusable web browser is: klipper , with actions disabled

    klipper keeps a history of what's been in the clipboard.

    I feel your pain, and miss paste very very often.. but klipper saves me from everything except for konqeuror and text with newlines in dialogs that take enter as execute

    --
    Please use [ informative / summarizing ] SUBJECT LINES
    Flame me here
  390. Re:X copy/paste - Swap??? by DGolden · · Score: 1

    Hm.. and upon further further investigation, emacs already has a secondary selection behaviour (try alt(meta) + drag-with-left button). I didn't notice previously because my window manager by default grabs that as move-window - but the emacs behaviour is there if I turn off the window manager shortcut. It behaves in other respects as PRIMARY, and in my cursory examination there doesn't seem to be an exchange-primary-secondary command (but it would be a short step to add it, the "hard bit" of secondary selection tracking is already implemented)

    --
    Choice of masters is not freedom.