Skip to content

jasondunsmore/screenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages