'Is there a way to move a window past the side bar automatically in Ubuntu

I need to move a window past the side bar.

Both wmctrl and xdotools treat the coordinates 0 0 as the top left corner after the top and side bar. Is there any way to automatically move the window?

This is in Ubuntu 18.04. Any other programs/scripts that can do this are welcome as well.

Note: If I manually move the window past the bar, and then move through either program to 0 0, it does move the window properly. However I need a fully automatic solution.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source