I want to operate Kazam in terminal. Is there any command to start kazam and start screencasting instantly?
(I am not questing the command kazam --silent
)
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI want to operate Kazam in terminal. Is there any command to start kazam and start screencasting instantly?
(I am not questing the command kazam --silent
)
The only way I came across is exactly using kazam --silent
in combination with xdotool
, by creating a function and putting it in ~/.bashrc
:
k () {
kazam --silent &> /dev/null &
sleep 1
xdotool key 'Super+Ctrl+r';
}
Now every time I run k
kazam runs and starts recording, we can use Super+Ctrl+p to Pause/Resume recording and Super+Ctrl+f to stop recording.