Skip to content

Instantly share code, notes, and snippets.

@james2doyle
Created August 12, 2026 21:51
Show Gist options
  • Select an option

  • Save james2doyle/27da3a45e49764c717eaa84e7459ead4 to your computer and use it in GitHub Desktop.

Select an option

Save james2doyle/27da3a45e49764c717eaa84e7459ead4 to your computer and use it in GitHub Desktop.
Fix large fonts on GNOME desktop in Sublime Text 4
#!/bin/sh
# replaces what was originally in /usr/bin/subl
# change GDK_DPI_SCALE=0.9 based on how you want to scale. 1 is 100%
# you can then use a Linux preferences to change the "ui_scale" up to say 1.1 to even it out
exec env GDK_SCALE=1 GDK_DPI_SCALE=0.9 /opt/sublime_text/sublime_text "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment