How to run a graphical application via sudo on sway wayland
Want to start a graphical application from console, using sudo? You might get an error like qt.qpa.xcb: could not connect to display :0qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.This application failed to …