Announcement

Collapse
No announcement yet.

Clipboard Issues

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Clipboard Issues

    Hi, folks,

    I'm having awful trouble with the clipboard on a Feisty Fawn installation.
    All I want is for it to behave like the Windows clipboard -- let me select
    something once with Ctrl+C and paste it as many times as I want using
    Ctrl-V. I don't want it to put selected text into the clipboard, and I don't
    want it to store a history of the clipboard -- just let me paste the last
    selection as much as I want. I've investigated the options in "Configure
    Klipper" and I can't figure out how to do this.

    I'm working in KDevelop, BTW, porting a large Win32 Application to
    Linux, and am very much new to Linux overall. Whenever I click on a
    compiler error message in the Messages window at the bottom of the
    screen, that message is automatically copied into the clipboard. I really
    hate that behaviour.

    #2
    Re: Clipboard Issues

    You probably want the Clipboard/Selection Behavior options in Klipper. (You can also decrease the number of history entries to one, but I find it helpful sometimes, especially when I'm doing multiple things and don't paste what I expect.)

    In KDevelop, there's probably an option to turn that off. (I don't use it, so I don't know.)
    For external use only.

    Comment


      #3
      Re: Clipboard Issues

      Hi,

      I already tried changing the Clipboard/Selection Behaviour to
      "Separate Clipboard and Selection", and it doesn't seem to
      help.

      Comment


        #4
        Re: Clipboard Issues

        What is it exactly about the default behaviour that is bugging you? The default behaves just like the Windows clipboard, with the added advantage of a history should you need it.

        Comment


          #5
          Re: Clipboard Issues

          The issues are:

          (1) When you click on an error message in the KDevelop
          output window, this message gets copied into the clipboard
          _regardless of the clipboard/selection settings in Klipper_.

          (2) When you paste something into the code, that text is
          then gone from the clipboard and whatever was copied before
          is there instead. Klipper will not let me set the "length of
          keyboard history" to 1; trying just has it pop back to 2.

          Both these things are very frusterating, because I have to
          fix the same error about 400 times in a long program by
          pasting in a typecast at each error location due to gcc being
          stricter than VC++.

          Comment


            #6
            Re: Clipboard Issues

            Originally posted by jmensch
            The issues are:

            (1) When you click on an error message in the KDevelop
            output window, this message gets copied into the clipboard
            _regardless of the clipboard/selection settings in Klipper_.

            (2) When you paste something into the code, that text is
            then gone from the clipboard and whatever was copied before
            is there instead. Klipper will not let me set the "length of
            keyboard history" to 1; trying just has it pop back to 2.

            Both these things are very frusterating, because I have to
            fix the same error about 400 times in a long program by
            pasting in a typecast at each error location due to gcc being
            stricter than VC++.
            I found the automatic selection annoying too, because I found my clipboard history got cluttered with entries I never wanted to copy. If you use firefox, make sure you dont have the autocopy extension or it will essentially do the same thing.

            The option you are looking for: Right click on Klipper in the system tray and go to "configure klipper." On the general tab, select "ignore selection." This will allow you to still have the clipboard history, but text will only be copied when you select copy rather than automatically doing so..

            Comment


              #7
              Re: Clipboard Issues

              I already knew about those Klipper options. Thanks for
              the help, though -- now that I use Mozilla on this forum,
              I notice that it works here. It seems to be hardcoded into
              KDevelop that double-clicking an error message copies
              it into the clipboard and overwrites whatever is currently
              there. While irritating, I can use Klipper to get my old
              selection back, and quirks of KDevelop aren't really on-
              topic here, AFAIK.

              Comment


                #8
                Re: Clipboard Issues

                Well, I guess you could always patch KDevelop.

                Either that, or send mail asking for a config option for that behavior.
                For external use only.

                Comment


                  #9
                  Re: Clipboard Issues

                  Originally posted by jmensch
                  (2) When you paste something into the code, that text is
                  then gone from the clipboard and whatever was copied before
                  is there instead. Klipper will not let me set the "length of
                  keyboard history" to 1; trying just has it pop back to 2.
                  That's very odd, and I don't have that behaviour (just fired up KDevelop to test). I can happily paste as many times as I like from the clipboard...

                  Comment

                  Working...
                  X