Record Screen in Ubuntu Linux With Kazam [Beginner’s Guide]

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.

How to record your screen in Ubuntu Linux with 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 Version 1.4.5
Kazam Version 1.4.5

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.

Kazam Version 1.5.3
Kazam Version 1.5.3

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 options as per your need and click on capture to start recording screen with Kazam.

Screen recording with Kazam
Screen recording with Kazam

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.

Countdown before screen recording
Countdown before screen 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.

Pause or finish screen recording
Pause or finish screen recording

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.

Save screen recording  in Kazam
Save recording

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.

Accessing Kazam preferences
Accessing Kazam 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.

Autosave screen recordings in a chosen location
Autosave in a chosen 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.

file format in Kazam
Don’t use RAW files

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.

Record mouse clicks while screen recording with Kazam
Record mouse clicks

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 am repeating myself here. I love Kazam. I have used other screen recorders like SimpleScreenRecorder or Green Recorder, but I feel a lot more comfortable with 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.

Similar Posts

  • It’s works perfectly … except the possibility of saving area screenshots.
    I went to File-Preferences-Screenshot and selected Pictures (for example). But in any case the screenshot is saved in this directory. I checked others directories with the same result.
    It is curious but it works if you make a full-screen screenshot.

  • Works perfectly. I opted to go with the older version. Make sure you choose the actual window you wish to capture by CLICKING on it when you first start up Kazam. H264 does work the best. Also check the preferences to make sure your audio is correctly shown and chosen.

  • Hello!
    Doesn’t work here for capturing a single window.
    What happens:
    – Kazam
    – Select screenshot
    – (try to) select window. At that point, the whole screen is dimmed and there are message saying II can select a window by clicking on it. Clicking does nothing.
    Apparently selecting an area does a bit more, but it doesn’t save the picture, at least not in the folder I assigned.

  • How do you change the location where the raw files are recorded? I have a small home directory partition and I can have the files not record to my home directory. when the recording is done it goes where I tell it, but the initial recording will only go to /home/USER. I have tried editing the kazam conf file directly but they still go to home.