Reply to topic

KDE task bar not recognizing the .desktop file

jamessuarez
Registered Member
Posts
1
Karma
0
I have ubuntu 18.04 with plasma 5 desktop (especifically KDE NEON). I'm a programmer, and i have a question about a rare situation.

I have a desktop file in ~/.local/share/applications/xapp.desktop with a content like this:

Code: Select all
#!/usr/bin/env xdg-open
[Desktop Entry]
Terminal=false
Icon=org-xapp
Type=Application
Categories=Development;

Exec=/home/james/Electron/dist/electron /home/james/path-to-electron-app
MimeType=
Name=XAPP
Comment=
#NoDisplay=true


Well, the app is shown in applications menu and open perfectly, but when I pin to taskbar in KDE, is pinned the executable, without the full command present in desktop file. I expect, that should pin with the full command line of the desktop file.

I see that chrome applications are pinned correctly, and the desktop file of these apps doesn't have nothing special, so what is the reason of my custom app don't get pinned correctly? or how I can get pinned correctly on plasma 5 kde?

Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], llarruda, Svanto24, thunder422