Easily share screen captures with others.
To use:
- Run the screenshot script (see “Keybinding configuration” below).
- Either click and drag to select the region of the screen you want to share OR click on the window you want to share. You can also hit escape to abort the screenshot.
- The screenshot is automatically uploaded and then opened in the browser window, where you can copy the URL.
$ ./screenshot -h Usage: ./screenshot [-h] -b BROWSER -p PATH -u URL Required arguments: -b Browser to open screenshot in. -p Path to copy screenshot to (eg. /var/www/html or myhost:html/). -u URL where screenshot can be accessed. -r Remove file from /tmp after it's been uploaded. -h Print this help message. Examples: ./screenshot -b google-chrome -p myhost:html/shots -u http://mydomain.com/shots ./screenshot -b google-chrome -p /var/www/html/shots -u file:///var/www/html/shots
Set up a custom keybinding using xbindkeys, or gconf-editor (Gnome).
xbindkeys example:
./screenshot -b google-chrome -p myhost:html/shots -u http://mydomain.com/shots control + alt + z