I have a window I move from one monitor to another in steps. The Compiz "Place Window" plug-in intercepts the movements and initially stops it from moving to the next monitor. Then it jumps to the next monitor and freezes. Then it continues the last few steps.
To override the "place window" plugin python issues some CLI commands. Note: $ and extra lines added for readability:
$ gsettings get org.compiz.core:/org/compiz/profiles/unity/plugins/core/ active-plugins
['core', 'composite', 'opengl', 'regex', 'mousepoll', 'animation',
'wall', 'vpswitch', 'session', 'snap', 'workarounds',
'compiztoolbox', 'imgpng', 'resize', 'move', 'place', 'expo', 'fade',
'ezoom', 'scale', 'switcher', 'unityshell']
If 'place' appears between the 'move' and 'expo' plug-ins, remove it using:
$ gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ active-plugins
"['core', 'composite', 'opengl', 'regex', 'mousepoll', 'animation',
'wall', 'vpswitch', 'session', 'snap', 'workarounds',
'compiztoolbox', 'imgpng', 'resize', 'move', 'expo', 'fade',
'ezoom', 'scale', 'switcher', 'unityshell']"
Then move window between two monitors gradually in steps. When done issue gsettings command again:
$ gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ active-plugins
"['core', 'composite', 'opengl', 'regex', 'mousepoll', 'animation',
'wall', 'vpswitch', 'session', 'snap', 'workarounds',
'compiztoolbox', 'imgpng', 'resize', 'move', 'place', 'expo', 'fade',
'ezoom', 'scale', 'switcher', 'unityshell']"
In python-xlib is there a way of doing it by setting a Window state or property?
ccsmmay have some options to filter window ids. – N0rbert Jun 26 '21 at 17:21ccsma couple of days ago. This is how I discovered disablingplacewindows plug-in allows moving window smoothly across two monitors. You can do it with the mouse, just not withxdotool,wmctrl,gtkorpython-xlib. I see they have adbusinterface though and there might be something there to help out. – WinEunuuchs2Unix Jun 27 '21 at 00:09gsettingdirectly from python before and after I move the window. – WinEunuuchs2Unix Jun 27 '21 at 00:11