Crate freedesktop_desktop_entry

Crate freedesktop_desktop_entry 

Source

Re-exports§

pub use unicase;

Structs§

DesktopEntry
GenericEntry
Parse files based on the desktop entry spec. Any duplicate groups or keys will be overridden by the last parsed value and any entries without a group will be ignored.
Group
Groups
Iter

Enums§

DecodeError
ExecError
IconSource
Line
PathSource

Functions§

current_desktop
default_paths
Returns the default paths in which desktop entries should be searched for based on the current environment. Paths are sorted by priority.
desktop_entries
Read all desktop entries on disk into a Vec, with only the given locales retained.
desktop_entry_from_path
Return a single desktop entry
find_app_by_id
Case-insensitive search of desktop entries for the given app ID.
get_languages_from_env
Get the configured user language env variables. See https://wiki.archlinux.org/title/Locale#LANG:_default_locale for more information
group_entry_from_path
Return a single entry from a specified group
parse_line

Type Aliases§

GroupName
Key
Locale
LocaleMap
Value