wine resolution changed

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post please read how to get help
Post Reply
shan khalam
Level 1
Level 1
Posts: 3
Joined: Sun Jul 01, 2018 12:47 pm

wine resolution changed

Post by shan khalam » Sun Jul 01, 2018 1:01 pm

In the wine config Graphics tab, at the bottom of the page is a slider for screen resolution. I mistakenly put it all the way to the max dpi. (I think it was originally something like 120dpi, and it went to 430) The font turned gigantic for everything in the config screen. There's no scroll to get to the bottom of the page to set the screen resolution dpi slider back down. How can I return it to normal? All other apps are ok, just the configure wine. I haven't tried to run anything with wine either, since I assume it will be affected.

User avatar
Flemur
Level 16
Level 16
Posts: 6290
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: wine resolution changed

Post by Flemur » Sun Jul 01, 2018 1:54 pm

shan khalam wrote:
Sun Jul 01, 2018 1:01 pm
I mistakenly put it all the way to the max dpi. (I think it was originally something like 120dpi, and it went to 430) The font turned gigantic for everything in the config screen. .
As a test I changed it from 96 to 120, and rsync told me that these two files changed:
~/.wine/system.reg
~/.wine/user.reg

...hang on, I'm going to find the differences...

Edit: user.reg, "LogPixels":

Code: Select all

> [Software\\Wine\\Fonts] 1530467214
> #time=1d411637ff35f06
12117c12117
< "LogPixels"=dword:00000070
---
> "LogPixels"=dword:00000078
I changed it from 120 to 112, and 00000070 = hex for 112 and 00000078 = hex for 120.

So edit ~/.wine/user.reg and look for "LogPixels":

"LogPixels"=dword:00000070

If you change it to the same value as shown above it'll be 112 dpi and you should be able to run winecfg and change it back.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

shan khalam
Level 1
Level 1
Posts: 3
Joined: Sun Jul 01, 2018 12:47 pm

Re: wine resolution changed

Post by shan khalam » Mon Jul 02, 2018 2:02 pm

When i type this it shows permission denied.

shan khalam
Level 1
Level 1
Posts: 3
Joined: Sun Jul 01, 2018 12:47 pm

Re: wine resolution changed

Post by shan khalam » Wed Jul 04, 2018 12:44 am

But it says permission denied

Post Reply

Return to “Gaming on Linux Mint”