scripts
scripts copied to clipboard
lnotify.py / Python 3.7 ocassional xdotool error, garbled screen
Occasionally weechat screen gets garbled after the following error from lnotify.py
./logs/core.weechat.weechatlog:2019-07-22 18:41:08 python: stdout/stderr (lnotify): subprocess.CalledProcessError: Command '['xdotool', 'getactivewindow', 'getwindowpid']' returned non-zero exit status 1
- Fedora 30
- xfce4-terminal (XFCE)
- Python 3.7.3
- lnotify 0.3.5
Could this be related to: https://github.com/weechat/scripts/issues/334 and https://github.com/weechat/scripts/issues/339
I am currently using @larsks patched version that removes the xdotool
subprocess functionality and will report back if I no longer have issues:
https://github.com/larsks/scripts/commit/669c75f3f080f17fa49344103e0c62614fdf94e7
After two days with no xdotool errors that triggered garbled screen, feel confident that the patched version https://github.com/larsks/scripts/commit/669c75f3f080f17fa49344103e0c62614fdf94e7 fixes this issue.