Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any software that can help me upload images directly to

Command line softwares would be more appreciated.

share|improve this question

Imgur provides tools for this.

Run the following commands as root:

cd /bin
mv imgur
chmod a+x imgur

Now, simply run imgur with the path to an image to upload it to Imgur.

For example:

imgur /usr/share/banshee/icons/hicolor/128x128/devices/phone-google-nexus-one.png

This gives the following output:
Delete page:
Haven't copied to the clipboard: no $DISPLAY

The first line is the link to the Imgur page, and the second line is the link to delete the image you just uploaded. If possible, the script will also copy the Imgur url to the clipboard for immediate use.


share|improve this answer
+1 thanks a lot !! but ill wait for other answers – Ashu Jun 5 '12 at 16:36

if you don't mind use a gui :

shutter Install shutter is a feature-rich screenshot program. You can take a screenshot of a specific area, window, your whole screen, or even of a website – apply different effects to it, draw on it to highlight points, and then upload to an image hosting site, all within one window.

Edit _> Preferences

enter image description here

share|improve this answer
+1 this seems nice too! – Ashu Jun 5 '12 at 16:37

I'm using a slightly modified version of Sirupsen's Linux Screenshot Uploader script :

Install it as

curl > ~/bin/imgur && chmod 755 ~/bin/imgur &&
curl > ~/bin/shoot && chmod 755 ~/bin/shoot

and call it (assuming ~/bin is in your PATH) with shoot. Select the area of the screen you want to capture by drawing a rectangle around it and it'll capture that, upload to imgur and tell you the URL.

It internally uses but has a workaround if you don't want to install that dependency.

share|improve this answer
+1 A good one to use – Ashu Jun 16 '12 at 17:40
yes, indeed very good. It is not working as it is though. My proposed fixes are: sudo apt-get install scrot -y && mkdir -p ~/bin/ && ...your part. Cheers! – Rho Feb 23 '14 at 8:24
ANd it seems that the "shoot" raw link is also mistaken. I'm using this instead:… – Rho Feb 23 '14 at 9:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.