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
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure