I need to change the name of a workspace on a remote machine. I've looked at the documentation for xfconf-query and I've managed to list the workspace names using
xfconf-query -c xfwm4 -p /general/workspace_names
The result begins with
Value is an array with 13 items:
I also grep'd for a file that contained one of my workspace names and I found ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml but when I edit the file and change one of the workspace names, then open the workspaces gui, it still has the same old value. And yet, if I change the workspace name in the gui then open ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml - the workspace has been updated with the new workspace name.
I've done a lot of searching on this and nothing I can find tells me how to specify which item in the array I want to change - and what I want to change it to. If someone out there knows how to do this, could you just post an example like
xfconf-query -c xfwm4 -p /general/workspace_names -o(ld) old_name -n(ew) new_name