Fix: Window centering in XFCE does not work properly

Recently, in the Linux distro I use, I switched from the Fluxbox desktop environment to XFCE, because XFCE provides some unique and nice features for me like the ability to re-order taskbar buttons. In Fluxbox, I had set up all windows to open at the center of the screen with a hack. XFCE also comes with the ability to center new windows out of the box, however, it fails for me from time to time. Here is how to get rid of the issue so windows are centered properly.

Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.