for nautilus:
-
there is a package called
nautilus-admin
. That gives you a right click menu “open as administrator” (or similar) to open folders, or edit files as root -
in nautilus you can also just edit the adress bar. Hit
Ctrl+L
to switch in editing mode. then you can enteradmin://
in the adress bar -> authentication prompt will ask for your password, and voila, you can browse as root.
Both methods work on wayland btw.
Don’t know about desktop folders. I know there used to be an extension for that, but i never used it personally.