Ways to adjust display scaling?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
M3Stang
Level 1
Level 1
Posts: 9
Joined: Thu Jul 20, 2017 1:29 pm
Location: Orlando, FL

Ways to adjust display scaling?

Post by M3Stang » Sat Jul 29, 2017 2:08 am

Hey guys, I just hooked my Linux Mint machine to my 4K 28" monitor that I usually use my Windows gaming PC on, and everything is way to small. I have to constantly squint lol. I did some searching around the settings and did find a scaling option under "General" but it only gives me the choice to leave it "Normal" or "Double" Double is far too big and it messes up the scaling on my second 1440p monitor. Is there a way to adjust this in terminal? On windows, it is where you choose the resolution and I have it set to 125%/ Any help would be appreciated, thanks.
Linux Mint PC
DX38BT
Q9450 @2.66GHz
8GB DDR3
GTX 960

User avatar
laederlappen
Level 2
Level 2
Posts: 82
Joined: Fri May 19, 2017 11:34 pm
Location: Germany

Re: Ways to adjust display scaling?

Post by laederlappen » Sat Jul 29, 2017 3:06 am

System Settings -> Fonts -> Text Scaling Factor

M3Stang
Level 1
Level 1
Posts: 9
Joined: Thu Jul 20, 2017 1:29 pm
Location: Orlando, FL

Re: Ways to adjust display scaling?

Post by M3Stang » Sat Jul 29, 2017 3:14 am

Thanks for the reply. Doing this does not make the overall UI larger like the double dpi does. The cursor remains the same as does the task bar. Surely there is a way to set the DPI in terminal somehow? I was reading that apparently unity has a slider for this very thing. Would hate to switch since I prefer mint's GUI.
Linux Mint PC
DX38BT
Q9450 @2.66GHz
8GB DDR3
GTX 960

User avatar
laederlappen
Level 2
Level 2
Posts: 82
Joined: Fri May 19, 2017 11:34 pm
Location: Germany

Re: Ways to adjust display scaling?

Post by laederlappen » Sat Jul 29, 2017 4:04 am

Please read:
https://wiki.archlinux.org/index.php/HiDPI

I just did a couple of tests in a virtual machine.

One method you could try:

First, increase text scaling factor

Install dconf-editor:

Code: Select all

sudo apt install dconf-editor
start dconf-editor

and go to: /org/cinnamon/settings-daemon/plugins/xsettings/

Now double click at "overrides" and enter value {'Xft/DPI': <147456>}

use formular: dpi * 1024
for example:
120 dpi = 122880
144 dpi = 147456

User avatar
Ozo
Level 5
Level 5
Posts: 765
Joined: Tue Dec 22, 2015 11:49 am
Location: Titusville, Florida USA

Re: Ways to adjust display scaling?

Post by Ozo » Sat Jul 29, 2017 11:02 am

M3Stang wrote:Hey guys, I just hooked my Linux Mint machine to my 4K 28" monitor that I usually use my Windows gaming PC on, and everything is way to small. I have to constantly squint lol. I did some searching around the settings and did find a scaling option under "General" but it only gives me the choice to leave it "Normal" or "Double" Double is far too big and it messes up the scaling on my second 1440p monitor. Is there a way to adjust this in terminal? On windows, it is where you choose the resolution and I have it set to 125%/ Any help would be appreciated, thanks.
In Settings/Preferences/Visual/Visual Aids, select "Large Text". Then go to Panel settings (R click panel) and select custom panel size and use the slider to enlarge the panel. Try this with Large Text and without to see what works for you. I also click the button below custom panel size which allows Cinnamon to automatically size text/icon of the panel.

User avatar
laederlappen
Level 2
Level 2
Posts: 82
Joined: Fri May 19, 2017 11:34 pm
Location: Germany

Re: Ways to adjust display scaling?

Post by laederlappen » Sat Jul 29, 2017 12:02 pm

Interesting, "large text" setting was already activated on my machine. deactivating and reactivating it had an positive impact on my machine.
The text is now larger than with the active setting before. In particular Virtualbox, which uses an old version of Qt. (qt 5.6 has better scaling options)
I used to set default font to 11 to get a proper font size in Virtualbox. Now with the re-enabled "large text" setting, I can go down to default font 10.
Google-Earth, which is another Qt app, also looks better now.

User avatar
Ozo
Level 5
Level 5
Posts: 765
Joined: Tue Dec 22, 2015 11:49 am
Location: Titusville, Florida USA

Re: Ways to adjust display scaling?

Post by Ozo » Sun Jul 30, 2017 9:46 am

The size of the panel icons fills the panel (height) with the settings I mention above and looks just like a properly adjusted Windows panel. That is with the panel height slider at approximately 80% on a 40"screen. My text scaling factor is 1.0 with interface scaling set at double. Perfect on the 40" screen.

Of course these settings will be different on a 20" monitor.

M3Stang
Level 1
Level 1
Posts: 9
Joined: Thu Jul 20, 2017 1:29 pm
Location: Orlando, FL

Re: Ways to adjust display scaling?

Post by M3Stang » Sun Jul 30, 2017 2:01 pm

laederlappen wrote:Please read:
https://wiki.archlinux.org/index.php/HiDPI

I just did a couple of tests in a virtual machine.

One method you could try:

First, increase text scaling factor

Install dconf-editor:

Code: Select all

sudo apt install dconf-editor
start dconf-editor

and go to: /org/cinnamon/settings-daemon/plugins/xsettings/

Now double click at "overrides" and enter value {'Xft/DPI': <147456>}

use formular: dpi * 1024
for example:
120 dpi = 122880
144 dpi = 147456
Lol now I went and broke it. I set the number in the billions and now the computer is unusable no windows open nothing works anymore. Typing off of the live CD right now. Installed dconf in the live cd mode in hopes it could access the hard drive file but no dice. Any ideas on how to fix this? Or should I grab my files and reinstall?
Linux Mint PC
DX38BT
Q9450 @2.66GHz
8GB DDR3
GTX 960

User avatar
laederlappen
Level 2
Level 2
Posts: 82
Joined: Fri May 19, 2017 11:34 pm
Location: Germany

Re: Ways to adjust display scaling?

Post by laederlappen » Sun Jul 30, 2017 2:40 pm

M3Stang wrote: Lol now I went and broke it. I set the number in the billions and now the computer is unusable no windows open nothing works anymore. Typing off of the live CD right now. Installed dconf in the live cd mode in hopes it could access the hard drive file but no dice. Any ideas on how to fix this? Or should I grab my files and reinstall?
Boot your System. On login, hold "Ctrl+Alt+F1".

Now login on the command line and enter.

120 dpi:

Code: Select all

gsettings set org.cinnamon.settings-daemon.plugins.xsettings overrides "{'Xft/DPI': <122880>}"
default setting is:

Code: Select all

gsettings set org.cinnamon.settings-daemon.plugins.xsettings overrides {}

M3Stang
Level 1
Level 1
Posts: 9
Joined: Thu Jul 20, 2017 1:29 pm
Location: Orlando, FL

Re: Ways to adjust display scaling?

Post by M3Stang » Mon Jul 31, 2017 11:15 pm

Thanks. I got it working again, although I had to do a graphical login and sort of do it blind with the terminal invisible as those commands didnt work with the ctrl alt f1 thing. These settings dont make the mouse or the task bar larger though.
Linux Mint PC
DX38BT
Q9450 @2.66GHz
8GB DDR3
GTX 960

User avatar
laederlappen
Level 2
Level 2
Posts: 82
Joined: Fri May 19, 2017 11:34 pm
Location: Germany

Re: Ways to adjust display scaling?

Post by laederlappen » Tue Aug 01, 2017 1:26 am

Do you mean the cinnamon panel? You can resize the panel - see Ozo's posts.

Now this thread covers all the system settings that cinnamon 3.4.4 provides for scaling.

System Settings -> General -> User interface Scaling
System Settings -> Fonts -> Font Selection and Text Scaling Factor
System Settings -> Accessibillity -> Large Text
System Settings -> Mouse (and Touchpad) -> Pointer Size (and speed)

(and of course you can resize the panel and the icons on it)

In a virtual machine I had little success with these dconf-settings to make things a bit larger but yeah
I can't reproduce your situation in a VM. It was one of the methods from the wiki, but I still think the answer lies in the text.
https://wiki.archlinux.org/index.php/HiDPI

For example,
in Firefox I use the about:config setting "layout.css.devPixelsPerPx"
For Chromium programs (not only chrome) I use the parameter -force-device-scale-factor=1.3 on startup

Maybe the combination of Cinnamon's scaling-factor and xrandr .. whatever you do, be careful and good luck. :wink:

charsi
Level 1
Level 1
Posts: 6
Joined: Fri Feb 10, 2017 2:30 pm

Re: Ways to adjust display scaling?

Post by charsi » Sun Feb 25, 2018 4:35 am

The user interface scaling seems to do what I am lookingg for but I can't find a way to -

- Apply it only on one of the screens. (I have 2 1080p screens. One is a 22" the other is 12.5")
- Set it to between 1.2x to 1.5x

User avatar
Moem
Level 19
Level 19
Posts: 9004
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Ways to adjust display scaling?

Post by Moem » Sun Feb 25, 2018 5:44 am

charsi wrote:
Sun Feb 25, 2018 4:35 am
The user interface scaling seems to do what I am lookingg for but I can't find a way to -

- Apply it only on one of the screens. (I have 2 1080p screens. One is a 22" the other is 12.5")
- Set it to between 1.2x to 1.5x
Please start a new thread for your question, and in that thread, post the result of the following terminal command, and enclose it in code tags. It's the button marked </>. This is needed for pretty much any question about your system, so it's a good habit to post it straight away.

Code: Select all

inxi -Fxz
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

IDG
Level 2
Level 2
Posts: 52
Joined: Wed Oct 10, 2018 11:12 am

Re: Ways to adjust display scaling?

Post by IDG » Tue Nov 06, 2018 4:56 am

laederlappen wrote:
Sat Jul 29, 2017 4:04 am
Please read:
https://wiki.archlinux.org/index.php/HiDPI

I just did a couple of tests in a virtual machine.

One method you could try:

First, increase text scaling factor

Install dconf-editor:

Code: Select all

sudo apt install dconf-editor
start dconf-editor

and go to: /org/cinnamon/settings-daemon/plugins/xsettings/

Now double click at "overrides" and enter value {'Xft/DPI': <147456>}

use formular: dpi * 1024
for example:
120 dpi = 122880
144 dpi = 147456
What is the formula for 4K TV that scales to 1080P?

Post Reply

Return to “Newbie Questions”