You are not logged in.
Hello,
I use the following configuration in my Openbox rc.xml to open gnome-terminal with Super+t:
<keybind key="W-t">
<action name="execute">
<execute>gnome-terminal</execute>
</action>
</keybind>However, this always opens gnome-terminal in background, thus not in the foreground of the currently active window. On the other side, it is opened in the foreground when called explicitly, for instance from the run dialog of dmenu.
Does anyone know what determines if a window is opened in the foreground or background?
Thankfully,
Robert
Last edited by orschiro (2015-02-08 21:18:50)
Offline
I don't know openbox. However some other environments have a feature that prevents windows from stealing focus by opening them in the background if the implementation decides it should not give a focus to the newly opened window. Check if you don't have such feature enabled.
Offline
That should behave as you want unless you have another setting overriding the default. Check the focus section of your rc.xml.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You could try adding:
<startupnotify>
<enabled>yes</enabled>
</startupnotify>Jin, Jîyan, Azadî
Offline
You're welcome ![]()
Jin, Jîyan, Azadî
Offline