Hi everyone. I wonder if you can help. I running XBMC on ubuntu 12.04 with gnome-panel. When I open up xbmc in windowed mode everything works fine, brilliantly in fact, except the panel and title bar is still visible at the top which is a little distracting.
So I thought I'd switch to fullscreen mode. The problem is, I have two monitors (one 16:9 and a 4:3) and when XBMC displays in fullscreen it spans the output across the two monitors. So half appears on one monitor, and the other half appears on the other. It's been like this as long as I can remember testing XBMC on ubuntu. Is there any way to make it just appear on my right hand 16:9 monitor?
Any help would me much appreciated.
Linux Fullscreen strecthing across both monitors
swiftoid
Junior Member Posts: 25 Joined: Oct 2011 Reputation: 0 |
2012-04-27 10:51
Post: #1
|
| find quote |
swiftoid
Junior Member Posts: 25 Joined: Oct 2011 Reputation: 0 |
2012-04-27 11:04
Post: #2
Update: If I disable my second monitor before opening XBMC it works ok. But it's a pain to have to do it every time, their must be another way.
|
| find quote |
swiftoid
Junior Member Posts: 25 Joined: Oct 2011 Reputation: 0 |
2012-04-27 17:31
Post: #3
Any ideas?
|
| find quote |
rocker2344
Junior Member Posts: 8 Joined: May 2011 Reputation: 0 |
2012-04-27 20:16
Post: #4
i had this same issue aswell and i have an nvidia card
run Code: sudo apt-get install wmctrland in it put Code: #!/bin/bashand run xbmc.sh (click twice) use your "\" to switch between 2 monitor full screen/left monitor windowed/left monitor full screen/right monitor windowed/right monitor fullscreen all credit goes to this man http://wojnickitech.blogspot.com/2011/01...nview.html |
| find quote |
swiftoid
Junior Member Posts: 25 Joined: Oct 2011 Reputation: 0 |
2012-04-27 20:21
Post: #5
Amazing! Thank you so much! Worked first time.
|
| find quote |
rocker2344
Junior Member Posts: 8 Joined: May 2011 Reputation: 0 |
2012-04-27 20:22
Post: #6
no prob
|
| find quote |
swiftoid
Junior Member Posts: 25 Joined: Oct 2011 Reputation: 0 |
2012-04-27 20:25
Post: #7
Another question, how put that script in my main menu, to replace the normal xbmc icon?
|
| find quote |
rocker2344
Junior Member Posts: 8 Joined: May 2011 Reputation: 0 |
2012-04-27 20:56
Post: #8
in termnial
Code: sudo mv /usr/share/applications/xbmc.desktop ~/.local/share/applications/Exec=xbmc to Code: Exec=/home/<user>/.local/share/bin/xbmc.shnow you have an icon (this icon will only show in your side) if you want for all users (do as sudo) place xbmc.sh into NOTE=>Name it diffrent from xbmc (maybe xbmc_dual_screen_fix or something JUST NOT PLAIN XBMC) Code: /usr/share/binCode: /usr/share/applications |
| find quote |
swiftoid
Junior Member Posts: 25 Joined: Oct 2011 Reputation: 0 |
2012-04-27 23:21
Post: #9
Thanks again. I don't have a /usr/share/bin so I put it in /usr/bin (duno if that's strictly linux fs safe or not), and I had to change exec to xmbc_dual_screen_fix.sh (notice the .sh), but it all works. Thanks so much.
I do wish that xbmc did this on it's own mind you, instead of having to hack it like this. |
| find quote |
bastafidli
Junior Member Posts: 2 Joined: Oct 2012 Reputation: 0 |
Hi,
I had the same exact problem on my system with ATI Radeon/AMD Radeon and fglrx/Catalyst driver on CentOS 6.3. I have primary 4:3 monitor running 1280x1024 and secondary 16:9 TV runnin 1920x1080. I am spanning these using Xinerama. With or without Xinerama XBMC detected always only 1 screen and the only options I had were Full Screen #1 (no #2 was available ever) and Windowed. When running in full screen mode the XBMC always opened only on the 4:3 display. When running in windowed mode, I was able to maximize the window on the secondary screen but it had title bar. With the help of this thread and some others I was able to come up with script which moves XBMC on the secondary screen and disables/hides the titlebar. I wasn't able to use wmctrl toggle fullscreen since every time I did that, XBMC moved to my primary 4:3 screen. The solution is actually two scripts. The first script is to turn on and off the title bar for the active window File window-toggle-decorations.py Code: #! /usr/bin/python2The second script is to launch XBMC, position it on secondary screen and toggle the title bar. You have to toggle the decoration twice to actually turn it off. I had to also call the window positioning multiple times, since it doesn't always succeeds on the first or second try. File xbmcfull.sh Code: #!/bin/bashHope this helps somebody.
(This post was last modified: 2012-10-03 16:49 by bastafidli.)
|
| find quote |

Search
Help