2011-05-16, 11:27
I make a media player with the browser. I install openbox with chromium and xbmc.
At first desktop i start chromium, and then on the second desktop I start xbmc.
To change desktop I use script:
Switch to xbmc
Switch to browser
When i start script from desktop with browser, all ok, I am switched to xbmc.
When i start script from Xbmc --> Launcher --> script.sh, I am switched to browser, but i see him one second, and then appears xbmc.
If to start a script with a delay, and start xbmc
How switch virtual desktop from XBMC
At first desktop i start chromium, and then on the second desktop I start xbmc.
To change desktop I use script:
Code:
#!/bin/bash
wmctrl -s 1
Code:
#!/bin/bash
wmctrl -s 0
When i start script from desktop with browser, all ok, I am switched to xbmc.
When i start script from Xbmc --> Launcher --> script.sh, I am switched to browser, but i see him one second, and then appears xbmc.
If to start a script with a delay, and start xbmc
Quote:$ sleep 10 && wmctrl -s 0 &In 10 seconds xbmc it is switched to the browser, all ok.
$ xbmc
How switch virtual desktop from XBMC