In Ubuntu Terminal, drag and drop selection can copy the text selected into clipboard and Shift+Insert to paste. In KDE Konsole, it seems selection doesn't do copy. So either I have to use mouse middle key to copy/paste, or open context menu to click on copy. Is there any way to configure Konsole to do copy selection? Or any keyboard shortcut to do copy?
- 7,325
3 Answers
Konsole can copy with ctrl + shift + c, and paste with ctrl + shift + v. My right click context menu on Konsole 2.7.4, KDE 4.7.4, Kubuntu 11.10, tells me these keyboard shortcuts.
Edit: There is actually a secondary buffer. Selected text is automatically added to this buffer, and middle click automatically pastes it. ctrl + shift + insert will also paste from this buffer. This can be changed under Settings > Configure Shortcuts > Paste Selection. ctrl + insert defaults to an alternate for normal copy, and shift + insert defaults to an alternate for normal paste.
- 63,170
Click "Settings" in the Menu. Select "Configure Shortcuts". Search for "Copy" and "Paste". For each you then assign the desired shortcut by first clicking on the entry in the shortcut editor, clicking on "Custom" and then pressing ctrl - c and ctrl - v, respectively.
However, I would advise against using ctrl - c, because normally this is bound to send a SIGINT signal to an application in the terminal. This can become usefull if an application in the terminal needs to be aborted. The way these terminal control keys are handled can also be configured in Konsole. For this you go to "Settings", then "Manage Profiles", then "Edit Profile". Here you click on the "Keyboard" tab, where you then can edit the existing configurations or add a new one.
- 482