Wine scaling issues
PUBLIC ARCHIVE EDITION
Provenance
- Provider: ChatGPT
- Original title: Wine scaling issues
- Conversation ID:
68a4b468-378c-8333-8802-1e952d467bbc - Created: 2025-08-19T10:29:54-07:00
- Updated: 2025-08-19T10:38:00-07:00
- Models: gpt-5
- Source archive SHA-256:
0f7aee663dace8d779cc4e6f229b4e22a8386f8075b81801a3c8c2b112e1bdd7 - Source transcript SHA-256:
4ee16650ebf364b82f26f639f7283322931c9aaf79186df554915a4c6183c01e - Active-path treatment: active-current-node
- Alternate messages preserved: 0
- Attachment state: not-applicable
- Privacy state: PRIVACY_VERIFIED
- Publication state: public-archive
- Record ID:
chatgpt:68a4b468-378c-8333-8802-1e952d467bbc - Source member:
conversations-000.json - Source record SHA-256:
261d37bac12af72cc1471c44d1d97c62c14a6568a897d2fffe57ee3457f03ef3 - Transcript verification status: canonical-verified; privacy-verified; source-order-preserved
- Editorial changes: privacy-approved local edits preserved
- Publication/version history: public archive edition v1
Conversation
Darren — 2025-08-19T10:29:52-07:00
yes i am on ubuntu noble.and I have the screen scaled at 200% however I have a wine app notepadd++ that is just tiny, why does i not obey the scale?
ChatGPT — 2025-08-19T10:29:53-07:00 · gpt-5
That’s because your scaling is applied at the Wayland/Xorg compositor and GTK/Qt toolkit level, but Wine apps don’t natively respect it. Wine basically draws Windows applications using its own DPI logic, and by default it assumes 96 DPI (which is tiny on a HiDPI screen).
You’ll need to tell Wine (and Notepad++) to use the same scaling. Here are your main options:
1. Set DPI in Wine
Run:
winecfg
- Go to the Graphics tab.
- Set Screen resolution (DPI) to match your display scaling (e.g. 192 DPI for 200%).
- Click Apply, then restart Notepad++.
2. Override DPI per app
If you’re using wine64 and want only Notepad++ scaled:
WINEDPI=192 wine notepad++.exe
(or adjust the DPI value as needed).
3. Use environment variables
Wine can respect scaling hints with:
export GDK_SCALE=2
export GDK_DPI_SCALE=0.5
wine notepad++.exe
But this works best with Wine’s GTK-based dialogs, not always with Windows apps themselves.
4. Use Wine’s Windows DPI settings
Wine mimics Windows’ registry. You can add:
wine reg add "HKCUControl PanelDesktop" /v LogPixels /t REG_DWORD /d 192 /f
(replace 192 with your target DPI).
Then restart wine.
5. Alternative: Use winetricks HiDPI settings
Install winetricks and run:
winetricks settings dpi=192
👉 Quick fix: try the winecfg → Graphics → DPI method first, since it usually works right away.
Do you want me to give you the exact DPI number to use for 200% scaling on your monitor (based on its resolution and size), or do you just want a quick “double size” setting?
Darren — 2025-08-19T10:31:05-07:00
[USER]@[HOST]:~/Desktop$ winecfg
winecfg: command not found
[USER]@[HOST]:~/Desktop$
ChatGPT — 2025-08-19T10:31:05-07:00 · gpt-5
That means Wine isn’t installed on this Ubuntu Noble box — you probably just have Notepad++ installed through a Snap/Flatpak or Bottles/Lutris, not raw Wine.
Let’s check which one:
Run:
which wine
If that gives nothing, try:
flatpak list | grep notepad
snap list | grep notepad
If you want plain Wine
Install it:
sudo apt update
sudo apt install wine64 winetricks
Then you’ll have winecfg available:
winecfg
If Notepad++ came from Flatpak
Flatpak isolates Wine internally, so scaling is controlled differently. You’d adjust with:
flatpak run --env=WINEDPI=192 org.notepad_plus_plus.Notepad++
If it’s from Snap
Same idea, you can pass env vars when launching:
WINEDPI=192 notepad-plus-plus
⚡ Question for you:
Do you remember how you installed Notepad++ — through apt, snap, flatpak, or Bottles? That decides whether we fix scaling via winecfg or via container overrides.
Darren — 2025-08-19T10:31:56-07:00
[USER]@[HOST]:~/Desktop$ winecfg
winecfg: command not found
[USER]@[HOST]:~/Desktop$ which wine
[USER]@[HOST]:~/Desktop$ flatpak list | grep notepad
snap list | grep notepad
Command ‘flatpak’ not found, but can be installed with:
sudo apt install flatpak
notepad-plus-plus 8.7.4 412 latest/stable mmtrt –
[USER]@[HOST]:~/Desktop$
ChatGPT — 2025-08-19T10:32:00-07:00 · gpt-5
Got it 👍 — you’ve got Notepad++ installed from Snap (notepad-plus-plus), which bundles its own Wine runtime. That’s why winecfg and which wine give nothing: the Snap uses its internal Wine and hides the usual tools.
That also explains why your 200% desktop scaling isn’t applied — Snap-packaged Wine doesn’t automatically pick it up.
Two ways you can fix it:
1. Launch with a DPI override (easy test)
Try running Notepad++ with Wine’s DPI env var:
WINEDPI=192 notepad-plus-plus
(or WINEDPI=144 if you want 150% instead of 200%).
This tells Snap’s internal Wine to render at a higher DPI.
2. Adjust Wine settings inside the Snap (more control)
The Snap has a built-in winecfg too, but you need to call it through the Snap wrapper:
snap run notepad-plus-plus -cfg
That should bring up Wine’s config window where you can set the DPI under Graphics → Screen resolution.
👉 Recommendation:
Try method 1 (env var) first, since it’s quick. If that works, you can make it permanent by editing the .desktop launcher for Notepad++ to include WINEDPI=192.
Do you want me to show you how to make that DPI fix permanent in your menu launcher so you don’t have to type it each time?
Darren — 2025-08-19T10:33:03-07:00
well would a full wine install screw with my steam games?
ChatGPT — 2025-08-19T10:33:05-07:00 · gpt-5
Good question. Short answer: No, installing full Wine will not mess with your Steam games.
Here’s why:
1. Steam uses Proton, not system Wine
- Steam Play/Proton is Valve’s fork of Wine, bundled inside Steam.
- It ships with its own runtime and doesn’t care if you have Wine installed globally.
- Your Steam games will keep using Proton exactly as before.
2. System Wine lives separately
- If you install Wine (
sudo apt install wine64 winetricks), it goes into/usr/bin/wineand has its own prefix (~/.wine). - Steam/Proton keeps its prefixes in
~/.steam/steam/steamapps/compatdata/...and won’t be touched.
3. Why install full Wine anyway?
- Gives you winecfg,
winetricks, and better control over DPI, fonts, overrides, etc. - Lets you run Windows apps outside Snap (so you can fix Notepad++ scaling more easily).
- Doesn’t interfere with Steam since they don’t share configs.
⚡ Only thing to watch for:
If you install extra stuff like Lutris or Bottles, those can choose between system Wine and Proton — but again, they won’t overwrite Proton itself.
👉 So: Installing Wine is safe, Steam will still use Proton.
Would you like me to give you the exact install steps for Ubuntu Noble to get Wine + winetricks so you can run winecfg?
Darren — 2025-08-19T10:34:47-07:00
hmmm, it did not like the -cfg thing is there a linux native app that is comparable to notepad++?
ChatGPT — 2025-08-19T10:34:47-07:00 · gpt-5
Yep — there are several Linux-native editors that feel very close to Notepad++, and they respect your Ubuntu scaling automatically. A few good choices:
🔹 Closest Match to Notepad++
1. Notepadqq
– Specifically built as a Notepad++ alternative for Linux.
– Very similar UI and features (tabs, syntax highlighting, search/replace).
– Install on Noble with:
bash
sudo apt update
sudo apt install notepadqq
🔹 Lightweight Text Editors with Tabs & Syntax Highlighting
2. Geany
– Fast, lightweight, almost IDE-like but simple.
– Tabs, syntax highlighting, project support.
– Install:
bash
sudo apt install geany
3. Kate (from KDE, but works fine on GNOME/Ubuntu)
– More polished, powerful search/replace, plugins, scripting.
– Install:
bash
sudo apt install kate
🔹 If you want a bit more power
4. VS Code (or open-source vscodium)
– Very popular, huge plugin ecosystem.
– Heavier than Notepad++, but extremely capable.
– Install from Snap:
bash
sudo snap install code --classic
👉 If you want a drop-in Notepad++ feel, go with Notepadqq.
If you want a slightly more powerful lightweight editor, try Geany.
Do you want me to line up the exact feature comparison between Notepadqq, Geany, and Kate so you can pick the closest match to how you use Notepad++?
Darren — 2025-08-19T10:36:13-07:00
going to try qq first … since it should be the same app in reality
ChatGPT — 2025-08-19T10:36:13-07:00 · gpt-5
👍 Good call — Notepadqq is the closest thing you’ll get to Notepad++ without Wine.
On Ubuntu Noble, you can grab it directly from the repos:
sudo apt update
sudo apt install notepadqq
Once installed, it should show up in your app menu as Notepadqq, and it will obey your GNOME scaling (no tiny UI).
⚡ Heads-up:
– It’s not literally the same codebase as Notepad++ (that’s Windows-only with Scintilla).
– But it mirrors the workflow: tabs, syntax highlighting, regex search/replace, line operations, etc.
– Some plugins/macros may be different, but for everyday editing it’s nearly identical.
If you find Notepadqq feels a bit “unfinished” in spots, Geany or Kate are solid backup options.
Want me to give you the one-liner to set Notepadqq as default editor so files open in it instead of gedit?
Darren — 2025-08-19T10:37:57-07:00
yep qq will do for now. thanks very much
ChatGPT — 2025-08-19T10:37:57-07:00 · gpt-5
Perfect 🙌 glad that works for you.
If you decide you want it to be your default editor, here’s the quick one-liner:
xdg-mime default notepadqq.desktop text/plain
That makes Notepadqq open when you double-click plain text files.
And of course, since it’s native, your 200% scaling will “just work” without the Wine headache.
Do you want me to also show you how to pin Notepadqq to your dock/launcher so it’s always one click away?