You are not logged in.
Hi all,
I'm running LXDE and Openbox.
When I press the keyboard combo Alt + F2, the "Run" dialogue pops up but it runs in the background.
Doesn't matter if I have any windows open or not.
I have to immediately use Alt + Tab to activate the "Run" dialogue window.
Didn't have the issue until I upgraded to most recent packages (openbox, obconf).
Anyone knows how to get rid of the problem?
Thanks.
Last edited by new2arch (2011-09-20 08:22:15)
Offline
The update modified the rc.xml too probably.
I don't know how, or if, LXDE handles this, but on a sole Openbox I use the above layer and the focus option:
<application name="bashrun">
<desktop>all</desktop>
<decor>no</decor> # switch to yes if you prefer a bordered window
<focus>yes</focus>
<skip_pager>yes</skip_pager>
<layer>above</layer>
</application>
Offline
The update modified the rc.xml too probably.
I don't know how, or if, LXDE handles this, but on a sole Openbox I use the above layer and the focus option:<application name="bashrun"> <desktop>all</desktop> <decor>no</decor> # switch to yes if you prefer a bordered window <focus>yes</focus> <skip_pager>yes</skip_pager> <layer>above</layer> </application>
Thanks for the tip.
In my rc.xml for openbox, I don't have those options.
Here is a snippet from lxde-rc.xml :
<keybind key="A-F2">
<action name="Execute">
<command>lxpanelctl run</command>
</action>
</keybind>
Offline
Does it still open in the background if you try "lxpanelctl run" from a terminal? Do other launchers open in the background?
Offline
I also have the same issue described by the OP. When I run "lxpanelctl run" from the terminal the run dialog opens behind any other open windows, the same as when using the keyboard shortcut. I did notice that if I hit the F2 twice, that is ALT-F2-F2, on the second F2 the run dialog is brought to the front (a second run dialog is not opened).
Offline
Does it still open in the background if you try "lxpanelctl run" from a terminal? Do other launchers open in the background?
If I choose "Run" from the main menu it opens in the foreground. But "lxpanelctl run" from terminal it opens in the background.
Perhaps OT but I have the same issues when I use keyboard shortcuts to open PCMANFM.
Strange enough, the terminal opens in the foreground...
Offline
[snip] I did notice that if I hit the F2 twice, that is ALT-F2-F2, on the second F2 the run dialog is brought to the front (a second run dialog is not opened).
Nice discovery there. Much better than using Alt+Tab.
Offline
For those who still having that issue, please add the following lines into your lxde-rc.xml file:
<application name="lxpanel">
<focus>yes</focus>
</application>
<application name="pcmanfm">
<focus>yes</focus>
</application>
Where lxpanel is for Alt+F2 and pcmanfm is for your PCMANFM. This line is inserted just before the closing tag of </applications> and </openbox_config>, which is at the end of the file. After that, do a: openbox --reconfigure to apply the settings.
The same thing is apply for any application that is not opened at the top layer (foreground).
Last edited by xitrumch (2011-09-18 09:02:07)
Offline
For those who still having that issue, please add the following lines into your lxde-rc.xml file:
<application name="lxpanel">
<focus>yes</focus>
</application>
<application name="pcmanfm">
<focus>yes</focus>
</application>Where lxpanel is for Alt+F2 and pcmanfm is for your PCMANFM. This line is inserted just before the closing tag of </applications> and </openbox_config>, which is at the end of the file. After that, do a: openbox --reconfigure to apply the settings.
The same thing is apply for any application that is not opened at the top layer (foreground).
Don't know if I got it right but it doesn't work :
-->
</applications>
<application name="lxpanel">
<focus>yes</focus>
</application>
<application name="pcmanfm">
<focus>yes</focus>
</application>
</openbox_config>
Offline
The code has to be before (above) the </applications> tags.
Last edited by anonymous_user (2011-09-19 14:30:05)
Offline
The code has to be before (above) the </applications> tags.
Thanks a bunch!
Offline
xitrumch wrote:For those who still having that issue, please add the following lines into your lxde-rc.xml file:
<application name="lxpanel">
<focus>yes</focus>
</application>
<application name="pcmanfm">
<focus>yes</focus>
</application>Where lxpanel is for Alt+F2 and pcmanfm is for your PCMANFM. This line is inserted just before the closing tag of </applications> and </openbox_config>, which is at the end of the file. After that, do a: openbox --reconfigure to apply the settings.
The same thing is apply for any application that is not opened at the top layer (foreground).Don't know if I got it right but it doesn't work :
--> </applications> <application name="lxpanel"> <focus>yes</focus> </application> <application name="pcmanfm"> <focus>yes</focus> </application> </openbox_config>
i have the same issue as the op and i did this for lxpanel and it comes to the front but isnt focused. it is set allt he way at the bottom right above </applications> but my run dialog when it shows up isnt focused correctly.
Offline