Task: Implement the Desktop Entry Locator feature

TASK-DESCRIPTION

TASK-OUTPUT

Produce these complete files in this order, then the VERIFICATION: line: 1. sources/desktop/desktop_entry_locator.h 2. sources/desktop/desktop_entry_locator.cpp 3. tests/20-desktop-entry-locator.sh 4. tests/50-desktop-search-path-live.sh

TASK-CONTEXT

Search-path facts and the observed host values are in documents/09-desktop-file-search-paths.md. The locator reads XDG_DATA_HOME, XDG_DATA_DIRS, XDG_CONFIG_HOME, XDG_CONFIG_DIRS, and HOME, and never writes.

TASK-FILES

Operation Path
create sources/desktop/desktop_entry_locator.h
create sources/desktop/desktop_entry_locator.cpp
create tests/20-desktop-entry-locator.sh
create tests/50-desktop-search-path-live.sh

TASK-VERIFY

TASK-FEATURES

TASK-ACCEPTANCE

OUTPUT: the four complete files in the order listed, ending with the VERIFICATION: line.