I always wanted to try and record a screencast but I always ended up arguing with the tools because I couldn’t get it worked.

Today I found the solution to my problem: Kazam’s icon would disappear when recording therefore I couldn’t stop or pause anything.

It turns out that Gnome Shell hide icons from the tray without asking so the quick solution is to install this extension that prevent this behavior.

Now the camera icon indicating that Kazam is recording won’t disappear.