I can't pkexec mousepad because it says:
Failed to initialize xfconf: Error spawning command line “dbus-launch --autolaunch=45a61df0fc65443884bdfe516e181dfb --binary-syntax --close-stderr”: Child process exited with code 1
I can't not use
su -
mousepad
cannot open display:
But I want to use mousepad. It did work out of the box in Manjaro.
The question is why does pkexec work with thunar but not with mousepad.
The wiki page does not help beginners.
You can add export SUDO_EDITOR=mousepad to your .bashrc or fish config file so you don’t have to type it each time.
Reading and learning is something beginners should do. Arch-based distros require you to understand how your system works, so as a beginner that’s something you should be doing.
“Why is flying an aeroplane so complicated? Why can’t they make it suitable for beginners?”