This tutorial shows you how to install Kazam screen recorder and explains how to record the screen in Ubuntu. The guide also lists useful shortcuts and handy tips for using Kazam.
Kazam is one of the best screen recorders for Linux even though it is not being actively developed anymore. Its last stable release was version 1.4.5 in the year 2014. It works okay under the legacy X display server but it won’t work with Wayland.
Some of the main features of Kazam are:
- Record entire screen, part of the screen, an application window, or all screens (for multi-monitor setup)
- Take screenshots
- Keyboard shortcut support for easily pausing and resuming while recording the screen
- Record in various file formats such as MP4, AVI and more.
- Capture audio from the speaker or microphone while recording the screen
- Capture mouse clicks and key presses
- Capture video from the webcam
- Insert a webcam window on the side
- Broadcast to YouTube live video
I am using Ubuntu in the tutorial. The installation instructions should work for other Ubuntu-based distributions such as Linux Mint, elementary OS etc. For all the other distributions, you can still read about using Kazam and its features.
Install Kazam in Ubuntu
Kazam is available in the official repository in Ubuntu. However, the official repository consists Kazam version 1.4.5, the last stable version of Kazam.
Kazam developer(s) also worked on a newer release, Kazam 1.5.3. The version was almost sable and ready to release, but for unknown reasons, the development stopped after this. There have been no updates since then.
You can use either Kazam 1.4.5 or 1.5.3 without hesitating. Kazam 1.5 provides additional features like recording mouse clicks and key presses, webcam support, live broadcast support, and a refreshed countdown timer.
It’s up to you to decide which version you want to use. I would suggest go for version 1.5.3 because it has more features.
You can install the older Kazam 1.4.5 from the Software Center. You can also use the command below:
sudo apt install kazam
If you want to install the newer Kazam 1.5.3, you can use this unofficial PPA that is available for Ubuntu 18.04 and 20.04:
sudo add-apt-repository ppa:sylvain-pineau/kazam sudo apt-get update sudo apt install kazam
You also need to install a few libraries in order to record the mouse clicks and keyboard presses.
sudo apt install python3-cairo python3-xlib
Recording your screen with Kazam
Once you have installed Kazam, search for it in the application menu and start it. You should see a screen like this with some options on it. You can check the
It will show you a countdown before recording the screen. The default wait time is 5 seconds, and you can change it from the Kazam interface (see the previous image). It gives you breathing time so that you can prepare for your recording.
Once the recording starts, the main Kazam interface disappears, and an indicator appears in the panel. If you want to pause the recording or finish the recording, you can do it from this indicator.
If you finish the recording, it will give you the option to “Save for later.” If you have a video editor installed in Linux, you can also start editing the recording from this point.
By default, it prompts you to install the recording in the Videos folder, but you can change the location and save it elsewhere as well.
That’s the basics you need to know about screen recording in Linux with Kazam.
Now let me give you a few tips on utilizing more features in Kazam.
Getting more out of Kazam screen recorder
Kazam is a featureful screen recorder for Linux. You can access its advanced or additional features from the preferences.
Autosave screen recording in a specified location
You can choose to automatically save the screen recordings in Kazam. The default location is Videos, but you can change it to any other location.
Avoid screen recording in RAW mode
You can save your screen recordings in file formats like WEBM, MP4, AVI, etc. You are free to choose what you want. However, I would advise avoiding the RAW (AVI) file format. If you use RAW file format, the recorded files will be in GBs even for a few minutes of recordings.
It’s wise to verify that Kazam is not using the RAW file format for recording. If you ask my suggestion, I prefer H264 with MP4 file format.
Capture mouse clicks and key presses while screen recording
If you want to highlight when a mouse was clicked, you can easily do that in the newer version of Kazam.
All you have to do is to check the “Key presses and mouse clicks” option on the Kazam interface (the same screen where you press Capture).
Use keyboard shortcuts for more efficient screen recordings
Imagine you are recording the screen in Linux and suddenly realize that you have to pause the recording for some reason. Now, you can pause the recording by going to the Kazam indicator and selecting the pause option. But this activity of selecting the pause option will also be recorded.
You can edit and remove this part later, but it unnecessarily adds to the already cumbersome editing task.
A better option will be to use the keyboard shortcuts in Ubuntu. Screen recording becomes a lot better if you use shortcuts.
While Kazam is running, you can use the following hotkeys:
- Super+Ctrl+R: Start recording
- Super+Ctrl+P: Pause recording, press again to resume the recording
- Super+Ctrl+F: Finish recording
- Super+Ctrl+Q: Quit recording
The super key is the Windows key on your keyboard.
The most important is Super+Ctrl+P for pausing and resuming the recording.
You can further explore the Kazam preferences for webcam recording, and YouTube live broadcasting options.
Do you like Kazam?
I hope you like Kazam for screen recording in Ubuntu or any other Linux distribution. I have tried highlighting some additional features here to help you with a better screen recording.
What features do you like about Kazam? Do you use some other screen recorder? Do they work better than Kazam? Please share your views in the comments section below.