Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
30
rated 0 times [  30] [ 0]  / answers: 1 / hits: 58588  / 3 Years ago, wed, august 4, 2021, 1:56:52

The following question answers how to Adjust fonts using tweak tool but the luddite in me would like to know how to do this without installing unity-tweak-tool.



How can I adjust the default system font from a terminal.


More From » unity

 Answers
6

gsettings offers a simple commandline interface to GSettings. It lets you get, set or monitor an individual key for changes.





  • You can set fonts by following commands in terminal :



    gsettings set org.gnome.desktop.interface document-font-name 'Sans 10'
    gsettings set org.gnome.desktop.interface font-name 'Ubuntu 10'
    gsettings set org.gnome.desktop.interface monospace-font-name 'Ubuntu Mono 11'
    gsettings set org.gnome.nautilus.desktop font 'Ubuntu 10'

  • To Know current settings type following commands in terminal :



    gsettings get org.gnome.desktop.interface document-font-name
    gsettings get org.gnome.desktop.interface font-name
    gsettings get org.gnome.desktop.interface monospace-font-name
    gsettings get org.gnome.nautilus.desktop font



Additional:




  • To find all similar keys on schema type following command:



    gsettings list-recursively org.gnome.desktop.interface

  • To reset all valuses of keys run following command in terminal:



    gsettings reset-recursively org.gnome.desktop.interface


[#25717] Thursday, August 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mentpengu

Total Points: 148
Total Questions: 114
Total Answers: 119

Location: Anguilla
Member since Sun, Aug 7, 2022
2 Years ago
mentpengu questions
Sun, Apr 17, 22, 18:09, 2 Years ago
Fri, Aug 12, 22, 01:35, 2 Years ago
Tue, Jul 26, 22, 14:52, 2 Years ago
;