I recent installed PlaidChat - https://www.npmjs.com/package/plaidchat - using npm. I can then run the program from the command line. I then put the program in my menu via kmenuedit with the command "/usr/bin/plaidchat". When I click on the icon I get the error: KDEInit could not launch 'ksystraycmd': Could not open library '/usr/lib/x86_64-linux-gnu/libkdeinit5_ksystraycmd'. Cannot load library /usr/lib/x86_64-linux-gnu/libkdeinit5_ksystraycmd: (/usr/lib/x86_64-linux-gnu/libkdeinit5_ksystraycmd.so: cannot open shared object file: No such file or directory) I have found some discussion online about this error message but nothing mentioned in the posts has helped me figure out what is going on. https://www.kubuntuforums.net/showthread.php?68126-Cant-run-firefox-after-fresh-install Probably very related to https://bugs.kde.org/show_bug.cgi?id=347540 but that post has no mention about things working via command line. Reproducible: Always
Can you please add the .desktop file which you use for launching plaidchat from the menu?
thank you - I realized that the .desktop file contained the line Exec=ksystraycmd /usr/bin/plaidchat %u After removing ksystraycmd, everything works. But why would kmenuedit insert ksystraycmd - I definitely didn't put it in. Is this already a known bug?
> But why would kmenuedit insert ksystraycmd There is a checkbox in kmenuedit to "Place in system tray". It should be removed if ksystraycmd isn't ported to Plasma 5. See also bug 344168.
Git commit b2d81b6eaee88bd47cbfee3941494ba305cc9f23 by Kai Uwe Broulik. Committed on 06/04/2016 at 08:11. Pushed by broulik into branch 'master'. [KMenuEdit] Remove ksystraycmd stuff Doesn't work and not that we want applications in the tray anyway. Differential Revision: https://phabricator.kde.org/D1080 M +4 -31 basictab.cpp M +1 -2 basictab.h http://commits.kde.org/kmenuedit/b2d81b6eaee88bd47cbfee3941494ba305cc9f23
*** Bug 361684 has been marked as a duplicate of this bug. ***