Record your desktop. Select the area you want to record and then it will create a video file in your "Videos" path.
Edit the wrec
Python file and set your path
chmod +x wrec
sudo ln -s {path_to_wRec}/wrec /usr/bin/wrec
Ubuntu
X Server
ffmpeg
Add wrec
to executable path and run it.