FS#71840 - [dolphin] Open Terminal doesn't work without kinit installed

Attached to Project: Arch Linux
Opened by Maciej Stanczew (stanczew) - Sunday, 15 August 2021, 12:44 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 01 September 2021, 17:05 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 10
Private No

Details

Latest dolphin update (to 21.08.0) removed kinit from its list of dependencies.
Without kinit installed, Open Terminal functionality of dolphin doesn't work (log pasted at the bottom[1]).
However now kinit is in no way linked to dolphin, not even as an optdepend, so it's not obvious why Open Terminal is broken.

I don't know if Open Terminal should work without kinit installed. If yes, then an upstream bug should be submitted. Otherwise kinit should be added as (opt)depend to dolphin.


[1]
kf.dbusaddons: Can not find 'kdeinit5' executable at "/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" "/usr/bin, /usr/bin"
WARNING: Please setup an KMessageHandler with KMessage::setMessageHandler to display message propertly.
(Could not launch Terminal Client)ERROR: Could not launch the terminal client:

KLauncher could not be reached via D-Bus. Error when calling kdeinit_exec_with_workdir:
The name org.kde.klauncher5 was not provided by any .service files
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 01 September 2021, 17:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  dolphin 21.08.0-2
Comment by Peter Mayr (evil-god) - Tuesday, 17 August 2021, 16:48 GMT
hi, for me its not working even when kinit is installed, i use as workaround:

create open_konsole_here.desktop in ~/.local/share/kservices5/ServiceMenus, make it executable and insert:

[Desktop Entry]
Actions=konsole;
Icon=utilities-terminal
MimeType=inode/directory;
Type=Service
Version=1.0
X-KDE-Priority=TopLevel
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
X-KDE-AuthorizeAction=shell_access

[Desktop Action konsole]
TryExec=konsole
Exec=konsole --workdir %f
Icon=utilities-terminal
Name=Open Konsole here
Comment by Thomas (android_arch) - Friday, 20 August 2021, 09:53 GMT
EDIT: On an completly fresh Arch system with KDE on top (EndeavourOS) installing 'kinit' fixes the issue for me.

On an Arch system where I installed KDE after GNOME I had to put his 'open_konsole_here.desktop' file in '/usr/share/kservices5/ServiceMenus'
Same as @Peter Mayr (evil-god), installing kinit was not the solution for me in that case and I could only use a workaround.


Comment by Hanabishi (Hanabishi) - Friday, 20 August 2021, 17:43 GMT
Installing 'kinit' package works for me.

Loading...