Klipper/Pastebins/da: Difference between revisions
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 3: | Line 3: | ||
Dion Moult skrev i [http://thinkmoult.com/2011/11/26/tech-tip-9-use-klipper-to-automatically-post-to-a-pastebin/ sin blog] den 26. november, 2011: | Dion Moult skrev i [http://thinkmoult.com/2011/11/26/tech-tip-9-use-klipper-to-automatically-post-to-a-pastebin/ sin blog] den 26. november, 2011: | ||
Pastebins | Pastebins er en virkelig nyttig måde at dele tekststumper. Dog er det undertiden noget omstændeligt at have en browser åben, indskrive URL'en, kopiere den ind, klikke på send og så kopiere URL'en for at dele den med din ven. Det er derfor, at der findes sådan noget som '''wgetpaste''' – små kommandolinje-værktøjer, som automatiserer denne proces og returnerer URL'en. '''wgetpaste''' er selvfølgelig ikke den eneste, men de ligner alle hinanden ret meget. | ||
'''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. |
Revision as of 07:53, 7 December 2011
Dion Moult skrev i sin blog den 26. november, 2011:
Pastebins er en virkelig nyttig måde at dele tekststumper. Dog er det undertiden noget omstændeligt at have en browser åben, indskrive URL'en, kopiere den ind, klikke på send og så kopiere URL'en for at dele den med din ven. Det er derfor, at der findes sådan noget som wgetpaste – små kommandolinje-værktøjer, som automatiserer denne proces og returnerer URL'en. wgetpaste er selvfølgelig ikke den eneste, men de ligner alle hinanden ret meget.
Klipper is KDE’s Clipboard manager – whenever you copy something, via right click and select 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.
orWhat 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:
![](/images.userbase/thumb/8/88/Klipper-pastebin.png/500px-Klipper-pastebin.png)
And you’re done! Copy something, press Ctrl + Alt + R to invoke the actions menu, click , and now the URL of the pasted item will be in your clipboard for you to Ctrl + V to your friend. Neat, eh?