2014-08-19, 21:48
(2014-08-19, 21:24)fritsch Wrote: All fine so far - no idea.
I have find a solution but it looks ugly to me. If I run the script with the following code, xbmc will start on the second monitor:
#!/bin/bash
xbmc &
while [ -z "`wmctrl -l | grep \"XBMC Media Center\"`" ]
do
sleep 1
done
wmctrl -r "XBMC Media Center" -b add,fullscreen
wmctrl -r "XBMC Media Center" -b remove,fullscreen
wmctrl -r "XBMC Media Center" -b remove,maximized_vert
wmctrl -r "XBMC Media Center" -b remove,maximized_horz
wmctrl -r "XBMC Media Center" -e '0,-1,-1,800,600'
wmctrl -r "XBMC Media Center" -e '10,1920,0,-1,-1'
wmctrl -r "XBMC Media Center" -b add,fullscreen
I hope this will help to someone.
Furthermore, I have noticed that if I want to drag an louncher icon from the first monitor to the second, when I drop it, the icon flies back to the first monitor.