Dimensionamento Fracionário 18.04 LTS

2

A escala fracionária ( veja esta pergunta ) disponível em 18.04 LTS ainda? Estou aguardando até que esteja disponível antes de instalar.

    
por ronanscotty 06.06.2018 / 09:50

3 respostas

2

Scaling Factor

To enable HiDPI, open Settings -> Devices -> Displays, or use gsettings:

gsettings set org.gnome.desktop.interface scaling-factor 2

Note: scaling-factor only allows whole numbers to be set. 1 = 100%, 2 = 200%, etc.

Fractional Scaling

A setting of 2, 3, etc., which is all you can do with scaling-factor, may not be ideal for certain HiDPI displays and smaller screens (e.g. small tablets).

wayland

Enable fractional scaling experimental-feature:

gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"

Then open Settings -> Devices -> Displays

enter image description here
fractional scaling experimental-feature in dconf Editor

xorg

You can achieve any non-integer scale factor by using a combination of GNOME's scaling-factor and xrandr. This combination keeps the TTF fonts properly scaled so that they do not become blurry if using xrandr alone. You specify zoom-in factor with gsettings and zoom-out factor with xrandr.

First scale GNOME up to the minimum size which is too big. Usually "2" is already too big, otherwise try "3", etc. Then start scaling down by setting zoom-out factor with xrandr. First get the relevant output name; the example below uses eDP1. Start e.g. with zoom-out 1.25 times. If the UI is still too big, increase the scale factor; if it is too small decrease the scale factor.

xrandr --output eDP1 --scale 1.25x1.25  

Fonte: revisada de HiDPI - ArchWiki

    
por karel 06.06.2018 / 10:37
1

Algumas aplicações não suportam escalonamento HDPI. Nesse caso, você pode chamá-los do terminal depois de forçar o fator de escala com xrandr primeiro.

Por exemplo, kid3 application sem forçar o fator de escala:

Aescalapadrãoé96dpi.Então,vamossubstituí-lousando:

xrandr--dpi144kid3

Eagoravemos:

    
por WinEunuuchs2Unix 29.07.2018 / 20:15
0

Com base no método mencionado na resposta anterior, escrevi um aplicativo de GUI simples que gera um script e o configura para ser executado toda vez que você fizer login na sua conta.

Você pode verificar o código-fonte e baixar o arquivo executável do AppImage em: link

Eu recomendo strongmente que você clique no botão "Testar" antes de aplicar as alterações.

    
por Alex Spataru 26.07.2018 / 04:13