Skip to content

Instantly share code, notes, and snippets.

View koppi's full-sized avatar
:octocat:

Jakob Flierl koppi

:octocat:
View GitHub Profile
#/usr/bin/env bash
# Record the X11 desktop defined by the DISPLAY env variable
# to ~/Desktop/capture-$timestamp.mkv with pulse audio sound.
#
# usage:
#
# run capture.sh to start capture
# run capture.sh to stop a running capture.sh
#
#! /usr/bin/env python
# -*- coding: utf-8 -*-
'''
Copyright (C) 2007 Aaron Spike (aaron @ ekips.org)
Copyright (C) 2007 Tavmjong Bah (tavmjong @ free.fr)
Copyright (C) http://cnc-club.ru/forum/viewtopic.php?f=33&t=434&p=2594#p2500
Copyright (C) 2014 Jürgen Weigert (juewei@fabfolk.com)
Copyright (C) 2015 Jakob Flierl (jakob.flierl@gmail.com)
This program is free software; you can redistribute it and/or modify