Can't set e.g. an "array of strings" property (there is a workaround "-a" option) for a single element arrays. Marking this as a bug because there are several places such properties are used in Xfce so the default front-end should be able to handle them.
I can be more friendly, but it supports arrays: xfconf-query -c test -p /test2 -n -t int -t int -t string -t string -s 4 -s 5 -s 6 -s 8 It is probably a good idea to allow 1 type and multiple values too (which is not working atm). So you can do: xfconf-query -c test -p /test2 -n -t int -s 4 -s 5 -s 6 -s 8
OK, so this bug is technically invalid (xfconf-query does support array types). I agree that specifying a single array type could be convenient but I could live without it (in this particular tool, functionality is more important than convenience). We could consider this bug a documentation error. I've added a stub of the xfconf-query documentation at http://docs.xfce.org/xfce/xfconf/xfconf-query which includes your example.
Well it would be nice if the settings editor supports this. I was too lazy to add a treeview/model to handle this. I think we can limit there to adding/editing a single-type array.
Digging up old stuff here... xfconf-query apparently cannot deal with float arrays: $ xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitoreDP-1/workspace1/rgba1 -t float -t float -t float -t float -s 0.0 -s 0.0 -s 1.0 -s 1.0 Unable to convert "0.0" to type "gfloat". Also the monitor-mode in verbose mode seems to be unable to show array values: $ xfconf-query -m -c xfce4-desktop -v Start monitoring channel "xfce4-desktop": (xfconf-query:22345): xfconf-common-WARNING **: 11:49:58.092: Unable to convert GValue to string set: /backdrop/screen0/monitoreDP-1/workspace1/rgba1 ((null))
Use "double" instead of "float" and it'll work just fine.