I created a keyboard shortcut which launches firefox with the contents of the primary clipboard. However, if I am in a different desktop than the one that my firefox window is in, xfce4 will bring the window to my desktop and give it focus when the script is run. I'd like to force firefox to stay on the other (unseen) desktop.
Right now I have a very cludgy work-around:
firefox `xclip -o`
wmctrl -r "Mozilla Firefox" -t 2
This forces the firefox window to go back to desktop 2 (where I keep my firefox windows), but if there is a way to keep firefox from coming to my active desktop at all, I'd love to know about it.