You are not logged in.
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 ![]()
Offline
If you type:
$ echo $DISPLAYIn 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" xbmcWill 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
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 :1Offline
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