# Linux HiDPI Settings
## Metadata
**Status**:: #x
**Zettel**:: #zettel/literature
**Created**:: [[2023-04-28]]
**Topic**:: [[♯ Linux Workstation]]
## Wayland
I cannot find a way to set HiDPI for wayland apps. The global DPI setting in sway make fonts blur in may apps. So I configure wayland apps manually.
### Foot Terminal
```
dpi-aware=yes
```
### Edge
For Edge installed via flatpak:
![[Install Microsoft Edge for Linux Via Flatpak#DPI]]
### Visual Studio Code
`View: Zoom In`
## GTK
I use .Xresources ([[sway#Xresources|Remember to link it to .Xdefaults in sway]])
```
Xft.dpi: 144
```
The base dpi is 96, so 144 is 1.5 scale.
However, some apps like Thunar uses only GTK settings.
```
gsettings set org.gnome.desktop.interface text-scaling-factor 1.5
```
## QT
```
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCALE_FACTOR=2
```