The new version of OBS Studio 0.16.2 is now available for Linux. OBS Studio (Open Broadcaster) is a Free and open source software for video recording and live streaming. It supports Linux, Windows and Mac OS. It has all features for us to capture screen video with many other options.
OBS Studio can record entire screen or selected screen if you have multiple screens.
How to install OBS Studio on Ubuntu 16.04 and later
Open Terminal and paste these commands:
sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt-get update
sudo apt-get install ffmpeg obs-studio
Done. Now you can start using OBS Studio on Ubuntu 16.04