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.


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.