Created
May 10, 2017 07:19
-
-
Save sebva/4022e2b7e509fb28f8ba6819f880bf41 to your computer and use it in GitHub Desktop.
Switch to DVI monitor on dock with scaling of 1, or to laptop integrated monitor with scaling of 1.6 on GNOME
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/sh | |
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gdk/WindowScalingFactor': <1>}" | |
gsettings set org.gnome.desktop.interface scaling-factor 1 | |
xrandr --output eDP1 --off --output DP2-2 --auto |
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/sh | |
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gdk/WindowScalingFactor': <2>}" | |
gsettings set org.gnome.desktop.interface scaling-factor 2 | |
xrandr --output DP2-2 --off --output eDP1 --auto --scale 1.25x1.25 --panning 3200x1800 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment