Linux mint xfce масштабирование

Linux Mint Forums

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Problem with scaling on Linux Mint XFCE

Post by pd77 » Mon Sep 14, 2020 10:01 am

I have Linux Mint XFCE 20 installed on my laptop with 15.6 inch screen and 1920×1080 screen resolution. The problem is that everything look too small. On Windows 10, which i have also installed on the same laptop, the scaling is set to 125% by default and the display looks fine, but on Linux Mint if i go to settings > appearance > settings there are only two options for scaling — 1x and 2x. If i select 2x scaling it makes things bigger, but the problem is that they are too big. Is there a way to fine tune the scaling? For example, to set scaling to 1.25x or 1.5x?

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Pjotr Level 23
Posts: 19060 Joined: Mon Mar 07, 2011 10:18 am Location: The Netherlands (Holland) 🇳🇱 Contact:

Re: Problem with scaling on Linux Mint XFCE

Post by Pjotr » Mon Sep 14, 2020 10:09 am

Tip: 10 things to do after installing Linux Mint 21.2 Victoria
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Re: Problem with scaling on Linux Mint XFCE

Post by pd77 » Mon Sep 14, 2020 11:26 am

This will not scale everything. It’s not good enough for me.

I think i will install Kubuntu, or some other distro with KDE desktop. It seems that only KDE support fractional scaling.

JerryF Level 16
Posts: 6082 Joined: Mon Jun 08, 2015 1:23 pm Location: Rhode Island, USA

Re: Problem with scaling on Linux Mint XFCE

Post by JerryF » Mon Sep 14, 2020 12:59 pm

Читайте также:  Linux program exit code

I just read that Xfce 4.16 will have scaling options including custom scaling. Might be a few months before it’s released.

Re: Problem with scaling on Linux Mint XFCE

Post by secureIT » Mon Sep 14, 2020 2:59 pm

The xfce Version in LM 20 is : 4.12.2

xfce 4.16 will have scaling : 1x 1.5x 2x . and even custom scaling .

But that will not help you for now, and who knows, when 4.16 will be implemented in LM Xfce ?

For now thats the only way :
Go to Settings Manager > Appearance > Settings > Window Scaling and select 2 as the scaling factor.
Go to Settings Manager > Window Manager > Style and select Default-xhdpi theme.
Or try 1 scaling factor with Default-xhdpi theme
Or try also Default-hdpi theme with scaling 1 or 2 .

Re: Problem with scaling on Linux Mint XFCE

Post by pd77 » Mon Sep 14, 2020 4:24 pm

JerryF Level 16
Posts: 6082 Joined: Mon Jun 08, 2015 1:23 pm Location: Rhode Island, USA

Re: Problem with scaling on Linux Mint XFCE

Post by JerryF » Mon Sep 14, 2020 6:21 pm

absque fenestris Level 12
Posts: 4110 Joined: Sat Nov 12, 2016 8:42 pm Location: Confoederatio Helvetica

Re: Problem with scaling on Linux Mint XFCE

Post by absque fenestris » Mon Sep 14, 2020 6:46 pm

pd77 wrote: ⤴ Mon Sep 14, 2020 11:26 am This will not scale everything. It’s not good enough for me.

I think i will install Kubuntu, or some other distro with KDE desktop. It seems that only KDE support fractional scaling.

No, not only KDE also Cinnamon offers scaling in 25% steps.

Re: Problem with scaling on Linux Mint XFCE

Post by pd77 » Tue Sep 15, 2020 9:46 am

pd77 wrote: ⤴ Mon Sep 14, 2020 11:26 am This will not scale everything. It’s not good enough for me.

I think i will install Kubuntu, or some other distro with KDE desktop. It seems that only KDE support fractional scaling.

No, not only KDE also Cinnamon offers scaling in 25% steps.

I don’t have Linux MInt Cinnamon installed, so i can’t test it. I have Fedora Cinnamon on virtualbox, but the fractional scaling for some reason do not work, and if i hover over the option it says it is experimental feature.

JerryF Level 16
Posts: 6082 Joined: Mon Jun 08, 2015 1:23 pm Location: Rhode Island, USA

Re: Problem with scaling on Linux Mint XFCE

Post by JerryF » Tue Sep 15, 2020 10:39 am

pd77 wrote: ⤴ Tue Sep 15, 2020 9:46 am .
I don’t have Linux MInt Cinnamon installed, so i can’t test it. I have Fedora Cinnamon on virtualbox, but the fractional scaling for some reason do not work, and if i hover over the option it says it is experimental feature.

Читайте также:  Ошибка ввода вывода линукс

Wouldn’t Fedora Cinnamon in VirtualBox be using a different display and driver (VirtualBox’s) than your system is using? Maybe that’s why fractional scaling is not working.

Re: Problem with scaling on Linux Mint XFCE

Post by pd77 » Tue Sep 15, 2020 12:26 pm

pd77 wrote: ⤴ Tue Sep 15, 2020 9:46 am .
I don’t have Linux MInt Cinnamon installed, so i can’t test it. I have Fedora Cinnamon on virtualbox, but the fractional scaling for some reason do not work, and if i hover over the option it says it is experimental feature.

Wouldn’t Fedora Cinnamon in VirtualBox be using a different display and driver (VirtualBox’s) than your system is using? Maybe that’s why fractional scaling is not working.

By the way, using xrandr seems to work for setting custom scaling. If i use this command it scales things up:

xrandr --output LVDS-0 --scale 0.8x0.8
xrandr --output LVDS-0 --scale 1.25x1.25

