Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
3
Help us understand the problem. What is going on with this article?

More than 1 year has passed since last update.

@kilo

[備忘録]高DPI環境での WSL+VcXsrv の設定

高DPI環境で WSL で動くプログラムがぼやけるときの対処法。

WSL側

.bashrcに以下を追記

export DISPLAY=localhost:0.0
export GDK_SCALE=2

.bashrcが読み込まれないときは
.bash_profileをこんな感じに

if [[ -f ~/.bashrc ]] ; then
    . ~/.bashrc
fi

Windows側

VcXsrv.exe(おそらく C:\Program Files\VcXsrv\ あたりにある) のプロパティから
高DPI設定の変更高いDPIスケールの動作を上書きします。 のチェックを入れる

これできれいになるはず。

3
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
3
Help us understand the problem. What is going on with this article?