Peek: Output is all black except for mouse on i3 tiling window manager

Created on 31 Aug 2016  ·  14Comments  ·  Source: phw/peek

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.

question

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.

All 14 comments

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:

  • Set Peek as a floated window
  • After starting the recording, select the recording zone using keyboard (There is no way to select it using the mouse)

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kayaksan picture kayaksan  ·  15Comments

davidv171 picture davidv171  ·  59Comments

gort818 picture gort818  ·  21Comments

chteuchteu picture chteuchteu  ·  32Comments

nipunasudha picture nipunasudha  ·  23Comments