Outputs the number of the active desktop and continue to output it as it changes if the snoop mode is on.
xdesktop [-h|-v|-s|-t|-p|-n|-g DESKTOP]
-h
— Print the synopsis to standard output and exit.-v
— Print the version to standard output and exit.-s
— Activate the snoop mode.-t
— Print total desktops to standard output and exit.-p
— Go to previous desktop.-n
— Go to next desktop.-g DESKTOP
— Go to desktop NUMBER.