You are not logged in.

#1 2012-03-08 22:24:58

johannesg00
Member
Registered: 2010-11-30
Posts: 74

XBMC on second screen

Hey,

i would like to run XBMC on my second screen, but i don't know how it works.
I have an Intel HD 3000.
At the moment i configured the second screen next to my normal desktop with the KDE Settings Tool.
Do i have to run a second x server?
Thank you smile

Offline

#2 2012-03-08 22:33:28

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: XBMC on second screen

If you type:

$ echo $DISPLAY

In a terminal, it will give back the id of the current display you are using. Prefixing that before a command will send the output of that command to a specific display. For instance:

$ DISPLAY=":0.0" xbmc

Will run the command on the first screen of the first server. Using:

$ DISPLAY=":0.1" <mycommand>

Will run it on the second screen of the first server.

Last edited by litemotiv (2012-03-08 22:35:27)


ᶘ ᵒᴥᵒᶅ

Offline

#3 2012-03-08 22:42:37

johannesg00
Member
Registered: 2010-11-30
Posts: 74

Re: XBMC on second screen

Thanks for your reply, but this dosn't work...

[johannes@archlinux ~]$ echo $DISPLAY
:0
[johannes@archlinux ~]$ DISPLAY=":0.0" xbmc

[johannes@archlinux ~]$ DISPLAY=":0.1" xbmc
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
Error: unable to open display :0.1

[johannes@archlinux ~]$ DISPLAY=":0.2" xbmc
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
Error: unable to open display :0.2

[johannes@archlinux ~]$ DISPLAY=":1" xbmc
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
Error: unable to open display :1

Offline

#4 2012-03-08 22:58:28

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: XBMC on second screen

Hmm i don't use KDE, perhaps it configures both screens as one single big screen. Is there a setting perhaps that allows both monitors to be used separately? I also see that KDE has an environment setting named KDE_DISPLAY, you could look what that is set to on both screens.

But perhaps a workaround like this would be an option for you too:

http://forums.opensuse.org/english/get- … ost2118496

Last edited by litemotiv (2012-03-08 22:59:01)


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB