sassman / t-rec-rs

Blazingly fast terminal recorder that generates animated gif images for the web written in rust

Home Page:https://crates.io/crates/t-rec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Active Window cannot be identified on xmonad and panics

sassman opened this issue · comments

Describe the bug
t-rec fails to run caused by invalid active window id

To Reproduce
Steps to reproduce the behavior:

  1. run t-rec
  2. see the error message

Expected behavior
It should identify the active window correctly else at least not panic

Screenshots
image

Version Numbers of your System:

  • OS: Linux Mint
  • Version: 20
  • WindowManager: xmonad v0.15
  • Terminal: gnome-terminal

Additional context

wmctrl -l
Cannot get client list properties.
(_NET_CLIENT_LIST or _WIN_CLIENT_LIST)

On Linux please include the output of xwininfo -root -tree -int:
image

In order to configure xmonad to work, this must be added to ~/.xmonad/xmonad.hs

import XMonad
import XMonad.Hooks.EwmhDesktops

main = xmonad $ ewmh def{ handleEventHook =
           handleEventHook def <+> fullscreenEventHook }

as described in the docs