diff options
| author | Felix Ernst <[email protected]> | 2024-07-01 12:03:22 +0000 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2024-07-01 12:03:22 +0000 |
| commit | 92b178b7404b002778d8288353f65e27ee5de5dd (patch) | |
| tree | ae38ce183e67098f7d0beb43b7de9dc9ca1e0c52 /src/config-dolphin.h.cmake | |
| parent | 887f3a6e83832d645ddf55d38e3a098b64e12dd5 (diff) | |
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.
Diffstat (limited to 'src/config-dolphin.h.cmake')
| -rw-r--r-- | src/config-dolphin.h.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config-dolphin.h.cmake b/src/config-dolphin.h.cmake index 797ea38c5..903b7e7db 100644 --- a/src/config-dolphin.h.cmake +++ b/src/config-dolphin.h.cmake @@ -1,6 +1,10 @@ +/** Set whether to build Dolphin with support for these technologies or not. */ #cmakedefine01 HAVE_BALOO #cmakedefine01 HAVE_PLASMA_ACTIVITIES #cmakedefine01 HAVE_KUSERFEEDBACK #cmakedefine01 HAVE_PACKAGEKIT #cmakedefine01 HAVE_TERMINAL #cmakedefine01 HAVE_X11 + +/** The name of the package that needs to be installed so URLs starting with "admin:" can be opened in Dolphin. */ +#cmakedefine ADMIN_WORKER_PACKAGE_NAME "@ADMIN_WORKER_PACKAGE_NAME@" |
