Closed simonbcn closed 5 years ago
Yea the window title shouldn't have been translatable. I'll fix this.
I think the problem is rather that xwininfo is an X11 tool and cannot see any native Wayland windows.
I think the problem is rather that xwininfo is an X11 tool and cannot see any native Wayland windows.
Ah, never mind, I was missing the GDK_BACKEND=x11 override, and didn't notice the warning notification. (I have a better fix for that anyway: #137.)
I've got the same problem in french:
'''$ green-recorder
You are recording on: x11
xwininfo: error: No window with name "Area Chooser" exists!
Traceback (most recent call last):
File "/usr/bin/green-recorder", line 486, in areasettings
output = subprocess.check_output(["xwininfo -name \"Area Chooser\" | grep -e Width -e Height -e Absolute"], shell=True)[:-1]
File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['xwininfo -name "Area Chooser" | grep -e Width -e Height -e Absolute']' returned non-zero exit status 1
'''
The title of the window is "Sélecteur de zone"
The info of that window in Spanish is:
I don't think selecting the window by name is a good idea.