It is also worth recording here that it is possible to do this with
xdotool, which can be installed with
sudo apt-get install xdotool
You can bind the command below to perhaps a spare button on the side of your mouse, and then you can click that button to flick the active window to another workspace. The number of the workspace is specified at the end of the command.
xdotool getactivewindow set_desktop_for_window 1
This will move the currently active window (the one that has focus) to the desired workspace, while keeping you on the workspace where the command was issued, which was just what you specifically required. (To actually move to that other workspace yourself, you would use
xdotool set_desktop 1.)
You could also select a particular window to move instead of just the active window, but probably shifting the active window (whatever it is) would be most useful to bind to a key.
Note: If you use a different window manager than that of the default on Xfce, or you use compiz, you may need to look at the
viewport options in the
xdotool manpage or try
For more detailed information on using
xdotool for manipulating windows and workspaces, please see my answers here to related, but different questions:
There are so many things you can do with
xdotool; please see the Ubuntu manpage or man