Last active
January 7, 2022 16:40
-
-
Save rbreaves/369fb6763b137ba8d1f93f643340f283 to your computer and use it in GitHub Desktop.
HiDPI w/ low DPI monitor - Ubuntu Budgie
This file contains hidden or 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
HiDPI laptop w/ low DPI external monitor X11 & Budgie | |
Divide your hidpi height by your low dpi height | |
1800÷1080 = 1.66667 | |
Multipy your low dpi width by this number | |
1.66667 * 1920 = 3200 | |
# Not needed | |
# Get your mode config | |
# cvt 3200 1800 | |
Fix blinking cursor on HiDPI monitor that will happen with scaling & then REBOOT | |
sudo vi /usr/share/X11/xorg.conf.d/20-intel.conf | |
``` | |
Section "Device" | |
Identifier "Intel Graphics" | |
Driver "intel" | |
Option "SwapBuffersWait" "true" | |
Option "TearFree" "true" | |
EndSection | |
``` | |
vi ~/.profile (add the following) | |
``` | |
export GDK_DPI_SCALE=1.6 | |
export QT_SCALE_FACTOR=1.6 | |
export QT_STYLE_OVERRIDE=Mojave-dark | |
``` | |
Log back in and do the following | |
# Not Needed | |
# Run the following & make note of your monitor names (mine are eDP1 and DP2) | |
# xrandr | |
# sudo xrandr -display :0.0 --newmode "3200x1800_60.00" 492.00 3200 3456 3800 4400 1800 1803 1808 1865 -hsync +vsync | |
# sudo xrandr -display :0.0 --addmode DP2 "3200x1800_60.00" | |
Dual monitor setup (HiDPI laptop w/ low dpi monitor) | |
xrandr --fb 6080x1800 \ | |
--output eDP1 --auto --pos 3200x0 \ | |
--output DP2 --scale 1.66667x1.66667 --pos 0x0 --panning 3200x1800 | |
Run Budgie with good sizing | |
env GDK_BACKEND="x11" GDK_SCALE=2 CLUTTER_SCALE=1 GDK_DPI_SCALE=0.5 nohup budgie-panel --replace& | |
How to RDP w/ sharp clarity - aka Remmina | |
env GDK_BACKEND="x11" GDK_SCALE=1 CLUTTER_SCALE=1 GDK_DPI_SCALE=0.5 remmina |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment