Skip to content

Instantly share code, notes, and snippets.

@klingtnet
Last active October 20, 2021 13:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klingtnet/a1ec022a31809ac6f26e9f503c775815 to your computer and use it in GitHub Desktop.
Save klingtnet/a1ec022a31809ac6f26e9f503c775815 to your computer and use it in GitHub Desktop.
XFCE4.14 properly switch scaling factor
# 2 times scaling
$ xfconf-query --channel xsettings --property /Gdk/WindowScalingFactor --set 2 && xfconf-query --channel xfwm4 --property /general/theme --set Default-xhdpi && xfconf-query --channel xsettings --property /Gtk/CursorThemeSize --set 48 && xfce4-panel -r
# normal scaling
$ xfconf-query --channel xsettings --property /Gdk/WindowScalingFactor --set 1 && xfconf-query --channel xfwm4 --property /general/theme --set Default && xfconf-query --channel xsettings --property /Gtk/CursorThemeSize --set 16 && xfce4-panel -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment