Last active
March 31, 2022 13:29
-
-
Save jeromewu/5dd316ffdde6da3ff8c37b639c42ec46 to your computer and use it in GitHub Desktop.
HiDPI fix in Gallium OS 3.1
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
#!/bin/sh | |
# Raise DPI from 96 to 276 to makes text size front | |
xfconf-query -c xsettings -p /Xft/DPI -s 276 | |
# Enlarge cursor size | |
xfconf-query -c xsettings -p /Gtk/CursorThemeSize -s 48 | |
# Raise xfce panel height | |
xfconf-query -c xfce4-panel -p /panels/panel-1/size -s 64 | |
# Enlarge notification area icon | |
xfconf-query -c xfce4-panel -p /plugins/plugin-6/size-max -s 64 | |
# Enlarge window size | |
xfconf-query -c xfce4-desktop -p /last/window-height -s 1240 | |
xfconf-query -c xfce4-desktop -p /last/window-width -s 909 | |
# Enlarge desktop icon | |
xfconf-query -n -t uint -c xfce4-desktop -p /desktop-icons/icon-size -s 96 | |
# Use xhdpi theme, you can alsto use "Default-hdpi" | |
xfconf-query -c xfwm4 -p /general/theme -s "Default-xhdpi" | |
# Enlarge most of the icons | |
xfconf-query -c xsettings -p /Gtk/IconSizes -s gtk-menu=48,48:gtk-button=48,48:gtk-dialog=48,48:gtk-dnd=48,48:gtk-small-toolbar=48,48:gtk-large-toolbar=64,64 |
This Gist along with your comments at ITNEXT helped me with most of my HiDPI issues on an HP 13-G1. Thank you so much for sharing and keeping alive the Wisdom of the Ancients. I note that I have issues despite installing gallium-hidpi
and I've locally modified this script to better fit my preferences.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Worked like a charm on my Samsung Chromebook Pro. Cheers!