Skip to content

fix: align icon filename with cursor.desktop and drop deprecated xorg.*#60

Open
jacopone wants to merge 1 commit into
mainfrom
fix/icon-name-and-xorg-cleanup
Open

fix: align icon filename with cursor.desktop and drop deprecated xorg.*#60
jacopone wants to merge 1 commit into
mainfrom
fix/icon-name-and-xorg-cleanup

Conversation

@jacopone
Copy link
Copy Markdown
Owner

Summary

  • Rename installed icon from cursor.png to co.anysphere.cursor.png to match the Icon=co.anysphere.cursor field shipped in cursor.desktop — desktop launchers can now resolve the icon
  • Replace xorg.libX11 and siblings with their top-level equivalents (libx11, libxcomposite, libxdamage, libxext, libxfixes, libxrandr, libxcb) — silences 12 deprecation warnings emitted by current nixpkgs
  • Drop the redundant xorg.libxkbfile line (libxkbfile was already listed)

Background

Both changes originate from #50 by @max-miller1204, which was closed after being superseded by direct hash refreshes on main (3.0.13 → 3.0.16 → 3.1.x → 3.2.x → 3.3.30). Reapplied here against current main with credit preserved as a co-author on the commit.

Verification

  • nix flake check — passes with zero deprecation warnings (was 12)
  • nix build .#cursor — succeeds against 3.3.30
  • result/share/icons/hicolor/*/apps/co.anysphere.cursor.png exists in build output
  • cursor.desktop in 3.3.30 still references Icon=co.anysphere.cursor

Test plan

  • Launch Cursor from a desktop launcher and confirm the icon now displays correctly

🤖 Generated with Claude Code

cursor.desktop ships Icon=co.anysphere.cursor, but the AppImage exports
the icon as cursor.png — so desktop launchers couldn't resolve it.
Rename on install to bridge the gap.

Also replace xorg.libX11 et al. with their top-level equivalents
(libx11, libxcomposite, libxdamage, libxext, libxfixes, libxrandr,
libxcb) to silence the 12 deprecation warnings emitted by current
nixpkgs. The redundant xorg.libxkbfile is dropped (libxkbfile was
already listed).

Both changes originate from #50, which was closed as superseded on the
hash bump it was bundled with.

Co-Authored-By: Max <maxmiller1204@outlook.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant