heyup
August 27th, 2012, 07:54 PM
What is the correct syntax to use where a key has multiple values?
For example:-
gsettings list-recursively org.gnome.nautilus.list-view
This lists the default keys and values:-
org.gnome.nautilus.list-view default-visible-columns ['name', 'size', 'type', 'date_modified']
To add the values 'owner' and 'permissions' to the key, I tried this:
gsettings set org.gnome.nautilus.list-view default-visible-columns ['name', 'size', 'type', 'date_modified', 'owner', 'permissions']
But that doesn't work. It gives error. What is the correct syntax?
For example:-
gsettings list-recursively org.gnome.nautilus.list-view
This lists the default keys and values:-
org.gnome.nautilus.list-view default-visible-columns ['name', 'size', 'type', 'date_modified']
To add the values 'owner' and 'permissions' to the key, I tried this:
gsettings set org.gnome.nautilus.list-view default-visible-columns ['name', 'size', 'type', 'date_modified', 'owner', 'permissions']
But that doesn't work. It gives error. What is the correct syntax?