Recuperar reimage Service Menu para Dolphin en KDE6
para Arch e derivadas hai un novo paquete en AUR con esta modificación:
kde-service-menu-reimage-mod (AUR)
pero esto vino agora. Como xa tiña o paquete antigo instalado o que fixen foi a modificación manual das rutas (que é o único que fai o paquete AUR novo)
desde a actualización a KDE6 perdín o reimage service menu en Dolphin
https://aur.archlinux.org/packages/kde-service-menu-reimage
mirando o "journal", por outras razóns, vin
kf.dbusaddons: The kded module name "plasma-session-shortcuts" is invalid!
que me levou ao foro de Manjaro
https://forum.manjaro.org/t/dolphin-custom-actions-error-not-authorized-to-execute/158414/4
que referenciaba á documentación de KDE para os "Service Menus"
https://develop.kde.org/docs/apps/dolphin/service-menus/
así, o que fixen foi:
- mirar na localización antiga se aínda estaban os ficheiros .desktop
[user@server ~ ]$ls /usr/share/kservices5/ServiceMenus/ reimage-compress-resize.desktop reimage-metadata.desktop reimage-convert-rotate.desktop reimage-tools.desktop
- crear os novos directorios, que non existían
[user@server ~ ]$mkdir .local/share/kio [user@server ~ ]$mkdir .local/share/kio/servicemenus
- copiar neles os ficheiros .desktop
[user@server ~ ]$cp /usr/share/kservices5/ServiceMenus/reimage-* .local/share/kio/servicemenus/ [user@server ~ ]$ls -la .local/share/kio/servicemenus/ total 28 drwxr-xr-x 2 user user 4096 Mai 2 05:30 . drwxr-xr-x 3 user user 4096 Mai 2 05:30 .. -rw-r--r-- 1 user user 4624 Mai 2 05:30 reimage-compress-resize.desktop -rw-r--r-- 1 user user 4059 Mai 2 05:30 reimage-convert-rotate.desktop -rw-r--r-- 1 user user 3789 Mai 2 05:30 reimage-metadata.desktop -rw-r--r-- 1 user user 2423 Mai 2 05:30 reimage-tools.desktop
- facelos executables
[user@server ~ ]$chmod +x .local/share/kio/servicemenus/reimage-* [user@server ~ ]$ls -la .local/share/kio/servicemenus/ total 28 drwxr-xr-x 2 user user 4096 Mai 2 05:30 . drwxr-xr-x 3 user user 4096 Mai 2 05:30 .. -rwxr-xr-x 1 user user 4624 Mai 2 05:30 reimage-compress-resize.desktop -rwxr-xr-x 1 user user 4059 Mai 2 05:30 reimage-convert-rotate.desktop -rwxr-xr-x 1 user user 3789 Mai 2 05:30 reimage-metadata.desktop -rwxr-xr-x 1 user user 2423 Mai 2 05:30 reimage-tools.desktop
e ao volver a abrir Dolphin xa está dispoñible