Article 58SNH Problems with manually created .desktop file.

Problems with manually created .desktop file.

by
linustalman
from LinuxQuestions.org on (#58SNH)
Hi.

I've made a palemoon.desktop file in /home/XYZ/.local/share/applications. Here's the contents:

Code:#!/usr/bin/env xdg-open

[Desktop Entry]
Name=Pale Moon
StartupWMClass=Pale Moon
Comment=Browse the World Wide Web
GenericName=Web Browser
Exec=/home/XYZ/Software/Pale Moon/PM/palemoon
#Icon=/home/XYZ/Software/Pale Moon/PM/browser/chrome/icons/default/default16.png
#Icon=/home/XYZ/Software/Pale Moon/PM/browser/chrome/icons/default/default32.png
Icon=/home/XYZ/Software/Pale Moon/PM/browser/chrome/icons/default/default48.png
Type=Application
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml; application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;
Keywords=Pale Moon;Browse;Internet;
Terminal=false
Icon[en_IE]=/home/XYZ/Software/Pale Moon/PM/browser/chrome/icons/default/default48.pngIf I right click on a .html, it works but the menu doesn't show the Pale Moon icon. In the MATE Menu, the icon appears fine but Pale Moon doesn't launch.

What am I missing or have gotten wrong?

Thanks.latest?d=yIl2AUoC8zA latest?i=j8dVW_LXD3M:zGV7-B4eMlI:F7zBnMy latest?i=j8dVW_LXD3M:zGV7-B4eMlI:V_sGLiP latest?d=qj6IDK7rITs latest?i=j8dVW_LXD3M:zGV7-B4eMlI:gIN9vFwj8dVW_LXD3M
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments