Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.29 KB

README.org

File metadata and controls

37 lines (28 loc) · 1.29 KB

Summary

Easily share screen captures with others.

To use:

  1. Run the screenshot script (see “Keybinding configuration” below).
  2. 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.
  3. The screenshot is automatically uploaded and then opened in the browser window, where you can copy the URL.

Help

$ ./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

Keybinding configuration

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