Klipper/Pastebins: Difference between revisions

From KDE UserBase Wiki
m (some fixes)
(Marked this version for translation)
 
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
In [http://thinkmoult.com/2011/11/26/tech-tip-9-use-klipper-to-automatically-post-to-a-pastebin/ his blog] on the 26th November 2011, Dion Moult wrote:
In [http://thinkmoult.com/2011/11/26/tech-tip-9-use-klipper-to-automatically-post-to-a-pastebin/ his blog] on the 26th November 2011, Dion Moult wrote:


<!--T:2-->
Pastebins are a really useful way to share snippets of text. However it’s sometimes a bit cumbersome to have to open a browser window, type in the URL, paste it in, click submit, then copy the URL to share with your friend. That’s why things like '''wgetpaste''' exist – small command-line utilities to automate this process and return the URL. '''wgetpaste''' isn’t the only one, of course, but they are all rather similar.
Pastebins are a really useful way to share snippets of text. However it’s sometimes a bit cumbersome to have to open a browser window, type in the URL, paste it in, click submit, then copy the URL to share with your friend. That’s why things like '''wgetpaste''' exist – small command-line utilities to automate this process and return the URL. '''wgetpaste''' isn’t the only one, of course, but they are all rather similar.


<!--T:3-->
'''Klipper''' is KDE’s ''Clipboard manager'' – whenever you copy something, via right click and select <menuchoice>Copy</menuchoice> or <keycap>Ctrl+C</keycap>, it gets added to your clipboard. '''Klipper''' allows you to navigate through it – so that you can paste something you copied a while back, or set up custom things to paste, or even set it to automatically perform an action on the paste. The most common use is to automatically open a link in a browser if you copy a link from somewhere.
'''Klipper''' is KDE’s ''Clipboard manager'' – whenever you copy something, via right click and select <menuchoice>Copy</menuchoice> or <keycap>Ctrl+C</keycap>, it gets added to your clipboard. '''Klipper''' allows you to navigate through it – so that you can paste something you copied a while back, or set up custom things to paste, or even set it to automatically perform an action on the paste. The most common use is to automatically open a link in a browser if you copy a link from somewhere.


<!--T:4-->
What we’ll tackle is to get '''Klipper''' to autopaste our clipboard item into a pastebin, and return the URL to us. So just set it up as shown below:
What we’ll tackle is to get '''Klipper''' to autopaste our clipboard item into a pastebin, and return the URL to us. So just set it up as shown below:




<!--T:5-->
[[Image:Klipper-pastebin.png|center|thumb|500px]]
[[Image:Klipper-pastebin.png|center|thumb|500px]]




<!--T:6-->
And you’re done! Copy something, press <keycap>Ctrl + Alt + R</keycap> to invoke the actions menu, click <menuchoice>Pastebin</menuchoice>, and now the URL of the pasted item will be in your clipboard for you to <keycap>Ctrl + V</keycap> to your friend. Neat, eh?
And you’re done! Copy something, press <keycap>Ctrl + Alt + R</keycap> to invoke the actions menu, click <menuchoice>Pastebin</menuchoice>, and now the URL of the pasted item will be in your clipboard for you to <keycap>Ctrl + V</keycap> to your friend. Neat, eh?


<!--T:7-->
[[Category:Utilities]]
[[Category:Utilities]]
[[Category:Tutorials]]
[[Category:Tutorials]]
</translate>
</translate>

Latest revision as of 20:12, 6 December 2011

Other languages:

In his blog on the 26th November 2011, Dion Moult wrote:

Pastebins are a really useful way to share snippets of text. However it’s sometimes a bit cumbersome to have to open a browser window, type in the URL, paste it in, click submit, then copy the URL to share with your friend. That’s why things like wgetpaste exist – small command-line utilities to automate this process and return the URL. wgetpaste isn’t the only one, of course, but they are all rather similar.

Klipper is KDE’s Clipboard manager – whenever you copy something, via right click and select Copy or Ctrl+C, it gets added to your clipboard. Klipper allows you to navigate through it – so that you can paste something you copied a while back, or set up custom things to paste, or even set it to automatically perform an action on the paste. The most common use is to automatically open a link in a browser if you copy a link from somewhere.

What we’ll tackle is to get Klipper to autopaste our clipboard item into a pastebin, and return the URL to us. So just set it up as shown below:



And you’re done! Copy something, press Ctrl + Alt + R to invoke the actions menu, click Pastebin, and now the URL of the pasted item will be in your clipboard for you to Ctrl + V to your friend. Neat, eh?