2013-07-08, 02:25
(2013-07-08, 00:36)n1md4 Wrote: Angelscry, I have tried so many ways, short of reinstalling, to get openbox permanently booted in the background to handle window management but to no avail.If you want openbox permanently booted, this must be done at the operating system level (for example into the .xinitrc file) not at the Advanced Launcher level.
(2013-07-08, 00:36)n1md4 Wrote: Would it be possible to show me where in your code I could edit so that openbox was launched in the background automatically before and then closed after an application were launched?The code need to be modified at 2 differents place (one for standalone launcher and one for files launcher). Just found into the code (launcher_plugin.py) the lines checking the linux operating system :
Code:
...
elif (sys.platform.startswith('linux')):
...
Few lines below you may found these lines :
Code:
...
os.system("\"%s\" %s " % (launcher["application"], arguments))
...
and
Code:
...
os.system("\"%s\" %s " % (application, arguments))
...
Add your code to launch/close openbox before and after these 2 lines.
But in my opinion it will be far better to use a .sh to do that :
Code:
#!/bin/bash
openbox &
/usr/bin/your_app
killall -9 openbox