absque fenestris Level 12
Posts: 4110 Joined: Sat Nov 12, 2016 8:42 pm Location: Confoederatio Helvetica

Re: Problem with scaling on Linux Mint XFCE

Post by absque fenestris » Tue Sep 15, 2020 2:10 pm

That doesn’t seem illogical to me — you want a pixel reduction.

1920 x 1080 pixels multiplied by 0.8 I would get a screen setting of 1536 x 864 pixels.
Is that true?

Re: Problem with scaling on Linux Mint XFCE

Post by pd77 » Wed Sep 16, 2020 2:13 am

absque fenestris wrote: ⤴ Tue Sep 15, 2020 2:10 pm That doesn’t seem illogical to me — you want a pixel reduction.

1920 x 1080 pixels multiplied by 0.8 I would get a screen setting of 1536 x 864 pixels.
Is that true?

Yes, it seems this is how it is supposed to work.

By the way, is there any disadvantages in scaling? Does it reduce the screen resolutions? In general, how the scaling works?

absque fenestris Level 12
Posts: 4110 Joined: Sat Nov 12, 2016 8:42 pm Location: Confoederatio Helvetica

Re: Problem with scaling on Linux Mint XFCE

Post by absque fenestris » Wed Sep 16, 2020 2:54 am

To stick with your monitor: horizontal 1536 pixels are extrapolated to the native, actually existing 1920 pixels. This results in a stretching of the image — a cropped enlargement.

Whether the quality suffers from the extrapolation and recalculation? Test the setting with different applications, see the font quality on a light and on a dark background and experiment with videos. Ultimately, your eyes will decide.

Here is an extensive website to test and adjust the monitor: http://www.lagom.nl/lcd-test/

HiDPI with the «even» 200% is a special case: here, the graphic display now has exactly 4 pixels instead of one, which results in a clear and accurate picture.
The best examples are good smartphones, which meanwhile have incredible resolutions (. a kind of HiDPI on steroids)

Читайте также:  Linux get port usage

The resolution of the screen always remains the same — in your case there are still exactly 1080 x 1920 pixels in relation to the dimensions of your screen. My MacBook has about the same diagonal as your laptop, the length of the screen is 13.2″.
If you divide the pixels by the length, you get the resolution in pixels per inch (ppi).

1920 pix : 13.2″ = 145.5 ppi ~ resolution of your monitor (more or less)

Источник

Linux mint xfce масштабирование

Всем привет!
Суть ситуации: в качестве основного монитора использую телевизор. Расположен он на расстоянии около двух метров от пользователя. Стандартный масштаб раб. стола (и всего остального) при таком раскладе не удобен — слишком мелко.
В винде использовал масштаб 125%, всё устраивало. В Linux 18.1 нашёл только двукратный размер, но это уже многовато.

Вопрос. Как установить масштаб раб. стола на 125%?

SemenSinchenko Сообщения: 340 Зарегистрирован: 17 фев 2017, 12:01 Решено: 2 Откуда: Москва Благодарил (а): 43 раза Поблагодарили: 46 раз Контактная информация:

Масштабирование рабочего стола Linux 18.1

В домашней папке пользователя создайте файл .xinitrc, который содержит:
xrandr —dpi [b][u]DPI[/u][/b]
. /etc/X11/Xsession

В качестве DPI укажите DPI, который Вам подходит. Попробуйте разные DPI. Когда я к телеку линух подключал, ставил помнится под 200.

Петька_Васька Сообщения: 32 Зарегистрирован: 19 май 2017, 09:21 Контактная информация:

Масштабирование рабочего стола Linux 18.1

Сделал как написано, ничего не изменилось. Делал по этой схеме:
Создал пустой документ, переименовал в .xinitrc, открыл в текстовом редакторе, вставил указанный вами текст (значение dpi 300), сохранил, перезагрузил.

Chocobo Сообщения: 10010 Зарегистрирован: 27 авг 2016, 22:57 Решено: 215 Откуда: НН Благодарил (а): 812 раз Поблагодарили: 3000 раз Контактная информация:

Масштабирование рабочего стола Linux 18.1

Изображение

Изображение

Петька_Васька Сообщения: 32 Зарегистрирован: 19 май 2017, 09:21 Контактная информация:

Масштабирование рабочего стола Linux 18.1

Chocobo , Спасибо за совет! Это я уже сделал Но всё-таки хотелось бы без «колхоза». Да и в мозилле, например, значки всё равно мелкие.

SemenSinchenko Сообщения: 340 Зарегистрирован: 17 фев 2017, 12:01 Решено: 2 Откуда: Москва Благодарил (а): 43 раза Поблагодарили: 46 раз Контактная информация:

Масштабирование рабочего стола Linux 18.1

DM-ы шибко умные стали. Я забыл что они не цепляют .xinitrc просто так. Извините.
Попробуйте создайть файл .xprofile и туда записать xrandr —dpi DPI с нужным значением DPI.

Именно DPI в данном случае изменит общий масштаб. Правда это не отменит того факта, что шрифты некоторых приложений масштабируются отдельно. Там бы еще по хорошему создать файл .Xresources и в него записать примерно следующее:
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.hintstyle: hintsfull
Xft.dpi: DPI
Соответственно DPI — это Ваше значение (хотя наверное тот вариант, который указал выше Chocobo эквивалентен этому).

Вот тут посмотрите, я просто на работе сейчас, тут нет линуха, а на память я не помню, как в прошлый раз научил MDM цеплять пользовательский файл .xinitrc (возможно нужно менять что-то в файле /etc/X11/XSession).

Источник

Оцените статью
Adblock
detector