On 27/09/2021 11:08, Joe Zeff wrote:
On 9/26/21 8:03 PM, ToddAndMargo via users wrote:
> Hi Joe,
>
> I was looking for the data that goes into those desktop icons.
>
> They reside in
> /usr/share/applications
> ~/.local/share/application
I looked into the launcher for Firefox in ~/Desktop and here's what I found:
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Firefox
GenericName=Web Browser
Comment=Browse the Web
Exec=firefox %u
Icon=firefox
Terminal=false
Type=Application
StartupWMClass=Firefox-bin
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
StartupNotify=true
X-Desktop-File-Install-Version=0.15
Categories=Network;WebBrowser;
Name[en_US]=Firefox
No mention anywhere of either of those directories.
Right. They are not specified directly. You need to look a the specifications for XDG.
One of them is.
There is a set of preference ordered base directories relative to which data files should
be searched. This set of directories is defined by the environment variable
$XDG_DATA_DIRS
So, what does that environment variable contain on your system?
--
Nothing to see here