Problem with scaling on Linux Mint XFCE

Forum rules
Before you post please read how to get help
Post Reply
pd77
Level 2
Level 2
Posts: 56
Joined: Sat May 09, 2020 12:29 pm

Problem with scaling on Linux Mint XFCE

Post by pd77 »

I have Linux Mint XFCE 20 installed on my laptop with 15.6 inch screen and 1920x1080 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?
User avatar
Pjotr
Level 22
Level 22
Posts: 15503
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Problem with scaling on Linux Mint XFCE

Post by Pjotr »

Tip: 10 things to do after installing Linux Mint 20 Ulyana
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
pd77
Level 2
Level 2
Posts: 56
Joined: Sat May 09, 2020 12:29 pm

Re: Problem with scaling on Linux Mint XFCE

Post by pd77 »

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.
User avatar
JerryF
Level 13
Level 13
Posts: 4545
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Problem with scaling on Linux Mint XFCE

Post by JerryF »

I just read that Xfce 4.16 will have scaling options including custom scaling. Might be a few months before it's released.
*** IF your problem has been solved, please edit your ORIGINAL post and add [SOLVED] to the beginning of the Subject Line. It helps other members when browsing posts. ***
secureIT
Level 4
Level 4
Posts: 276
Joined: Wed Dec 05, 2018 1:26 pm

Re: Problem with scaling on Linux Mint XFCE

Post by secureIT »

The xfce Version in LM 20 is : 4.12.2

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

https://www.debugpoint.com/2020/09/xfce ... ease-date/

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 .......
.
pd77
Level 2
Level 2
Posts: 56
Joined: Sat May 09, 2020 12:29 pm

Re: Problem with scaling on Linux Mint XFCE

Post by pd77 »

Is it possible to set custom scaling, like 125%, using xrandr?
User avatar
JerryF
Level 13
Level 13
Posts: 4545
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Problem with scaling on Linux Mint XFCE

Post by JerryF »

secureIT wrote:
Mon Sep 14, 2020 2:59 pm
The xfce Version in LM 20 is : 4.12.2
...
Actually, Mint 20 Xfce is 4.14.2, so 4.16 shouldn't be too far behind.
*** IF your problem has been solved, please edit your ORIGINAL post and add [SOLVED] to the beginning of the Subject Line. It helps other members when browsing posts. ***
User avatar
absque fenestris
Level 8
Level 8
Posts: 2340
Joined: Sat Nov 12, 2016 8:42 pm
Location: Confoederatio Helvetica

Re: Problem with scaling on Linux Mint XFCE

Post by absque fenestris »

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.

Fractional Scaling.png
Linux Mint 18.3 Sylvia (MATE) 32-bit - Acer D250 Netbook
Linux Mint 20 Ulyana (Cinnamon) 64-bit - Huawei MateBook X Pro
pd77
Level 2
Level 2
Posts: 56
Joined: Sat May 09, 2020 12:29 pm

Re: Problem with scaling on Linux Mint XFCE

Post by pd77 »

absque fenestris wrote:
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.


Fractional Scaling.png
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.
User avatar
JerryF
Level 13
Level 13
Posts: 4545
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Problem with scaling on Linux Mint XFCE

Post by JerryF »

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.
*** IF your problem has been solved, please edit your ORIGINAL post and add [SOLVED] to the beginning of the Subject Line. It helps other members when browsing posts. ***
pd77
Level 2
Level 2
Posts: 56
Joined: Sat May 09, 2020 12:29 pm

Re: Problem with scaling on Linux Mint XFCE

Post by pd77 »

JerryF wrote:
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.
It's possible, i don't know.

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

Code: Select all

xrandr --output LVDS-0 --scale 0.8x0.8
But if i use this command it scales things down:

Code: Select all

xrandr --output LVDS-0 --scale 1.25x1.25
And that seems strange, because the opposite should happen.
User avatar
absque fenestris
Level 8
Level 8
Posts: 2340
Joined: Sat Nov 12, 2016 8:42 pm
Location: Confoederatio Helvetica

Re: Problem with scaling on Linux Mint XFCE

Post by absque fenestris »

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?
Linux Mint 18.3 Sylvia (MATE) 32-bit - Acer D250 Netbook
Linux Mint 20 Ulyana (Cinnamon) 64-bit - Huawei MateBook X Pro
pd77
Level 2
Level 2
Posts: 56
Joined: Sat May 09, 2020 12:29 pm

