I think your comments about Wayland and security are explaining things in a very good way.
I have already tried to think and act along these ideas: the current version of mkusb works in Wayland. Originally I made it work remotely via ssh by running things that need elevated permissions in text mode (simply by calling sub-shellsripts with sudo), while the main shellscript is using a GUI. It was not too difficult to do. The mileage might vary depending on the structure of the software.
@Nikita Yerenkov-Scott,
I think your comments about Wayland and security are explaining things in a very good way.
I have already tried to think and act along these ideas: the current version of mkusb works in Wayland. Originally I made it work remotely via ssh by running things that need elevated permissions in text mode (simply by calling sub-shellsripts with sudo), while the main shellscript is using a GUI. It was not too difficult to do. The mileage might vary depending on the structure of the software.