简体   繁体   中英

Change Gnome-Tweaks through terminal?

I have an idea to change the appearance of my Linux machine automatically.

Is there any way I can change Gnome-tweaks settings from terminal/bash script?
Some documentation of all settings described would be useful. Thanks in advance.

Start the gnome tweaks in your terminal with the verbose option, so you see what kind of setting you're actually changing.

$ gnome-tweaks -v

Example Output after changing the font scaling factor:

Change: org.gnome.desktop.interface text-scaling-factor -> 1.3

With this information, we can now proceed to change these settings in the terminal/bash script:

$ gsettings set org.gnome.desktop.interface text-scaling-factor 1.3

To ensure that the setting has been correctly changed, we can get the new value the following way:

$ gsettings get org.gnome.desktop.interface text-scaling-factor

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM