I use i3 instead of the unity desktop environment. The output gif from peek is all black except for my mouse. Using ffmpeg and x11grab independently works just fine.
Experiencing the same issue. I believe you need to run a proper compositor for peek to work, however I did try with the built-in nvidia compositor and still got the black output.
EDIT: Maybe trying xcompmgr or compton might be an idea?
Running a compositor is a requirement for this to work, sot this would have been my first guess. Also I found I had issues with screen capturing in virtual machines with a similar result, but this did actually not just affect Peek but other screen capturing tools as well.
Just to be sure: When you run Peek the inner area is shown transparent? What happens, if you use ffmpeg and x11grab over the Peek window?
If it helps, I'm able to record with Peek using Awesome WM (another tiling WM) and compton. However, I'm not able to click through the recording window to the windows underneath.
Using i3 here with compton, and no problem so far using Peek.
Some tips here:
I experience the same issue with awesome wm. Just black - nothing works.
@cars10 Do you have a compositor running?
i3 + compton here, works for recording but no way to get click through, resizes the window when I click.
Any luck anyone?
Using i3 + compton or xcompmgr, also no luck interacting with the window below my floating peek.
Note: focus_follows_mouse no
doesn't work.
@dmsmidt, @jruz, @ibrahima and everybody else having issues clicking through the recording area please have a look at issue #52. Trying to find a common component here, so far my bet is on Compton. But just in cade, can you provide the Gtk version used in the linked issue?
Added FAQ with the compositing requirement explained.
Just a note that removing the need for a compositor is work in progress, see https://github.com/phw/peek/issues/147
Neat! Pretty excited to see that this might work without hackery in Awesome in the near future.
I was having the same problem. (in i3)
The fix was running both peek and the window you want to record in floating mode (with peek resized to the area you want to record), hit record on peek and switch to the other floating window, do your thing, then switch back and stop.
I can confirm what @erfanio suggests. I'm running i3 without compton on three 4k screens and often have trouble due to excessive resolution :) Using the described method looks a bit odd, but works perfectly in my setup.
Most helpful comment
I was having the same problem. (in i3)
The fix was running both peek and the window you want to record in floating mode (with peek resized to the area you want to record), hit record on peek and switch to the other floating window, do your thing, then switch back and stop.