Giter Site home page Giter Site logo

ros's Introduction

org-ros - Rahul's Org-mode Screenshot

MELPA

My implementation for "how do I copy-paste images into an org file?" issue.

ros is invoked with M-x org-ros RET, it waits for your selection, takes a screenshot and saves it as orgfileopened.org_YYYYMMDD_hhmmss.png.

It then adds a link into your org file and turns ON display-inline-images showing you your image.

Requirements

  • Linux: scrot (for taking screenshots);
  • MacOS: screencapture (built-in for Mojave, Catalina, Big Sur, Monterey...)
  • Windows: powershell.exe (compatible with native Windows and WSL installations)
  • Emacs: 24.1

Install

org-ros is available on MELPA.

Alternatively, you can download org-ros.el, copy this file to a folder, like ~/.emacs.d/org-ros/, and add to your .emacs file:

(add-to-list 'load-path "~/.emacs.d/org-ros/")
(require 'org-ros)

Usage

Use M-x org-ros RET, select the part of the screen you want to screenshot, and a picture file should be created and linked into your document.

Screenshot

Here it's what it does.

ros in action

ros's People

Contributors

ahbc-sdg avatar lionyxml avatar syohex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ros's Issues

Screencapturing tool

On many linux distributions, imagemagick is installed per default, providing the import command, which can take screenshots like scrot (single click for the window, click and drag for an area, or call it with parameter -window root for the whole screen). Maybe consider setting this as default, thus not requiring the user to install an additional tool. While it has a plethora of options, it only needs the filename as parameter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.