Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to change the values of a gconf list key through the terminal, i'm not sure how to do it though.

gconftool-2 --type list the/key/to/modify but then i don't know how to put the values since it's not just one.

So, how do i set different values to a gconf list key?.

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

You should build your command line like this:

gconftool-2 --type list --list-type string --set /the/key/to/modify '[value1,value2,value3]'

As you see, you need to specify also the type of list elements, with --list-type.

share|improve this answer
    
Thanks, but i have a problem, i've typed the command with the values i wanted to set, however nothing seems to have changed, i'm trying to set values for AWN so when i add a new dock it already has the applets i want and/or need, but whenever i create a new dock the default AWN are used, why is that happening?. –  Uri Herrera Aug 9 '11 at 23:20
    
The values are reported and visible in gconf-editor? If so, the problem moves to AWN, and I don't know it. –  enzotib Aug 10 '11 at 6:19
    
Yeah, gconf has the correct values but AWN ignores them?. –  Uri Herrera Aug 10 '11 at 12:38
1  
@Uri Herrera: don't know nothing about AWN, sorry –  enzotib Aug 10 '11 at 14:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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