Page 3 of 3

Re: Scripts

Posted: 18 Apr 2013, 17:37
by Tarius
I use windows, and copy and paste is as simple as highlighting what I want and hitting 'ctrl c' for copy, and 'ctrl v' for paste. I suppose I could set the middle mouse button to do it, but its already easy enough.

Re: Scripts

Posted: 19 Apr 2013, 15:06
by wheybags
Greendogo wrote: No, it's really not.*
It's a pain to copy paste it in and out every time you want to run it.
Especially as console based editor's don't always play nice with your x clipboard.

Re: Scripts

Posted: 20 Apr 2013, 07:16
by raevol
BrotherBrick wrote:highlight word then middle mouse click somewhere, boom, done.
:shock: Been using Linux for years, never knew this. Mind blown.

Re: Scripts

Posted: 20 Apr 2013, 09:00
by sirherrbatka
We have two clipboards on linux…

You can simply make a klipper action that will do something like echo '%s' > ~/.text.txt; kate ~/.text.txt in order to get rid of the need to start kate manually.

Re: Scripts

Posted: 20 Apr 2013, 14:13
by ezzetabi
We would be lucky if we had two clips... we got at least three.

Quoting xclip man page:

Code: Select all

-selection
  specify  which  X selection to use, options are "primary" to use
  XA_PRIMARY (default), "secondary"  for  XA_SECONDARY  or  "clip‐
  board" for XA_CLIPBOARD

Re: Scripts

Posted: 20 Apr 2013, 15:33
by sirherrbatka
ah this explains a lot. Indeed it would be easier to have just two: one for selection and one for clipboard. Sadly I don't see way to change it in the future.

But enough of this offtopic.