Sublime Forum

Setting dpi_scale doesn't work anymore in 3.2

#1

I just did an apt upgrade, getting sublime 3.2, and now on my 4k screen, everything in Sublime is super small.

Previously I have this config to scale up the UI:
{
“dpi_scale”: 2.0,
}

But that obviously doesn’t work anymore.

What can I do?

1 Like

#2

use ui_scale instead

0 Likes

#3

Ideally with GTK3, your desktop scale should be auto-detected. If not, maybe spend a minute or two seeing why.

As Keith said, the ui_scale setting allows zooming the UI, but without proper scale info I’m not sure dialogs and menus from GTK will be scaled properly.

0 Likes

Dpi_scale Ubuntu 16.04 not working after 3200 upgrade
#4

My desktop scale also wasn’t auto-detected, but don’t know where to start with regards to seeing why. Running KDE Plasema 5.12.7, Qt Version 5.9.5, and have UI scaling set to 1.5 but Sublime seemed to autodetect 1.0.

0 Likes

#5

Had same problem, posted it here. (Searched on forum but didn’t get results). Looks like dpi_scale no longer works and we have to use ui_scale.

0 Likes

#6

Also had this issue. This was why I was holding off upgrading, I have my st3 customized too heavily. Unfortunately, ran ‘sudo pacman -Syu’ without thinking I would be upgrading sublime as well.

Can confirm that ui_scale works though. Thank you the solution. I got worried.

0 Likes

#7

What is your desktop environment? Are you running KDE? If so, using the dev build 3202 would help without having to hard-code a ui_scale.

0 Likes

#8

I’m using Arch Linux with i3wm

0 Likes

#9

Does i3wm set the GTK3 widget scale, do you know? I guess perhaps a more relevant question is, have you set your display scale to 200%, or are you using a text scale. If it is a text scale, what value do you have it set to?

0 Likes

#10

ui_scale worked fine, good enough for me.

I am using XFCE on Xubuntu 18.

I have no idea where to start to find out what else to do.

0 Likes