]> cloud.milkyroute.net Git - dolphin.git/commit
Guide users to using kio-admin instead of sudo
authorFelix Ernst <felixernst@kde.org>
Mon, 1 Jul 2024 12:03:22 +0000 (12:03 +0000)
committerFelix Ernst <felixernst@kde.org>
Mon, 1 Jul 2024 12:03:22 +0000 (12:03 +0000)
commit92b178b7404b002778d8288353f65e27ee5de5dd
treeae38ce183e67098f7d0beb43b7de9dc9ca1e0c52
parent887f3a6e83832d645ddf55d38e3a098b64e12dd5
Guide users to using kio-admin instead of sudo

This commit adds a guided setup that leads users from a situation
in which they try to "sudo dolphin" towards them successfully
setting up and using kio-admin.

1. When users enter "sudo dolphin", they are told to start Dolphin
   by typing "dolphin --sudo" or "dolphin --admin" instead.
2. When Dolphin is started with "--sudo" or "--admin" it checks
   whether an "admin" protocol is installed. If not, a guided
   setup leads users towards installing it.
3. After that, Dolphin starts with an installed "admin" protocoll
   like kio-admin. Now a non-modal information dialog appears that
   explains how to activate and use kio-admin.
CMakeLists.txt
src/CMakeLists.txt
src/admin/workerintegration.cpp
src/admin/workerintegration.h
src/config-dolphin.h.cmake
src/dolphinpackageinstaller.cpp [new file with mode: 0644]
src/dolphinpackageinstaller.h [new file with mode: 0644]
src/main.cpp