zed icon indicating copy to clipboard operation
zed copied to clipboard

Linux support

Open JosephTLyons opened this issue 2 years ago β€’ 56 comments

🚨 Update: A tracking issue for Linux has been written up here:

  • https://github.com/zed-industries/zed/issues/7015

A quick note on platform support can be found here:

  • https://github.com/zed-industries/zed/issues/5391

JosephTLyons avatar Jun 28 '22 23:06 JosephTLyons

Thanks! :+1: 'ing this as a blocking issue for me!

jamesmunns avatar Jun 28 '22 23:06 jamesmunns

Listing a couple of fallacies when developing for Linux I commonly see with large projects "migrating":

  • Support both X11 and Wayland, not just X11, preferring Wayland if both are available. Xwayland may seem like a nice solution, but in practise it has some implications with HiDPI on Sway (where a window is being told it has only the half of actually available window size, and then gets scaled up twice, ending up pixelated)
  • The window manager might do anything to the window, even if the window is marked non-resizable. Reconfigure your swapchain then instead of just failing because the swapchain blew up.
  • Set window title and class as early as possible, setting it too late (relatively speaking from creating a window) may cause some rules in window managers not to apply.

MultisampledNight avatar Jun 29 '22 20:06 MultisampledNight

The invite came with an invite to give any feedback, so here is a +1 that without Linux support I will not be able to use zed. Unfortunately I do not use mac so I cannot give this awesome editor a try.

ghost avatar Jul 07 '22 21:07 ghost

Some immutable OSes like the OS on the Steam Deck prefer to have apps installed from a flatpak. If it doesn't cause too much extra work, it'd be awesome to use Zed on such OSes and devices by having it distributed as a flatpak.

redoxeon avatar Jul 11 '22 19:07 redoxeon

It would be cool if zed was available for linux. If the licence would atleast allow redistribution i would not mind maintaining a flatpak for zed! Another thing that I would love to see zed do is ship with portal support oob. It would mean zed would integrate with desktop environments very well and be better suited for the flatpak environment

Lunarequest avatar Jul 19 '22 06:07 Lunarequest

To add to the list of fallacies:

  • When processing key presses in linux, you can't assume that pressing a certain key (button with a keycode) has the same meaning everywhere. Keyboard layouts are handled by xkb, and can be reconfigured entirely. Shift+Home (to select everything up to the beginning of the line) can actually be achieved by pressing Henkan+Space+E (or any other key combination), and apps written in all UI toolkits (GTK, QT, even Electron) can handle such key presses – do not be the app that β€œknows better” by processing raw keycodes and breaking custom xkb layouts. Example tickets in other projects:
    • https://github.com/davatorium/rofi/issues/485
    • https://github.com/xkbcommon/libxkbcommon/issues/17 ← a bunch of useful info, I think
    • https://github.com/mate-desktop/pluma/issues/17 ← this one has extremely helpful answers by @bluetech
    • https://superuser.com/questions/801611/how-to-make-all-applications-respect-my-modified-xkb-layout

AlexDaniel avatar Jul 29 '22 11:07 AlexDaniel

It would be cool if zed was available for linux. If the licence would atleast allow redistribution i would not mind maintaining a flatpak for zed! Another thing that I would love to see zed do is ship with portal support oob. It would mean zed would integrate with desktop environments very well and be better suited for the flatpak environment

When you do, be sure to look here for info on permissions. I have found that VS Code and Lapce both run into issues with the flatpak versions and getting the needed env permissions to work properly :D

redoxeon avatar Sep 13 '22 21:09 redoxeon

It would be cool if zed was available for linux. If the licence would atleast allow redistribution i would not mind maintaining a flatpak for zed! Another thing that I would love to see zed do is ship with portal support oob. It would mean zed would integrate with desktop environments very well and be better suited for the flatpak environment

When you do, be sure to look here for info on permissions. I have found that VS Code and Lapce both run into issues with the flatpak versions and getting the needed env permissions to work properly :D

That is why i wanted portal support since it allows seamless grangting of sandbox permissions

Lunarequest avatar Sep 14 '22 00:09 Lunarequest

I couldn't test Zed until yesterday when I got a Mac and oh boy is it promising! A port to Linux would be great, I'm open to testing, debugging and even maintaining an aur for this awesome tool! Let me know how we can help πŸŽ‰

stickyburn avatar Sep 21 '22 20:09 stickyburn

@yashank09 I'll tag team AUR package(s) with you. Lets be sure to setup it up as -bin if all we get is a binary blob release leaving space for a source based package under the plain name if/when licensing allows building it from source. If that does happen it will probably be short lived too -- just long enough to make sure everything works because if licensing allows I'll also be fast-tracking the package into [community]. Fingers crossed licensing will allow us to build and package like that!

alerque avatar Sep 22 '22 06:09 alerque

Adding a +1 here too. Have been checking the releases page quite frequently, waiting for a Linux release.

