# linux: Use app_id as filepath for desktop file \(\#11337\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e69e25c171c3c2b402909795f638a48d6f84f502)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e69e25c171c3c2b402909795f638a48d6f84f502

Requested commit: e69e25c171c3c2b402909795f638a48d6f84f502

Commit: e69e25c171c3c2b402909795f638a48d6f84f502

Tree: 0537c0843bfcfe3846977aea51351267bef5f1dc

Author: Thorsten Ball

Committer: GitHub

## Message

```
linux: Use app_id as filepath for desktop file (#11337)

This undoes the changes from #11333 and uses the path of the `.desktop`
file instead.

According ot the spec
(https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html)
the filename and path of the `desktop` file are used to determine the
desktop file ID.

This is enough to match the windows (which have the same WMClass/app-id)
with the desktop entry.

Release Notes:

- N/A
```

## Parents

- [61a60d37a27f2c3ff854ea8f5d8152703da69567](https://git.cafe/gitcafe/zed/commit/61a60d37a27f2c3ff854ea8f5d8152703da69567?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e69e25c171c3c2b402909795f638a48d6f84f502?format=markdown)
