Comments (12)
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.
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.
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.
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.
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.
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.
@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.
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.
Is MacOS version even farther than the linux one?
from focus.
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.
Also, open projects directory
does nothing.
from focus.
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)
- [Feature Request] Add option to run filetype-specific commands on save
- Scrolling with a trackpad on wayland has erratic behaviour
- Does not compile on MacOS M2 with Jai 0.1.090 HOT 3
- [Feature Request] add `open_panel_on_run` configuration
- Float literals with only one digit before the decimal point are incorrectly highlighted in HLSL HOT 1
- Zoom triggers even when scrolling is done
- No comment toggling for rust files. HOT 1
- V3 -> V4 config migration doesn't preserve theme colors HOT 1
- [Feature Request] Open a file to a line number HOT 1
- Editor Logo not consistent across color schemes HOT 1
- Intermittent Fatal Error when using regex on build output HOT 5
- Feature Request: SQL Language Support
- Feature Request: Scala 2 & 3 Language Support
- Feature Request: Add Java Language Support
- Feature Request: File preview in search window
- [Feature Request] Revamp project switching HOT 2
- Request: Add syntax highlighting for Java HOT 1
- [Feature Request] Close selected editor from `switch to open file` dialog with a keybinding
- [Bug] Output window does not handle certain escape codes HOT 3
- Error Resizing Window HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from focus.