Naming of a launcher
- In most cases...
The interface -name of a launcher, in most cases, is defined in the (first) line, starting with:
of its corresponding
- Localized naming from the .desktop file
For localized naming, some applications (like Thunderbird) use extensive lists with launguage- specific names:
- But where is the localized name defined if it's not defined in the .desktop file?
In some cases however, the icon is named differently, but the name is nowhere in the
Where is this name connected with the
A few years ago, I wrote the QLE Quicklist editor. That version used the International interface names. I am rewriting it now in
Gtk+, but need to find a reliable way to display the localized launcher names.
No doubt, this question is related to this one, but not exactly a dupe; I'd like to know where the information is stored to fetch the localized name(s) myself.
As a proof, the content of
gnome-screenshot.desktop, named Scermafdruk localized (translated: Screenshot). No trace of the string "Scermafdruk" in the file...
[Desktop Entry] Name=Screenshot Comment=Save images of your screen or individual windows Keywords=snapshot;capture;print; Exec=gnome-screenshot --interactive Terminal=false Type=Application Icon=applets-screenshooter StartupNotify=true Categories=GTK;GNOME;Utility; NotShowIn=KDE; X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=gnome-utils X-GNOME-Bugzilla-Component=screenshot Actions=Screen;Window;Area X-Ubuntu-Gettext-Domain=gnome-screenshot [Desktop Action Screen] Name=Take a Screenshot of the Whole Screen Exec=gnome-screenshot OnlyShowIn=Unity; [Desktop Action Window] Name=Take a Screenshot of the Current Window Exec=gnome-screenshot -w OnlyShowIn=Unity; [Desktop Action Area] Name=Take a Screenshot of a Selected Area Exec=gnome-screenshot -a OnlyShowIn=Unity;