I have been digging around in order to find ways to read a set of mate terminal profiles and their properties from dconf, and then modifying them and setting them, all from the command line. I have not found a consistent set of tools that will allow me to write new values into the existing properties. Can someone point me to docs that apply to the Ubuntu MATE 16.04 distribution that I am using on my LAN?
You can modify values of gsettings schemas on command line with :
gsettings ( see man gsettings for info )
dconf ( see man dconf ) [ dconf is dconf-editor command line utility ]
dconf is a interface for controlling gsettings , so there is no matter wich you use .
But dconf is more easy .
Examples :
- Dconf
To read a key :
dconf read /org/mate/terminal/profiles/default/custom-command
To write a new value to key :
dconf write /org/mate/terminal/profiles/default/custom-command " ‘hello’ "
To reset a key:
dconf reset /org/mate/terminal/profiles/default/custom-command
- Gsettings
I don’t know why I can’t do it for the profiles with the gsettings tool I will show you with Blueman shemas
To read a key :
gsettings get org.blueman.general notification-daemon
To write a new value to key:
gsettings set org.blueman.general notification-daemon false
To reset a key :
gsettings reset org.blueman.general notification-daemon
as I said first for general structures and more info see their man pages .