SUMMARY Sometimes you need to use root GUI applications and its really nice this is possible. I guess because its nieche its not very known and there may be many hidden bugs. You launch root dolphin like that: : pkexec env 'DISPLAY=$DISPLAY' 'XAUTHORITY=$XAUTHORITY' KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dolphin STEPS TO REPRODUCE 1. Launch Dolphin as root 2. See if your non QWERTY keyboard has the right settings 3. launch sudo systemsettings to adapt it OBSERVED RESULT The language is adapted correctly, the keyboard is wrong. EXPECTED RESULT The keyboard should be adapted too. This in general seems to be a way more common issue than language detection. SOFTWARE/OS VERSIONS Fedora 37 KDE 5.27.3
Don't launch System Settings as root. This is unsupported and *will* cause system breakage the more you do it. Just Say No. :)
there is no other way to use dolphin with root folders. You cant create files in these folders. I heard there is some polkit integration, in kwrite for sure, but not sufficiently in dolphin.
1. Don't run Dolphin as root either to manage root-owned stuff; we have kio-admin for that. It is *strongly* recommended to use kio-admin instead of using hacky workarounds to open Dolphin as root. 1. System Settings isn't connected to Dolphin in that way; even if you do want to open Dolphin as root, you don't also need to open System Settings as root.
Thank you! I never heard of this and entering "admin:///" in the location bar doesnt work, but launching from terminal does. I will use that, as the XWayland Dolphin was a really dirty workaround. But I just didnt know of this feature.
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/527
Git commit 70e20a310a55a52d63077fbd62f3bbe0c642a9b5 by Nate Graham. Committed on 05/04/2023 at 16:17. Pushed by ngraham into branch 'master'. Make "don't run me with sudo/kdesu" message informative We tell users what not to do, but we don't tell then what to do instead. At one point we told them to just use Dolphin normally and the polkit integration would kick in, but that work ended up being reverted and abandoned. Instead, tell them to use kio-admin, which exists as a released product and will hopefully not get removed anytime soon. M +8 -2 src/main.cpp https://invent.kde.org/system/dolphin/commit/70e20a310a55a52d63077fbd62f3bbe0c642a9b5