Skip to content

Update zed script#2228

Merged
ivan-hc merged 1 commit intoivan-hc:mainfrom
lorduskordus:fix-zed
Apr 6, 2026
Merged

Update zed script#2228
ivan-hc merged 1 commit intoivan-hc:mainfrom
lorduskordus:fix-zed

Conversation

@lorduskordus
Copy link
Copy Markdown
Contributor

Issues

  • Downloads preview releases, but looks like a stable one (icon, name)
  • Creates a .desktop file that differs too much from the official one (example: missing action)
  • Displayed icon falls back to a generic Wayland one

This PR makes the script

  • Download only stable/latest releases
  • Create a proper .desktop file modeled after the official one
  • Include StartupWMClass=dev.zed.Zed in the .desktop file, so that the right icon is displayed

Testing

How

  • Exported APPSDB and APPSDBLIST variables to match my forked repo
  • Installed Zed using am -i zed

Tested on

  • Fedora 43 with KDE Plasma (Wayland)
  • Pop!_OS 24.04 with COSMIC (Wayland)

NOT tested

  • A machine with X11

@fiftydinar
Copy link
Copy Markdown
Contributor

dev.zed.Zed is also a wmclass on X11, so it works good there.

You can test this by issuing WAYLAND_DISPLAY="" zed, which will launch it as XWayland.

@lorduskordus
Copy link
Copy Markdown
Contributor Author

dev.zed.Zed is also a wmclass on X11, so it works good there.

You can test this by issuing WAYLAND_DISPLAY="" zed, which will launch it as XWayland.

Thanks, tested it, works.

@ivan-hc ivan-hc merged commit 73f251a into ivan-hc:main Apr 6, 2026
@ivan-hc
Copy link
Copy Markdown
Owner

ivan-hc commented Apr 6, 2026

@lorduskordus welcome on board!

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.

3 participants