wmctrl: moving a fullscreen window

南笙酒味 提交于 2019-12-24 08:39:52

问题


A small shell script should fix my ghosting-screen problem. I'm trying to move each window just 1px in a certain direction and in the following second it should do a move in the other direction back.

#!/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)

Is it possible to move a fullscreen window just by 1px in a certain direction? (wmctrl).

Thanks for your help!

来源:https://stackoverflow.com/questions/49755831/wmctrl-moving-a-fullscreen-window

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!