Re: Problem with scaling on Linux Mint XFCE

Post by pd77 »

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?
User avatar
absque fenestris
Level 8
Level 8
Posts: 2340
Joined: Sat Nov 12, 2016 8:42 pm
Location: Confoederatio Helvetica

Re: Problem with scaling on Linux Mint XFCE

Post by absque fenestris »

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)

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 18.3 Sylvia (MATE) 32-bit - Acer D250 Netbook
Linux Mint 20 Ulyana (Cinnamon) 64-bit - Huawei MateBook X Pro
secureIT
Level 4
Level 4
Posts: 276
Joined: Wed Dec 05, 2018 1:26 pm

Re: Problem with scaling on Linux Mint XFCE

Post by secureIT »

@ JerryF
Yes ... sorry for my typo : it is right that actually Mint 20 Xfce is on Version 4.14.2

@ pd77

There exists a comfortable script, for scaling up - or down by the use of xrandr.
Its called "newrez" but seems, that it is not usable for nvidia cards.

It is originally written for LVDS1 -but one could modify the script to LVDS0 or eps1 or HDMI.

Original download-link is broken, but it could be found on the net .......

I will give you the references - and tell you how to modify the script to your needs, but first i ask you for some information :

1. which gpu works on your system ?

Terminal - command :

Code: Select all

glxinfo -B
and the system name of your monitor :

Terminal - command :

Code: Select all

xrandr | grep -w connected
.
pd77
Level 2
Level 2
Posts: 56
Joined: Sat May 09, 2020 12:29 pm

Re: Problem with scaling on Linux Mint XFCE

Post by pd77 »

secureIT wrote:
Wed Sep 16, 2020 2:03 pm
@ JerryF
Yes ... sorry for my typo : it is right that actually Mint 20 Xfce is on Version 4.14.2

@ pd77

There exists a comfortable script, for scaling up - or down by the use of xrandr.
Its called "newrez" but seems, that it is not usable for nvidia cards.

It is originally written for LVDS1 -but one could modify the script to LVDS0 or eps1 or HDMI.

Original download-link is broken, but it could be found on the net .......

I will give you the references - and tell you how to modify the script to your needs, but first i ask you for some information :

1. which gpu works on your system ?

Terminal - command :

Code: Select all

glxinfo -B
and the system name of your monitor :

Terminal - command :

Code: Select all

xrandr | grep -w connected

My video card is nvidia. Using xrandr i am able to set custom scaling, but i have Windows 10 installed on the same laptop, and i have to say that Windows 10 is doing a better job with scaling than Linux Mint XFCE.

Code: Select all

xxxxx@HP:~$ glxinfo -B
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 2048 MB
    Currently available dedicated video memory: 1795 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro 1000M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.138
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 390.138
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.138
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Code: Select all

xxxxx@HP:~$ xrandr | grep -w connected
LVDS-0 connected 1440x810+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
antikythera
Level 6
Level 6
Posts: 1436
Joined: Thu Jul 02, 2020 12:52 pm
Contact:

Re: Problem with scaling on Linux Mint XFCE

Post by antikythera »

i have to say that Windows 10 is doing a better job with scaling than Linux Mint XFCE.
You are clearly expecting way too much of opensource projects. XFCE developers are a good decade behind the curve because they do not have the resources of the Redmond giant. There are improvements coming in XFCE 4.16
Don't take life so seriously, nobody gets out alive anyway!
AMSTRAD CPC6128 - 128KB RAM, 3" Hitachi Floppy Diskette Drive, External Sony Cassette Recorder, Locomotive BASIC 1.1, CTM-644 Monitor
secureIT
Level 4
Level 4
Posts: 276
Joined: Wed Dec 05, 2018 1:26 pm

Re: Problem with scaling on Linux Mint XFCE

Post by secureIT »

@ pd77
xxxxx@HP:~$ xrandr | grep -w connected
LVDS-0 connected 1440x810+0+0
o.k. now we now know the system name of the Monitor is : LVDS-0

But i wonder about the resolution, shown by the terminal output.

As you posted before the screen resolution is 1920x1080

Did you use a scaling at the time you executed the script ?

But no matter ... because the newrez script doesn't seem to be a solution for you, because an nvidia card is built into your laptop.
One reads in some forums that there could be problems with the script because of the nvidia driver.

I'm sorry that I couldn't help you with that :(
.
Post Reply

Return to “Xfce”