Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/digitronik/screencast

Record screen with byzanz-record and python-xrectsel in gif format
https://github.com/digitronik/screencast

Last synced: about 1 month ago
JSON representation

Record screen with byzanz-record and python-xrectsel in gif format

Awesome Lists containing this project

README

        

screencast


Record screen with 'byzanz-record' and 'python-xrectsel' in gif format

### Prerequisite
- [byzanz-record](git://git.gnome.org/byzanz):
It is a simple tool to record a running X desktop to an animation suitable
for presentation in a web browser.
- Fedora
```
sudo dnf copr enable vishalvvr/byzanz
sudo dnf install byzanz -y
```
Note: Default fedora package not support `exec` argument.
- Ubuntu
```
sudo apt-get install byzanz.
```

- [python-xrectsel](https://github.com/digitronik/python-xrectsel):
It is a simple cli tool to capture geometry of a rectangular screen region.
- pip
```
pip install python-xrectsel --user
```
Note: You can install it with source

### Usage
```
❯ ./screencast

Screencast
Record screen with byzanz-record and python-xrectsel in gif format.

Usage: screencast [command]

Commands:
start Start recording
stop Stop recording
toggle Toggling between start and stop.
Specially used for single key binding for start and stop screencast
* Help
```

### keyboard shortcut
If you are using this screencast frequently then you can create a keyboard shortcut key instead of executing a command everytime. Use `screencast toggle` command so we can manage the `start` and `stop` command in one shortcut key.

#### i3wm
You can add the following binding in your config
```
bindsym $mod+Print exec sh /screencast toggle
```
#### GNOME
Refer the following doc to add a keyboard shortcut.
https://docs.fedoraproject.org/en-US/quick-docs/proc_setting-key-shortcut/