«

X11 不同终端间窗口切换?

学长 发布于 阅读:1954 Linux


第一步先找方法看到打开的窗口

ps是看进程的

看窗口还是x11服务的才管用

xwininfo -tree -root

很详细的窗口

xprop -root|grep ^_NET_CLIENT_LIST

不用正则表达式

xprop -root

比较适合vnc不适合ssh

https://stackoverflow.com/questions/252906/how-to-get-the-list-of-open-windows-from-xserver


xlsclients -l

显示目前详细的窗口信息

https://stackoverflow.com/questions/1029027/x11-move-an-existing-window-via-command-line


wmctrl

move a window to a different workspace using its ID, in bash

https://unix.stackexchange.com/questions/137150/how-to-move-a-window-to-a-different-workspace-using-its-id-in-bash


multiple monitors - Move windows to specific screens using the command line

https://askubuntu.com/questions/702071/move-windows-to-specific-screens-using-the-command-line


Xmove?版本太老了。。。

https://unix.stackexchange.com/questions/239220/possible-to-move-a-window-from-one-x-screen-to-another-on-same-host


xpra感觉也是一堆问题,而且得另外装服务。。。服务器没管理权限就白瞎


扫描二维码,在手机上阅读