-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
β¨ Linux support? #7
Comments
100% I would love to add Linux support. It is still quite far out since GPUI (the UI framework) lacks cross platform support. It is however WIP and should land according to the devs before EoY. That gives me sometime to mature this project and prepare Linux support as well. Currently basic things like listing apps is built exclusively around MacOS. |
The first couple of steps are done. It compiles for Linux and there is a very basic app launcher using Itβs not very pretty yet and the GPUI linux support is in very early stages, so the window will always appear in the top left corner and there is no way to hide it yet, but to be honest I am impressed with how easy it was to even get to this point. |
I was curious to try it, but it fails with the following error(s) at the moment. I know you said it's early progress, so please don't feel the need to respond to this comment.
|
It works in release mode. It looks fine, but I can't interact with it (keyboard/mouse). Still shows the "Failed to read themes" message. When I try to resize the window, it crashes with
|
@sharkdp you are on x11 right? I noticed i can only interact with it on wayland for now. For the first error you need Vulkan Validation Layer installed otherwise it crashes like this. anyway I am in contact with the guys doing the GPUI Linux port and they are aware of all the issues. Thatβs mostly the reason why I did this early Linux work, so they have something other than Zed to test. |
yes. I see
π |
Any updates about Linux ver? |
Still pretty limited. Some necessary APIs for Loungy are still not supported in Linux GPUI. For example hiding of the window. |
Just checked again... Stuff that's not working upstream GPUI:
Issues in Loungy codebase:
|
Unfortunately, I'm sure if this is even possible on Wayland. |
Vouching for this one. One extra request, can you package it as well in your flake.nix, so its easy to install on NixOS |
@Davincible sadly I have 0 clue about nix. The existing flake/nix stuff if from @f8thl3ss , so maybe they are interested in adding proper nix packaging? |
Hey! π |
Rough early CLI has been implemented. So you can now control Loungy via CLI:
Usage:
|
The proper way to solve this on wayland would be to use wlr-layer-shell instead of xdg-shell for the toplevel, which let's you set anchors relative to screen edges, and center it by specifying no anchors. You can also set a the layer which will place it over other toplevels, I think |
@bbb651 indeed I stumbled across this while evaluating switching to Iced. There is already a maintained extension for Iced to make use of wlr-layer-shell, which looks pretty easy to use. |
@MatthiasGrandl You might wanna look at Gauntlet and cosmic-launcher for reference and evaluation, they are both launchers based on iced with different goals and experience. The extension you're talking about is the pop-os iced fork right? They have an iced_sctk backend with layer-shell support (winit doesn't support it), do keep in mind they are currently rebasing from a fairly old version so I would recommend prototyping with iced master. While looking at the winit issue I found another crate very recently created also for iced layer-shell, unlike the pop-os fork I've never used it myself so I can't say anything about it. |
Jup I am on Iced master and yes I was talking about this https://github.com/waycrate/exwlshelleventloop . Gauntlet looks cool, didn't see that one yet! |
Hi ππ»
I loved your efforts towards this project I also wanted to build something like this but for cross-platform and mostly for linux as well. I use python mostly but python don't have great GUI framework I like so just was checking out few stuff and noticed rust implementation.
Do you have plan to add linux support?
The text was updated successfully, but these errors were encountered: