Bug 349242 - Remove "Place in system tray" option
Summary: Remove "Place in system tray" option
Status: RESOLVED FIXED
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 361684 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-16 16:11 UTC by Greg Hines
Modified: 2016-04-12 21:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Hines 2015-06-16 16:11:00 UTC
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
Comment 1 Christoph Feck 2015-06-16 17:56:43 UTC
Can you please add the .desktop file which you use for launching plaidchat from the menu?
Comment 2 Greg Hines 2015-06-17 09:26:11 UTC
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?
Comment 3 Christoph Feck 2015-07-28 13:14:54 UTC
> 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.
Comment 4 Kai Uwe Broulik 2016-04-06 08:11:39 UTC
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
Comment 5 Christoph Feck 2016-04-12 21:18:15 UTC
*** Bug 361684 has been marked as a duplicate of this bug. ***