Skip to content

Instantly share code, notes, and snippets.

Last active May 1, 2020 06:59
What would you like to do?
Fractional Scaling for Ubuntu 18.04
# Enable fractional scaling on Ubuntu 18.04
# Problem:
# --------
# - Ubuntu 18.04 runs on Gnome 3.28, whichs does not support fractional scaling (120%, 130%).
# - As a result, the text and icon on my 4K 27" monitor are very small.
# Usage:
# -------
# Enable executable script:
# > chmod +x fscale.h
# > /fscale.h
gsettings set org.gnome.desktop.interface scaling-factor 2
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gdk/WindowScalingFactor': <2>}"
xrandr --output DP-1 --scale 1.5x1.5
xrandr --output DP-1 --panning 3840x2160
Copy link

How do you kill this script in Ubuntu 18.4 LTS? I ran this script using the terminal and can't figure out how to revert back to my old settings

Copy link

datlife commented May 1, 2020

It's been a long time. I forgot how to disable it tbh.

Highly recommend Ubuntu 20.04. It scales well on my 4K screen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment