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

Framework laptop, set VSCode to default Wayland use such that fractional scaling looks good #1655

Open
frederikb96 opened this issue Sep 8, 2024 · 4 comments
Labels
enhancement New feature or request framework Issue specicifc to Framework laptops

Comments

@frederikb96
Copy link

Describe the bug

I have a fresh bluefin on my framework 13 laptop. I start vscode and it looks blurry. I checked web for the issue and found this closed one here: #1362
I followed the workaround to set ELECTRON_OZONE_PLATFORM_HINT=auto and then it works.

My request would be to set this out of the box for Framework laptops such that users dont have to check the web to find this issue and apply the workaround themselfes. Thanks :)

What did you expect to happen?

On fresh framework laptop, a non blurry VS Code :)

Output of rpm-ostree status

No response

Output of groups

No response

Extra information or context

No response

@dosubot dosubot bot added the framework Issue specicifc to Framework laptops label Sep 8, 2024
@castrojo castrojo added the enhancement New feature or request label Sep 8, 2024
@zackify
Copy link

zackify commented Sep 13, 2024

yeah vs code is unusable for me on fw13 with 150% scale, 125% its still bad

I think all thats needed is:

Exec=/usr/share/code/code --ozone-platform=wayland %F

to the code.desktop file at build time, feel like i almost know enough from bluebuild to make a pr

@castrojo
Copy link
Member

Yeah we could override the code.desktop but we're hesitant to do this per app since there's almost always some unintended consequence or config that users might be doing.

For now we recommend copying /usr/share/applications/code.desktop into ~.local/share/applications and then making the change in that file and then that'll sort it.

@zackify
Copy link

zackify commented Sep 16, 2024

we should add this to the vs code docs or framework section

@castrojo
Copy link
Member

castrojo commented Sep 17, 2024

This should also be solved by F41, which is about to go to beta, and then maybe we recommend :stable for framework from then on? Or someone does a PR, whichever comes first I guess, hah.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request framework Issue specicifc to Framework laptops
Projects
None yet
Development

No branches or pull requests

3 participants