You are not logged in.
If an application takes to long to load, it won't open on the original workspace where I did the command to open that application.
I really want to change this... where should I start?
Last edited by rubensoleao (2015-10-21 17:26:19)
Offline
I don't think openbox is able to handle it. A window manager just reacts to requests for drawing/replacing/resizing/whatever X windows (and other X related things).
The problem is that it would need to keep track of each process that is launched, for the case that one of those processes start creating an X window (e.g. if you type "firefox", then change to a different workspace, then after a few seconds that thing boots up, draws a window, openbox would need to know on which workspace you were when you launched the firefox process).
Offline
I don't think openbox is able to handle it
I think you're right... I've found a utility named Devil's Pie and it looks like it could work or you can tweak it to make it work. Gonna give it a try.
Offline
Maybe this will help this approach?
</application>
<!-- i want firefox on desktop 3 and maximized -->
<application name="Firefox*">
<desktop>3</desktop>
<maximized>yes</maximized>
</application>
<!-- MPlayer will follow me around when i switch desktop.
that way i can always watch my vids when coding.
same goes for Realplayer -->
<application class="MPlayer">
<desktop>all</desktop>
<layer>above</layer>
</application>Xou can read more here
http://openbox.org/wiki/Help:Applicatio … p_settings
Offline
This approach is good for things that you open frequently, works great for my Calibre. But it's still a tailored solution and not a general one.
And for some things like using multiple firefox profiles I can't do it by modifying my rc.xml. For example, I use a script that opens up 2 different firefox profiles on different workspaces but it's very clumsy because it has to wait for one firefox profile to open before opening the other:
wmctrl -s 2 # Set to workspace 2
firefox -p personal &
sleep 3 # wait 3 sec.
wmctrl -s 3 # Set to workspace 3
firefox -p work &Last edited by rubensoleao (2015-10-21 19:03:46)
Offline