aalbacetef avatar Nov 01 '22 08:11 aalbacetef

@yashank09 I'll tag team AUR package(s) with you.

Have I missed something? There is no AUR package yet.

kiufta avatar Dec 01 '22 10:12 kiufta

@yashank09 I'll tag team AUR package(s) with you.

Have I missed something? There is no AUR package yet.

It hasn't been released by the team yet.

stickyburn avatar Dec 01 '22 11:12 stickyburn

@JosephTLyons any update on what the status of Linux support is?

Thanks!

aalbacetef avatar Dec 08 '22 18:12 aalbacetef

Nothing to report! We'll probably get going on platform support after beta :)

mikayla-maki avatar Dec 08 '22 18:12 mikayla-maki

Thanks for the quick response! @mikayla-maki

aalbacetef avatar Dec 08 '22 18:12 aalbacetef

Just piling on to say that this is probably the most anticipated release ever for me, can't wait!

secondl1ght avatar Jan 13 '23 06:01 secondl1ght

I am very much looking forward to using it on linux. If it also offers run/debug functionality, I'm willing to pay for it

hohowt avatar Mar 14 '23 12:03 hohowt

I will keep on using ~~deprecated~~ Atom until Zed is available on Linux. I am willing to use Zed daily even if some edges are still rough and contribute to testing to the best of my ability. All I need from Zed at this point is existence(on Linux) and ruby/rails syntax awareness.

bunufi avatar Mar 14 '23 12:03 bunufi

Adding a +1 here. I use all of MacOs, Windows, and Linux in my day to day, constantly switching from one to the other makes the dream of having only a single editor's keybindings and visual layout to comprehend, a dream I wish to realise. Willing to help out in any way possible. I guess the starting point is where are the sources to do a native build from scratch on my local Linux?

d4nshields avatar Mar 15 '23 13:03 d4nshields

:stop_sign: Can we please stop adding messages to "+1" this? :stop_sign:

That makes notification noise for dozens or maybe hundreds of people that are subscribed to this issue that don't need to hear anything until there is something to report. We all want this, but +1 it by thumbs-upping the issue and subscribe for notifications. Thanks.

alerque avatar Mar 15 '23 14:03 alerque

If you release the Linux sources, I'll happily try to create a build template for @void-linux.

atk avatar Mar 15 '23 19:03 atk

Would love to give Zed a try on my Nix machine πŸ¦€ ❄️

eureka-cpu avatar Mar 20 '23 16:03 eureka-cpu

Can't wait for Zed! I'm hoping that my tree-sitter implementations will carry over :smile:

wvannoordt avatar Mar 21 '23 05:03 wvannoordt

FYI I switched to LunarVIM after Atom was deprecated. LunarVIM is super

I love Atom and I have been hoping to start trying out Zed for months now!

Do work on a Copilot extension if you can - Copilot really speeds up coding!

As soon as you release for Linux I am gonna download and try it out okay? :smile:

edoardo-bluframe avatar Mar 24 '23 03:03 edoardo-bluframe

Please we need Zed for linux!

carlosfcezar avatar Mar 29 '23 11:03 carlosfcezar

I think Zed for linux is very important, as linux is great for a lot of people, especially ones that i know, for development. Generally you want software to be available on all platforms, I personally think it should be made sure Zed works with Wayland and X11 perfectly, especially X11 because it's the most widespread, even if it's very old. It's important that the code intelligence is somewhere along the lines of how VSCode handles it, I've tried many other editors out there and this is always the dealbreaker for me.

I think the editor should be easy to extend, theme, it should feel easy to write something, VSCode certainly puts quite a bit of stress on me because of stutters, slow speeds, it really does add up.

Also, while AI tools like Copilot are cool and all, it has certainly seemed less and less powerful the more I used it, I feel like it would benefit me much more if code writing is fast rather than having some AI do it for me (and sometimes awfully)

If zed is easy to extend and modify, I might just write my own extensions and stuff for it, VSCode is slightly painful to write extensions/themes for (yes i've tried it), so I hope you guys can improve on that!

Overall, I really love the work you guys have been doing with this editor and I absolutely can't wait to try the editor out as soon as it comes out for Linux :P There's really nothing quite like it.

TheRedXD avatar Mar 29 '23 17:03 TheRedXD

Hi i am using wsl is zed going to support it?

barel-mishal avatar Mar 29 '23 18:03 barel-mishal

@barel-mishal once linux is released, I dont see why it wouldn't.

We should probably freeze this since the team has explained cross platform is looong from being worked on. Zed is still in Beta.

stickyburn avatar Mar 29 '23 19:03 stickyburn

Locking the thread to prevent new comments (but allow reactions to the original issue) would make many people's inboxes a little less noisy πŸ™

(I apologise for being a source of noise myself πŸ™‡β€β™‚οΈ)

Amolith avatar Mar 29 '23 19:03 Amolith