XCURSOR_SIZE in .wslgconfig is not working
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.9k
- Forks
- 429
- PR merge metrics
- No merged PRs in 30d
Description
According the code https://github.com/microsoft/wslg/blob/main/WSLGd/main.cpp#L76, It seems that we can set any env variable in config file.
but when I set XCURSOR_SIZE , It seems not working
C:\ProgramData\Microsoft\WSL.wslgconfig
[system-distro-env]
XCURSOR_SIZE=48
/mnt/wslg/versions.txt
WSLg ( x86_64 ): 1.0.24+Branch.main.Sha.b42023b5fed7567955f4c6c36123a5cf22e9292a
Mariner: VERSION="1.0.20210224"
FreeRDP: b05321cd4e6a862aef76163a69db4e1910245736
weston: ed4f3bbbf5efbd5bde880704bc03497f2446c3f2
pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5
mesa:
ver:
Microsoft Windows 10.0.22000.100
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report with C:\ProgramData\Microsoft\WSL.wslgconfig containing the shown [system-distro-env] setting, then inspect WSLGd/main.cpp around line 76 to trace how configuration variables are handled. Verify whether XCURSOR_SIZE reaches the relevant environment and affects the cursor; done means identifying the cause and documenting or fixing the setting's behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100