Thursday, February 18, 2016

How to install Kazam Screencaster on Ubuntu

Kazam is a simple screen recording program that will capture the content of your screen and record a video file that can be played by any video player that supports VP8/WebM video format. 
Optionally you can record sound from any sound input device that is supported and visible by PulseAudio.

Stable ppa :
sudo add-apt-repository ppa:kazam-team/stable-series
sudo apt-get update
sudo apt-get install kazam

Unstable ppa :
sudo add-apt-repository ppa:kazam-team/unstable-series
sudo apt-get update 
sudo apt-get install kazam
"Additional notes for Kazam 1.5.0 :
When installing, check if python3-cairo was upgraded to 1.10.1. If not you'll have to do it manually by running:
   sudo apt-get install python3-cairo
pycairo3 in Ubuntu is outdated and needs updating. This build was made strictly for Kazam and it could break other applications that use it. So be careful. If you ever want to downgrade back to the current version which ships with 14.04, run the following command:
sudo apt-get install python3-cairo=1.10.0+dfsg-3ubuntu2
New countdown animation will also work if you don't have the latest pycairo, but it will not be as pretty. Right now there are no plans for builds other releases of Ubuntu. Trusty should be stable enough and most of the development will be done for Trusty."

Keyboard shortcuts :

Super+Ctrl+R - start recording
Super+Ctrl+P - pause recording
Super+Ctrl+F - finish/stop recording

Monday, February 15, 2016

Screenfetch on Ubuntu

"screenFetch is a Bash Screenshot Information Tool. This handy Bash script can be used to generate one of those nifty terminal theme information + ASCII distribution logos you see in everyone's screenshots nowadays. It will auto-detect your distribution and display an ASCII version of that distribution's logo and some valuable information to the right. There are options to specify no ASCII art, colors, taking a screenshot upon displaying info, and even customizing the screenshot command! This script is very easy to add to and can easily be extended."


screenfetch -v

screenfetch -n

screenfetch -N

screenFetch can be installed on Ubuntu via terminal (ctrl+alt+t) :

sudo add-apt-repository ppa:djcj/screenfetch
sudo apt-get update
sudo apt-get install screenfetch

After the installation is complete you can run screenFetch by opening a terminal and type in the command screenfetch or wherever you saved the script to. This will generate an ASCII logo with the information printed to the side of the logo.  There are some options that may be specified on the command line, and those are shown below or by executing screenfetch -h :
  -v                 Verbose output.
  -o 'OPTIONS'       Allows for setting script variables on the
                     command line. Must be in the following format...
  -n                 Do not display ASCII distribution logo.
  -N                 Strip all color from output.
  -t                 Truncate output based on terminal width (Experimental!).
  -p                 Output in portrait mode, with logo above info.
  -s(m)              Using this flag tells the script that you want it
                     to take a screenshot. Use the -m flag if you would like
                     to move it to a new location afterwards.
  -c string          You may change the outputted colors with -c. The format is
                     as follows: [0-9][0-9],[0-9][0-9]. The first argument controls the
                     ASCII logo colors and the label colors. The second argument
                     controls the colors of the information found. One argument may be
                     used without the other.
  -a 'PATH'          You can specify a custom ASCII art by passing the path
                     to a Bash script, defining `startline` and `fulloutput`
                     variables, and optionally `labelcolor` and `textcolor`.
                     See the `asciiText` function in the source code for more
                     informations on the variables format.
  -S 'COMMAND'       Here you can specify a custom screenshot command for
                     the script to execute. Surrounding quotes are required.
  -D 'DISTRO'        Here you can specify your distribution for the script
                     to use. Surrounding quotes are required.
  -A 'DISTRO'        Here you can specify the distribution art that you want
                     displayed. This is for when you want your distro
                     detected but want to display a different logo.
  -E                 Suppress output of errors.
  -V, --version      Display current script version.
  -h, --help         Display this help.