Skip to content
Run command on rectangular screen regions
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
aux/zsh_completion A better way to install zsh_completion Aug 27, 2014
doc Example: use slop for smarter & infinite selection Mar 24, 2019
src Minor corrections Mar 24, 2019
.gitattributes
.gitignore
.gitmodules
COPYING Add COPYING file Sep 7, 2014
HACKING.markdown
Makefile.am Better sed; add HACKING file to dist Sep 3, 2014
README.asciidoc Update screenkey URL Mar 24, 2019
bootstrap Migrate from Makefile to GNU autotools Aug 26, 2014
configure.ac Release 2.5.0 Oct 21, 2016
local.mk

README.asciidoc

FFcast

FFcast deals with rectangles on screens. Mostly, it selects rectangles. Like most boring jobs, there are many ways to do it: free selection, selection by window, screen number, numeric geometry, or by edge detection. Simple arithmetic operations allow simple combinations and adjustments.

Now FFcast knows all about these rectangles, but what to do with them? Well, like most useless things, there are many ways to use them: in practice, screenshots and screencasts are obviously popular options; in general, the geometry can be utilized by any application that understands X geometry, including window managers, xorg-apps (xclock, xev), byzanz-record, dunst, dzen2, FFmpeg, gifview, ImageMagick, maim, mousetweaks, mpv, Nautilus, screenkey, sxiv, xdotool, xscast, xsnap, zenity, to randomly name a few.

FFcast provides several short commands for common tasks, just to please its users, but hardly ever satisfies anyone. Like most unhelpful tools, it encourages its users to roll their own cigarettes.

Anyway, here’s wonder…​ful demos.

Requirements

Bash 4.3+, FFmpeg (png rec), ImageMagick (trim), xdpyinfo (-x), xprop (-f), xrectsel (-s), xwininfo (-w).

Installation

To build and install from source,

./bootstrap  # generates ./configure
./configure --prefix /usr --libexecdir /usr/lib --sysconfdir /etc
make
make DESTDIR="$dir" install  # $dir must be an absolute path

To get xrectsel along with FFcast, pull in the submodule,

git clone --recursive https://github.com/lolilolicon/FFcast.git

Then build and install as described above, but passing an additional --enable-xrectsel to ./configure.

Usage

See ffcast(1). Perhaps start with EXAMPLES.

You can’t perform that action at this time.