1

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

0

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

  • That's exactly what I was looking for. Thank you!! – Sebastian Hoelzl Jun 17 '18 at 12:09
  • @SebastianHoelzl You are welcome. I recommend forum.xfce.org/index.php for questions specific to xfce. – ctac_ Jun 17 '18 at 12:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.