Git Product home page Git Product logo

Comments (12)

ileonte avatar ileonte commented on September 6, 2024 3

I just added a Linux binary to the latest release (0.1.3). Please try it out and let me know if it works for you.

from focus.

ileonte avatar ileonte commented on September 6, 2024 2

Makes sense. I will generate binaries then, we'll work out a way to get them to you to post on Github releases.

from focus.

ileonte avatar ileonte commented on September 6, 2024 1

I've just released a new Linux build for version 0.1.4 which should fix the global config error as well as add better scaling for HiDPI screens under X11 (scaling is still hardcoded at 1.0 for Wayland, it's something I'm working on right now).

The open projects directory issue is expected for now as I haven't gotten a chance to implement the underlying platform hook yet. I hope to have it fixed for the next release.

from focus.

obiwanus avatar obiwanus commented on September 6, 2024

I don't have a linux machine handy. @ileonte - do you think the linux version is usable enough to give it to people as a binary?

from focus.

marvhus avatar marvhus commented on September 6, 2024

btw, I got it to kinda work using wine, and a bash script.
But it would still be nice to have a Linux binary.

from focus.

ileonte avatar ileonte commented on September 6, 2024

Here are the usability issues that I'm aware of on the Linux version:

  • under X11 there is no mouse wheel support (missing in the Input module, I will need to add that). Works fine under Wayland.
  • under X11 numpad input still seems to be broken (the keys are always interpreted as if NumLock is off, still looking into whether that's a general X11 thing or is just a bug on my setup)
  • on Wayland there are no client-side decorations. If you run the editor under a compositor that doesn't support server-side decorations (ie. pretty much everything except kwin as far as I know) there is no window titlebar and no borders to resize it.
  • there is still no save "dialog" of any kind, so if you create a new file there's no way to save it (saving modifications to an existing file works just fine, this is strictly about new files created from the editor itself)

In terms of generating a binary - it could be done in theory, we would need an old enough version of some distribution (glibc) to link against. I don't know if something can be set up on Github to build it automatically or whether I should try and generate a binary manually. Let me know.

from focus.

obiwanus avatar obiwanus commented on September 6, 2024

@ileonte I don't think adding a Github pipeline for building is an option for now, not until Jai is public at least. Otherwise we'd probably have to commit object files and run shell scripts to link them against glibc, which is not really an option.
But maybe I'm wrong.

from focus.

marvhus avatar marvhus commented on September 6, 2024

@ileonte

I don't know if something can be set up on Github to build it automatically or whether I should try and generate a binary manually. Let me know.

You can do that using GitHub actions, though idk if it is possible to do while the compiler isn't public.

from focus.

meglio avatar meglio commented on September 6, 2024

Is MacOS version even farther than the linux one?

from focus.

marvhus avatar marvhus commented on September 6, 2024

Seams like it doesn't create the Global config, but it does create a example project config, so I just copied and renamed that one as a temporary solution.

Error message:

Could not open file "/home/mh/thirdparty/focus/global.focus-config": code 2, No such file or directory
Couldn't read the config file file '/home/mh/thirdparty/focus/global.focus-config'

from focus.

marvhus avatar marvhus commented on September 6, 2024

Also, open projects directory does nothing.

from focus.

focus-editor avatar focus-editor commented on September 6, 2024

Since the main request was about linux binaries and it's been done, I'm closing the issue. Please open issues for things you encounter individually so they can be tracked more easily. Appreciate your work @ileonte! 💪

from focus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.