Skip to content

Instantly share code, notes, and snippets.

@aleksseven
Created January 24, 2023 17:08
Show Gist options
  • Save aleksseven/5dfe2f0fbd71454e656c4a1e94d1a22a to your computer and use it in GitHub Desktop.
Save aleksseven/5dfe2f0fbd71454e656c4a1e94d1a22a to your computer and use it in GitHub Desktop.
Kazam microphone Unknown on ubuntu 20.04
Update the function "time.clock()" in pulseaudio.py file with "time.perf_counter()"
File location : /usr/lib/python3/dist-packages/kazam/pulseaudio/pulseaudio.py
RUN THIS COMMAND FROM TERMINAL
sudo sed -i 's/time.clock/time.perf_counter/g' /usr/lib/python3/dist-packages/kazam/pulseaudio/pulseaudio.py
'time.clock()' is deprecated from Python V3.3 and removed from Python v3.8
See https://bugs.launchpad.net/kazam/+bug/1875530
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment