I recently installed Ubuntu 18.04 and discovered that the fractional scaling option that was in 16.04 is no longer there. 200% is too big for my display, and this answer didn't work for me (the options didn't change after running the command).
Is there another way to get fractional scaling?
Install Tweaks by running:
Then go to Tweaks → Fonts → Scaling Factor and change the scaling value.
At least this option helps to make text bigger.
Actually I like this approach, since it keeps other things at scaling 1, because I only need the text to be bigger.
XOrg solution
The Archwiki proposes a solution (or rather a hack) with xrandr (if you use standard Ubuntu 18.04 with xorg):
ArchWiki - HiDPI - fractional scaling
Wayland solution
Since Ubuntu 18.04, Wayland is the default display protocol.
To enable scaling:
Enable fractional Scaling experimental-feature:
Restart the computer.
Open Settings -> Devices -> Displays
Now you should see 25 % step scales, like 125 %, 150 %, 175 %. Click on one of them and see if it works.
I run a shell script on login (using Startup Applications control panel) to set my desired scaling.
Determine your output device (mine is DP-1) by running xrandr on its own.
Then put an executable script somewhere (I have it in my home directory) containing the following:
Tried to play with expermential features and some other "tips" found online but nothing helped or seemed like "solution" will introduce another pallet of issues. What i eventually did is - i installed unity desktop manager which was used with Ubuntu 16. So now I have running latest 18 LTS with a bit different desktop manager which does have fractional scaling without any hacks.
sudo apt install ubuntu-unity-desktop
I used Unity Tweak Tool in Ubuntu 16.04. I'm running now a test environment where 16.04 was upgraded to Ubuntu 18.04 LTS. I just checked and Unity Tweak Tool is still there and scaling my High DPI screens properly. The settings I'm using for scaling on a 1920x1080 monitor are:
The
Text scaling factor
scales both fonts and UI elements like title bars, buttons, etc.Icon size is preset but the text size under it increases giving the illusion the icon size changed:
In the
.gif
above scaling starts at1.38
on a 1920x1080 monitor. Then it is changed to1
and everything gets tiny, which is normal. Then it is changed to2
which is ideal for the visually challenged. Once again the icons have fixed pixel size and the font shrinking or expanding under the icon gives the illusion their size is changing.To install Unity Tweak Tool use:
Others may be interested in the full suite of tools available in 18.04 LTS:
You can't, because Ubuntu switched back to Xorg as the default display server. A lot of people are searching for a solution, and this thread is the top result on Google. Unfortunately there is still no fractional scaling in Xorg.
You can use 1600x900 (16:9) from dropdown to increase scaling.
I am currently experimenting with a fix for this (still using Ubuntu 16.04 admittedly, but I'm pretty sure the same options are available in 18.04) which keeps the scaling at 1, but uses the resolution selector in the "Screen Display" part of System Settings to drop the resolution of the panel. You would think this would make everything blurry, but it seems to be doing a fine job for me. YMMV.
My screen (X1 Carbon 4th Gen) is 2560x1440, a 16:9 ratio. 2x zoom would make it effectively 1280x720, which is too small. Instead, I pick 2048x1152 (also a 16:9 ratio) from the selector. For me at least, it also offers 1920x1080, 1600x900 and 1368x768 as options depending on how much downscaling you want.
I might end up going with 1920x1080 as 2048x1152 still has a few things a little bit small.
The solution with the Gnome Tweak Tool works well for me with Ubuntu 18.04 with a 3840 x 2160 resolution display. After setting only the scale factor to 1.5 and leaving the font sizes unchanged the screen display was great for me. Additionally I had to adjust the size of the dock symbol size in the gnome settings. That seems to me the least intrusive solution.
The 18.04 desktop is fitting wallpaper images according to width, so if you resize your images for the width of the screen (regardless the absolute size of the image) your wallpapers will fit. To fit the tall images I go into "alter image/change canvass size" and add wide borders on either side using Pinta. (or Gimp or whatever you've got)