Fractional Scaling for Ubuntu 18.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 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 |
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
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