Linux file chooser opens in background and gets obscured by the main window of the program. I want to have it open in the foreground.
What desktop?
What application?
If it’s KDE, try to set a different “focus stealing prevention” policy in “Configure Desktop”/“System Settings”->Window Behavior->Window Behavior->Activation.
KDE 4.14.9
I selected “focus stealing prevention = none” and everything works fine now.