def get_source_desktop_file(desktop_file_name: str) -> Path:
possible_paths = (<EOL>Path(common.XDG_DATA_HOME) / "<STR_LIT>",<EOL>Path("<STR_LIT:/>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"),<EOL>Path(__file__).parent.parent.parent / "<STR_LIT>"<EOL>)<EOL>for possible_path in possible_paths:<EOL><INDENT>desktop_file = possible_path / desktop_file_name<EOL>if desktop_file.exists():<EOL><INDENT>return desktop_file<EOL><DEDENT><DEDENT>raise FileNotFoundError("<STR_LIT>".format(possible_paths))<EOL>
Try to get the source .desktop file with the given name.
:raises FileNotFoundError: If no desktop file was found in the searched directories.