Scripts
Re: Scripts
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
It's a pain to copy paste it in and out every time you want to run it.Greendogo wrote: No, it's really not.*
Especially as console based editor's don't always play nice with your x clipboard.
Re: Scripts
Been using Linux for years, never knew this. Mind blown.BrotherBrick wrote:highlight word then middle mouse click somewhere, boom, done.
- sirherrbatka
- Posts: 2159
- Joined: 07 Aug 2011, 17:21
Re: Scripts
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.
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
We would be lucky if we had two clips... we got at least three.
Quoting xclip man page:
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
- sirherrbatka
- Posts: 2159
- Joined: 07 Aug 2011, 17:21
Re: Scripts
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.
But enough of this offtopic.