Q:

Stop browser window from switching workspace and getting focus when opening a link?

(I just switched from Gnome 2 to Xfce 4, so I have still to find my way around how Xfce works.)
Iceweasel is opened on Workspace 1, Icedove is opened on Workspace 2. I click at a link in Icedove, which opens a tab in Iceweasel. Great, but: Iceweasel moves to Workspace 2 and gets focus.
Can I configure it so that windows always stay on their workspace, no matter if other application interact with them? And that the focus doesn’t get changed?
On Gnome 2, Iceweasel stayed on Workspace 1, but it was highlighted/blinking in the taskbar of Workspace 2 (instead of being focused). I’d like to have that (or a similar) behaviour in Xfce, too.

A:

The setting you're looking for is listed under "Window manager tweaks".

XFCE menu
Settings
Window Manager Tweaks
Focus
"When a window raises itself"
"Do nothing"

Note that you cannot get the behavior where it will show raised windows on other workspaces. You can have it show all windows on all workspaces, or the current workspace. There's no option for "only this workspace plus raised windows on other workspaces".

