Re: Desktop file issue in Gnome

"Rainer Fiebig" ([email protected] via blfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
Am 05.08.25 um 11:25 schrieb "Cliff mcDiarmid" ([email protected]
via blfs-support Mailing List):
> Am 03.08.25 um 21:53 schrieb "Cliff mcDiarmid" ([email protected]
> via blfs-support Mailing List):
>> 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
> 
>> In mine I see Terminal=false
>> Only three files have Terminal=true
> 
>> Try adding a ";" after your keyword. My firefox.desktop uses these keywords
>> for "Categories".
> 
>> 1) https://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/
> 
>> 2) As root:
>> update-mime-database /usr/share/mime
>> update-desktop-database
> 
> Unfortunately none of the above helped.   i'm considering taking a desktop
> file for Liberwolf from a distro and adapting it - Urrh
Good luck!  Just for completeness: another "update" command that I use
routinely is
gtk-update-icon-cache (see man gtk-update-icon-cache).
But I dont't expect this to solve your problem.

Rainer

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.