Looks like wmctrl can do everything required except rename the workspaces. So, how to do that:
-
https://github.com/ngeiswei/rename-xfce-workspace/blob/master/rename-xfce-workspace
-
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
cat ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfwm4" version="1.0">
<property name="general" type="empty">
<property name="workspace_names" type="array">
<value type="string" value="Personal: Email"/>
<value type="string" value="Project: Notetaking"/>
<value type="string" value="Project: duncanlock.net Pelican"/>
...
</property>
</property>
</channel>