You are not logged in.
Hi
So I have made my rc.xml config so that Thunderbird will open on workspace 2.
...
<application class="Thunderbird">
<desktop>2</desktop>
</application>
...
But when I open Thunderbird, Openbox switches to WS 2 before opening it - which is really annoying.
How can I fix this, so that I can do other things while Thunderbird is being opened in the background on WS 2?
Last edited by Lactury (2016-08-02 10:36:24)
Offline
You could try the different focus options inside the application option (see the manual), but I can't find it in the examples, so you might be out of luck setting those for one application only. If you're fine with a global focus setting, see the respective settings in the Openbox manual.
Online
The available properties can be seen under <applications> here https://git.icculus.org/?p=mikachu/open … ;hb=master
I have tried to add <focus>no</focus> but still no luck.
Offline
I have tried to add <focus>no</focus> but still no luck.
That should be <focusNew>no</focusNew>
Offline
Switched <focus> with <focusNew> but the problem is still here.
Offline
Here are the relevant parts of my rc.xml:
<focus>
<focusNew>yes</focusNew>
</focus>
<applications>
<application name="urxvt">
<focus>no</focus>
</application>
</applications>
All new windows get focus except urxvt.
Offline
Wow, that's weird. I have exactly the same configurations, yet it's still not working.
Offline
Maybe it's time to whip out those code tags and post your entire rc. I haven't read one of these in a while.
In the meantime, try to get the openbox STDOUT and STDERR to a log file on start. Maybe there is an error and Openbox refuses to complain hard enough.
Online
Thank you, here is my rc.xml
http://pastebin.com/KbLrTeiN
Last edited by Lactury (2016-07-31 21:58:08)
Offline
There it is:
<!--- #################### -->
<!--- # FOCUS ON WINDOWS # -->
<!--- #################### -->
# <applications>
# <application class="*">
# <focus>yes</focus>
# </application>
# </applications>
You tried to comment out those lines with #.
Online
Wow, thank you so much, it's working perfectly now!
Offline