microsoft / microsoft/WSL

Add ability to change HiDPI/scalling configuration via wsl.conf

Open
#7,497 3 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Is your feature request related to a problem? Please describe.
On High resolution screens linux GUI apps are not configured to scale automatically

Describe the solution you'd like
A flag within /etc/wsl.conf which would allow to either configure HiDPI scaling factor or inherit settings from windows.

Describe alternatives you've considered
Configure scaling factor manually within the distribution however it's not ideal in situations when you have more than one display with different scaling factors.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating how /etc/wsl.conf is parsed and where Linux GUI display or scaling settings are handled. Review the existing configuration flow and related platform entry points; done means a documented configuration option can apply a HiDPI factor or inherit Windows display settings, including differing display scales.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.