Browse Source

Install without promt and auto build xrectsel

Signed-off-by: Ein Verne <[email protected]>
pull/4/head
Ein Verne 7 years ago
parent
commit
30a87334ae
  1. 8
      install_byzanz_record.sh

8
install_byzanz_record.sh

@ -1,16 +1,18 @@
#!/bin/bash - #!/bin/bash -
# take from http://askubuntu.com/questions/107726/how-to-create-animated-gif-images-of-a-screencast # take from http://askubuntu.com/questions/107726/how-to-create-animated-gif-images-of-a-screencast
sudo apt-get install byzanz sudo apt-get install -y byzanz
# example # example
# byzanz-record --duration=15 --x=200 --y=300 --width=700 --height=400 out.gif # byzanz-record --duration=15 --x=200 --y=300 --width=700 --height=400 out.gif
git clone https://github.com/lolilolicon/xrectsel.git
# install automake tool to avoid "autoreconf: not found" error # install automake tool to avoid "autoreconf: not found" error
# use the following command to install automake tool # use the following command to install automake tool
sudo apt-get install autoconf automake libtool build-essential checkinstall libx11-dev x11-utils sudo apt-get install -y autoconf automake libtool build-essential checkinstall libx11-dev x11-utils
git clone https://github.com/lolilolicon/xrectsel.git && cd xrectsel
./bootstrap && ./configure --prefix /usr && make && sudo make install
cd .. && rm -rf xrectsel
# 1. byzanz-record-window - To select a window for recording. # 1. byzanz-record-window - To select a window for recording.
# 2. byzanz-record-region - To select a part of the screen for recording. # 2. byzanz-record-region - To select a part of the screen for recording.

Loading…
Cancel
Save