一个小的 shell 脚本应该可以解决我的重影屏幕问题。我试图将每个窗口在某个方向上移动 1px,然后在接下来的一秒内,它应该在另一个方向上向后移动。
#!/bin/bash
while read windowId g x y w h deviceId windowTitle; do
# ignore desktop screen
if [ "${windowTitle}" != "Desktop" ]; then
# ...
# test values (fullscreen: not possible | window-mode: possible)
`wmctrl -i -r ${windowId} -e 0,200,200,500,500`
# ...
fi
done < <(wmctrl -lG)
是否可以将全屏窗口向某个方向移动 1px?( wmctrl )。
谢谢你的帮助!