A new little extension for Ubuntu‘s file manager is nautilus-pastebin, which is a script written in Python that allows users to upload text-only files to an online pastebin service by simply right-clicking them. Each scrap of text has its own unique URL, which is placed in the clipboard ready for pasting into your web browser (or email if wanting to share the text with the recipient).
Once installed, all you have to do is right-click a text file, choose Pastebin from the context menu, and your text clip is uploaded. A notification should pop up under your system tray informing you where it has been saved to (as mentioned, the address will now be in memory ready for pasting).
To view it, simply paste the URL into your browser’s address bar.
If this seems like something you can do with, install the forementioned package via Synaptic, or enter the following into a terminal:
sudo apt-get install nautilus-pastebin
Users can also customise the extension’s behaviour by using nautilus-pastebin-configurator, an easy-to-use configuration tool that is also installed (just paste the command into a terminal or Alt+F2).
With it you can make the URL automatically open in your web browser, turn the notification on or off, force a confirmation message to appear before uploading the text, and change the pastebin service to another in the list.
Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!