mirror of https://github.com/einverne/dotfiles.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
800 B
20 lines
800 B
9 years ago
|
#!/bin/bash -
|
||
|
|
||
|
# take from http://askubuntu.com/questions/107726/how-to-create-animated-gif-images-of-a-screencast
|
||
7 years ago
|
sudo apt-get install -y byzanz
|
||
9 years ago
|
|
||
|
# example
|
||
|
# byzanz-record --duration=15 --x=200 --y=300 --width=700 --height=400 out.gif
|
||
|
|
||
|
# install automake tool to avoid "autoreconf: not found" error
|
||
|
# use the following command to install automake tool
|
||
7 years ago
|
sudo apt-get install -y autoconf automake libtool build-essential checkinstall libx11-dev x11-utils
|
||
9 years ago
|
|
||
7 years ago
|
git clone https://github.com/lolilolicon/xrectsel.git && cd xrectsel
|
||
|
./bootstrap && ./configure --prefix /usr && make && sudo make install
|
||
|
cd .. && rm -rf xrectsel
|
||
9 years ago
|
|
||
|
# 1. byzanz-record-window - To select a window for recording.
|
||
|
# 2. byzanz-record-region - To select a part of the screen for recording.
|
||
|
# 3. A simple GUI front-end for 1, by MHC.
|