# linux: Add mouse cursor icon name synonyms \(\#32820\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c95e2a2f1d2fef604cb1052f4f2405aa067153a9

Requested commit: c95e2a2f1d2fef604cb1052f4f2405aa067153a9

Commit: c95e2a2f1d2fef604cb1052f4f2405aa067153a9

Tree: 6e65d6525fa38dbe8787f945a598d2fe79296ffa

Author: Michael Sloan

Committer: GitHub

## Message

```
linux: Add mouse cursor icon name synonyms (#32820)

Most of the default icon sets on Ubuntu do not use the names that were
there. To fix, using the icon synonyms from the chromium source. This
will probably fix some of the linux mouse cursor issues tracked in
#26141

Also adds a note in the load failure logs mentioning that misconfigured
`XCURSOR_PATH` may be the issue. I ran into this because [the alacritty
snap incorrectly sets
XCURSOR_PATH](https://github.com/snapcrafters/alacritty/issues/21).

On X11 also adds:

* Caching of load errors to log once for missing cursor icons.

* Fallback on default cursor icon. This way if there was a transition
from a non-default icon to a missing icon it doesn't get stuck showing
the non-default icon.

Leaving release notes blank as I have other mouse cursor fixes and would
prefer to just have one entry in the release notes.

Release Notes:

- N/A
```

## Parents

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

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