desktop: Force running in X11 mode

Merged Jeremy Bicha requested to merge jbicha/accerciser:desktop-x11 into master

When run in Wayland, accerciser crashes with this error from libwnck

"libwnck is designed to work in X11 only, no valid display found"

See #41

Other Info

I know very little about Accerciser.

I think wnck is used so that it can try to highlight the corresponding widget of the target app when browsing through Accerciser's treeview representation of the target app.

However, this feature did not focus the app correctly for me in GNOME on Xorg or in GNOME on Wayland. I tested with Ubuntu 23.04 using GNOME 44.

Crashing is bad so this workaround is an improvement but I believe a more thorough fix is needed.

Merge request reports