phw / peek

Simple animated GIF screen recorder with an easy to use interface
GNU General Public License v3.0
10.16k stars 319 forks source link

Peek crashes unless run as root #1135

Open bokub opened 1 year ago

bokub commented 1 year ago

System Information

Describe the bug Peek crashes unless run as root

To Reproduce

  1. Run peek from a terminal
  2. Press the record button
  3. At the end of the timer, peek crashes and the following is shown in the terminal:
Using screen recorder backend gnome-shell
[1]    368383 segmentation fault (core dumped)  peek

Do the same, but this time run sudo peek instead of peek

You now see the following line in the terminal, and peek doesn't crash anymore:

Using screen recorder backend ffmpeg

Expected behavior Peek should not crash when run as non-root user...

bokub commented 1 year ago

I found out that peek -b ffmpeg works.

Is there a way to configure the default backend ?

yochaigal commented 1 year ago

Same problem, and same question!