minor changes

This commit is contained in:
taradiddles 2018-04-16 16:27:29 +03:00
parent 1c4490d446
commit 0de8326d12

View File

@ -20,17 +20,17 @@ VMs
The procedure for setting DPI scaling depends on the presence of the `/usr/libexec/gsd-xsettings` daemon, usually provided by the `gnome-settings-daemon` package:
- without `/usr/libexec/gsd-xsettings` running, applications honor the Xft.dpi` [X resource](https://en.wikipedia.org/wiki/X_resources), which we can use for scaling.
- with `/usr/libexec/gsd-xsettings` running, applications are prevented from using the `Xft.dpi` Xresource so gnome specific commands have to used.
- without `/usr/libexec/gsd-xsettings` running, applications honor the `Xft.dpi` [X resource](https://en.wikipedia.org/wiki/X_resources), which we can use for scaling.
- with `/usr/libexec/gsd-xsettings` running, applications are prevented from using the `Xft.dpi` resource so gnome specific commands have to used.
Notes:
- the official `fedora-xx` template has `gnome-settings-daemon` installed by default while the `fedora-xx-minimal` template doesn't.
- DPI scaling with `xterm` (or any glib apps) requires the use of a xft font:
- for `xterm`, ctrl-right click in the terminal's windows and select 'TrueType Fonts' (make sure you have such fonts installed).
- or more generally, set the `faceName` Xresource (eg. `XTerm*faceName: DejaVu Sans Mono:size=14:antialias=true`). You may do so temporarilt with the `xrdb -merge` command, or permanently in a `Xresources` file (see section below).
- for `xterm`, ctrl - right click in the terminal's windows and select 'TrueType Fonts' (make sure you have such fonts installed).
- or more generally, set the `faceName` Xresource, eg. `XTerm*faceName: DejaVu Sans Mono:size=14:antialias=true`. You may do so temporarily with the `xrdb -merge` command, or permanently in a `Xresources` file (see section below).
### VMs without gnome-settings-daemon ###
### VMs without gsd-xsettings ###
Get the current value of `Xft.dpi`:
@ -50,7 +50,7 @@ Once you found a value that fits your setup you'll likely want to permanently se
- or, add `Xft.dpi: xxx` to `$HOME/.Xresources` in each AppVM.
### VMs with gnome-settings-daemon ###
### VMs with gsd-xsettings ###
Use the `gsettings` command (replace `2` and `0.75` to suit your needs ; the first value must be an integer though):