ClipIt uses xdotool to send a 'Ctrl+V' command to paste the item. Most terminals don't recognize the 'Ctrl+V' combination as paste but rather 'Ctrl+Shift+V', that means you have to change the paste shortcut to 'Ctrl+V' for automatic paste to work correctly.
I have also explained this in http://clipit.rspwn.com/release-1-4-0/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, Xorg has actually 2 clipboards (actually 3, but the third one isn't really useful). The first one is called "primary" and the second one "clipboard". Most users only care about "clipboard", and that's what the Ctrl+v combination usually pastes, but there's also the "primary" clipboard, which can have different contents and which usually gets pasted with the Shift+Insert combination. So, changing the key combination to Shift+Insert, actually changes what gets pasted, and not how it gets pasted -- this might confuse most users, I guess.
Like I said, to paste the contents of the "clipboard" clipboard in most terminals, you usually have to use the Ctrl+Shift+v combination, but it can be changed usually to Ctrl+v...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sounds like a solution to me. Although middle click could be overridden, the same goes for Ctrl+V. And since GNOME standard terminal (which many many people use) overrides Ctrl+V, I'd choose middle click instead of Ctrl+V. As far as I don't know any standard application that overrides middle click in some unpleasant way.
ClipIt uses xdotool to send a 'Ctrl+V' command to paste the item. Most terminals don't recognize the 'Ctrl+V' combination as paste but rather 'Ctrl+Shift+V', that means you have to change the paste shortcut to 'Ctrl+V' for automatic paste to work correctly.
I have also explained this in http://clipit.rspwn.com/release-1-4-0/
I think this patch might help: http://paste.kde.org/141260/
Well, Xorg has actually 2 clipboards (actually 3, but the third one isn't really useful). The first one is called "primary" and the second one "clipboard". Most users only care about "clipboard", and that's what the Ctrl+v combination usually pastes, but there's also the "primary" clipboard, which can have different contents and which usually gets pasted with the Shift+Insert combination. So, changing the key combination to Shift+Insert, actually changes what gets pasted, and not how it gets pasted -- this might confuse most users, I guess.
Like I said, to paste the contents of the "clipboard" clipboard in most terminals, you usually have to use the Ctrl+Shift+v combination, but it can be changed usually to Ctrl+v...
BTW, this link was very useful for me to understand how the clipboards work: http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt . You can have a read if you want to learn more about the clipboards and how they work (or how they are supposed to work).
Ok, and what about if I use "xdotool click 2" to emulate middle mouse click ?
Sounds like a solution to me. Although middle click could be overridden, the same goes for Ctrl+V. And since GNOME standard terminal (which many many people use) overrides Ctrl+V, I'd choose middle click instead of Ctrl+V. As far as I don't know any standard application that overrides middle click in some unpleasant way.
Reading http://library.gnome.org/users/gnome-help/stable/mouse-middleclick.html.en I believe the middle click is a way to go.
Middle click usually pastes the contents of the "primary" clipboard, which is not what most people expect...