Skip to content
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

[Bug]: Code OSS 2 files created whenever code oss is opened #1315

Closed
NotAF0e opened this issue Apr 15, 2024 · 3 comments
Closed

[Bug]: Code OSS 2 files created whenever code oss is opened #1315

NotAF0e opened this issue Apr 15, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@NotAF0e
Copy link

NotAF0e commented Apr 15, 2024

These files are --ozone-platform-hint=wayland and --disable-gpu. I assume this is happening as these are 2 launch arguments but they do not do what is intended and instead create 2 files.

@NotAF0e NotAF0e added the bug Something isn't working label Apr 15, 2024
@prasanthrangan
Copy link
Owner

prasanthrangan commented Apr 15, 2024

this is known issue, please refer #1292 (comment)

you'll need to fix /usr/bin/code-oss by removing the quotes from ${codeflags[@]} in the last line.

ELECTRON_RUN_AS_NODE=1 exec /usr/lib/${name}/electron /usr/lib/code/out/cli.js "${electronflags[@]}" /usr/lib/code/code.js ${codeflags[@]} "$@"

@NotAF0e
Copy link
Author

NotAF0e commented Apr 15, 2024

Thanks, that did the job!

@AtnProjects
Copy link

thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants