4

I want to set the dpi scaling in xfce4-settings:appearance via bash script, so that I can bind it to a key shortcut. In the official docs I can only find the method to change it via GUI. Is there a terminal command to set the dpi value?

Thanks for help! Basti

1 Answers1

4

I think it's what you look for

xfconf-query -c xsettings -p /Xft/DPI -s 100

You can take a look at man xfconf-query

ctac_
  • 1,960
  • 1
  • 6
  • 14