3
1
Opening programs via the 'Application Launcher' menu, then selecting the program works.
Using the launcher generated on the panel, eg by right-clicking on an open program, then selecting 'Show A Launcher When Not Running' places a .desktop file which is opened with kate
.
xdg-mime query filetype /opt/kde/share/applications/org.kde.dolphin.desktop
returns text/plain
, as does the same command for
/opt/kde/share/applications/org.kde.rekonq.desktop
etc.
xdg-mime query default text/plain
then returns org.kde.kate.desktop
, explaining why the files are being opened by kate
.
Presumably the problem here is that the mimetype of the *.desktop
files should be something other than text/plain
. What should it be? Is there a simple way to check/find out/change these?
Note: KDE-5, Plasma-5, (C)LFS, source installs, etc. No package manager.
1I don't have KDE-5 but KDE-4.1x. However, this shouldn't matter much here IMO. The xdg-mime command for a
.desktop
file returned meapplication/x-desktop
as the mime type. So as the Properties -> Application -> Mimetype that can be accessed by right-clicking.desktop
file and choosing Properties. (This also allows you to add this mimetype.) – Firelord – 2015-05-21T18:37:03.597Let me know if it works. – Firelord – 2015-05-21T18:37:46.307