Provide instructions to test
Hello,
Here are instructions to build kio-admin using Neon/Docker - KDE Community Wiki (currently based on Ubuntu 22.04 and already with KIO 5.98):
# if using podman instead of docker, add docker.io registry
echo "
[registries.search]
registries = ['docker.io']" | sudo tee -a /etc/containers/registries.conf
The rest should work with either podman or docker:
sudo docker pull kdeneon/plasma:unstable
sudo docker run --name kioadmin -it kdeneon/plasma:unstable /bin/bash
# now in the container:
git clone https://invent.kde.org/sitter/kio-admin.git
cd kio-admin
sudo apt update
sudo apt install build-essential cmake extra-cmake-modules qtbase5-dev kio-dev libkf5i18n-dev gettext libpolkit-qt5-1-dev
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
sudo make all install
This installs the following files:
- /usr/lib/x86_64-linux-gnu/plugins/kf5/kfileitemaction/kio-admin.so
- /usr/lib/x86_64-linux-gnu/libexec/kf5/kio-admin-helper
- /usr/share/dbus-1/system.d/org.kde.kio.admin.conf
- /usr/share/polkit-1/actions/org.kde.kio.admin.policy
- /usr/share/dbus-1/system-services/org.kde.kio.admin.service
- /usr/lib/x86_64-linux-gnu/plugins/kf5/kio/admin.so
- /usr/share/metainfo/org.kde.kio.admin.metainfo.xml
Test
In the host environment (ie not in docker run):
cont=$(docker ps -qf "name=kioadmin")
docker commit $cont kioadmin:1
xhost +
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY --security-opt seccomp=unconfined kioadmin:1 dolphin
unfortunately the test wasn't successful, I get "Invalid protocol" for admin:///
.
Can you help troubleshooting or provide working instructions?
Edited by Edward Oubrayrie