Bug 61866 - Windows like clipboard selection in konsole
Summary: Windows like clipboard selection in konsole
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.2.2
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-30 18:55 UTC by zeller
Modified: 2005-07-03 21:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zeller 2003-07-30 18:55:43 UTC
Version:           1.2.2 (using KDE KDE 3.1)
Installed from:    SuSE RPMs

I would like that konsole has an (optional) copy/paste behaviour
like the Windows command prompt when "quick edit mode" is enabled:
after selecting text and clicking the right button, the current selection
should be copied to the CLIPBOARD selection, if no text is selected,
the current CLIPBOARD selection should be pasted.
Comment 1 Thiago Macieira 2003-07-30 19:12:05 UTC
How is this different from selecting with the mouse (which automatically sets the system-
wide Selection) and pasting with the middle mouse button? 
 
Or do you want to specifically copy to CLIPBOARD instead of PRIMARY? If that is so, I 
recommend using klipper and enabling the "Clipboard/selection synchronism". 
Comment 2 zeller 2003-08-02 10:23:43 UTC
Yes, i want to copy to CLIPBOARD instead of PRIMARY, because CTRL-C is not an 
option :-) 
 
The global klipper-sync-CLIPBOARD-to-PRIMARY is (at least for me) not really 
usefull, because i don't like that any selection overwrites the clipboard. 
 
The "Windows quick edit mode" is both simple (just a right click) and 
well-known to anybody doing a lot of Windows commmand line work. 
 
A common use case would be 
1) select some text in konsole 
2) copy it to CLIPBOARD via right-mouse-click 
3) select some text in kate 
4) replace the selected text with CTRL-V 
 
That use case is not possible with the klipper-sync-CLIPBOARD-to-PRIMARY 
solution and (at least for me) to cumbersome with the current konsole 
implementation. 
 
Comment 3 Thiago Macieira 2003-08-03 13:16:53 UTC
Correct me if I'm wrong, but you're proposing a solution that would enable you to do the 
following steps: 
 
1) RMB click and select "Quick edit mode" (or some other name) 
2) Select text in a Konsole window 
3) Hit Enter and the text would be copied over to CLIPBOARD 
 
How is this different from: 
1) Select text in a Konsole window 
2) RMB click and select Copy? 
 
There's one less step in the current solution. If you have to RMB click to get to Quick Edit 
Mode, you can already just select Copy or Paste from the menu that is there. 
 
Besides, Paste is available on shortcut Shift+Insert (which is also a standard shortcut for 
Paste throughout). 
Comment 4 zeller 2003-08-03 16:34:29 UTC
Well, not really, the "Windows way" is like that: 
0) init the "quick edit" mode in the konsole preferences 
.. 
1) select text in konsole 
2) a RETURN or a RMB click will copy the current selection to CLIPBOARD 
3a) a RMB will paste the text from CLIPBOARD in konsole 
3b) a CTRL-V in another KDE app will paste the text from CLIPBOARD 
 
My goal is to make copy/paste from konsole faster; shilft+insert is 
not so good, because my right hand is moving the mouse, a CTRL-V 
with my left is o.k. 
 
Because the left hand is at the keyboard, i can also user ALT+Tab to 
change the application, so i would do 
1) left hand  : select with mouse in konsole, RMB click 
2) right hand : ALT-Tab (will bring up kate or ...) 
3a) right hand: CTRL-V will paste at the cursor 
3b) left hand : select some text in kate 
    right hand: CTRL-V will overwrite the selected text with 
                the text selected in the konsole window 
 
I admit that it is complicate to explain, but i'm quite used to 
it, and would love to see a "Windows quick edit mode" in konsole! 
 
Comment 5 zeller 2003-08-03 16:40:35 UTC
sorry, in the example i mixed up left and right: 
 1)  right hand : select with mouse in konsole, RMB click  
 2)  left hand  : ALT-Tab (will bring up kate or ...)  
 3a) left hand  : CTRL-V will paste at the cursor  
 3b) right hand : select some text in kate  
     left hand  : CTRL-V will overwrite the selected text with  
                  the text selected in the konsole window  
 
Comment 6 zeller 2005-07-03 21:49:27 UTC
I think now it's good enough, even if it doesn't 100% work like in Windows.