Skip to content

LionyxML/ros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

screenshot / copy & paste tool for org-mode files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published