LoginSignup
2
1

More than 1 year has passed since last update.

WineのレジストリにRetinaModeの項目がなかったときにしたこと

Last updated at Posted at 2022-06-25

概要

Zennの記事を参考にWineをインストールした。

記事通りに進んで行き、RetinaModeを有効にしたいのだが、なぜか存在しなかった。
なぜ;;
スクリーンショット 2022-06-25 16.22.50.png

解決策

Wineのレジストリは、.regファイルという単なるテキストで動いている。
~/.wine/user.regをお好みのエディタで開いて、一番下の行に記述する。
今回は手っ取り早くvimで編集した。

$ vim ~/.wine/user.reg

vimを開いたら、:$コマンドでファイルの最下部に追加する。
aを押して挿入モードにし、以下を追記。

[Software\\Wine\\Mac Driver]
"RetinaMode"="Y"

image.png
無事追加されたので、$ winecfgで解像度を適切なものに変更する。
168が推奨らしいが、個人的には250くらいが丁度よかった、お好みで。

[追記]
250はデカすぎて表示がおかしくなったりします。
168に戻しました。

画面 -> 画面の解像度 -> 250dpi
image.png
お疲れ様でした。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1