Re: Desktop file issue in Gnome
| Newsgroups | gmane.linux.lfs.beyond.support |
|---|---|
| Message-ID | <[email protected]> |
On 8/3/25 3:53 PM, "Cliff mcDiarmid" ([email protected] via blfs-support Mailing List) wrote: > Hi > Can someone help here who is maybe using the latest Gnome? > I have a couple of desktop files which I created myself both of which have > passed desktop-file-validate. The first is for Librewolf which doesn't show > anywhere let alone in 'Show apps' > > [Desktop Entry] > Name=LibreWolf > Type=Application > Exec=/usr/bin/LibreWolf.x86_64.AppImage > Icon=/usr/share/icons/hicolor/256x256/apps/librewolf.png > Comment=Secure Browser > Categories=Network > > The second is for a VPN. Again, it passes desktop-file-validate. This time the > file works but refuses to show the icon just a blank space > > [Desktop Entry] > Name=PrivateVPN > Exec=bash -c "/home/vpnprivate.sh" > Icon=/usr/share/icons/hicolor/256x256/apps/gcr-password.png > Type=Application > Version=1.0 > > Any suggestions about where I go from here welcome. > I just used the "Configuring Firefox" section of blfs to make the .desktop file and the link to the icon, replacing the words firefox with librewolf. Worked fine for me. [Desktop Entry] Encoding=UTF-8 Name=Librewolf Web Browser Comment=Browse the World Wide Web GenericName=Web Browser Exec=librewolf %u Terminal=false Type=Application Icon=librewolf Categories=GNOME;GTK;Network;WebBrowser; MimeType=text/xml;text/mml;text/html;application/xhtml+xml;application/vnd.mozilla.xul+xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;x-scheme-handler/http;x-scheme-handler/https StartupNotify=true StartupWMClass=librewolf I'm sure the mail program is going to split that long MimeType line, so careful with that if you're copying. Then update the mime and desktop databases as Rainer said. -- http://lists.linuxfromscratch.org/sympa/info/blfs-support Unsubscribe: See the above information page