Hi htpcero,
Sorry for the delayed reply - I've been pretty busy.
Your instructions worked perfectly. I had to do some minor xorg tweakery to get things right, but on the whole this helped me a bunch. The 'switchscreen' utility also made life a lot easier.
Thanks very much for sharing your approach to this problem.
- Gamogo
Gamogo
Junior Member Posts: 2 Joined: Jun 2009 Reputation: 0 |
2009-07-08 05:36
Post: #11
|
| find quote |
hieppo
Junior Member Posts: 2 Joined: Aug 2009 Reputation: 0 |
2009-08-30 20:44
Post: #12
Hi htpcero,
Thanks for all your hard work. I was able to set it up so that I can play XBMC on the second monitor/desktop. However, I have one question. Could you explain what the last 3 commands using switchscreen? There is no such utility in ubutu and the only one i google was the source code that I am not able to compile? Is there any other trick to allow the use of the monitor/desktop that is not being used by XBMC? Gamogo, could you tell me where you foudn switchscreen? Thanks |
| find quote |
htpcero
Member Posts: 82 Joined: May 2009 Reputation: 0 |
2009-08-30 21:14
Post: #13
hieppo Wrote:Hi htpcero, swtichscreen is a small utility that someone wrote specifically to allow scripts to force moving the mouse across different screens; it is described in this post: http://forum.xbmc.org/showpost.php?p=187906&postcount=8 and this is the link to the sourcecode: http://sampo.kapsi.fi/switchscreen/ compiling it is trivial - follow the instructions in the README file. |
| find quote |
htpcero
Member Posts: 82 Joined: May 2009 Reputation: 0 |
2010-06-17 04:40
Post: #14
htpcero Wrote:After trying different things for a couple of weeks I found a setup I can live with. I'll describe it below, my recommendation is -only try it if you are ready to spend time tuning your config, and you feel you are a somewhat skilled linux geek For those brave souls that installed XBMC on Ubuntu Lucid/10.04 fresh-install in a dual-screen desktop+TV install, and were wondering what happened with the olden-times /usr/bin/compiz "shell script" that ubuntu used to use - that script does not exist any more in Lucid. The nicest way I found to add the "--only-current-screen" startup option to compiz (without resorting to ugly ad-hoc scripts) in 10.04+ is as follows: sudo gedit /usr/share/applications/compiz.desktop replace the exec line ("Exec=compiz") with: Code: Exec=compiz --only-current-screenThe rest of the stuff is still working fine in Lucid - including screenswitcher and of course XBMC. Currently running Compiz on my LCD/Desktop, and Openbox on my TV hdmi output. Initially I just ran the default compiz in both LCD/desktop and TV however I noticed that all video (VDPAU and non-VDPAU) was showing a strange "tear" line in the middle of the TV display. Problem solved by running openbox on the TV screen.
(This post was last modified: 2010-06-17 04:44 by htpcero.)
|
| find quote |
odt_x
Senior Member Posts: 158 Joined: Jun 2010 Reputation: 1 |
2010-06-17 09:36
Post: #15
htpcero Wrote:For those brave souls that installed XBMC on Ubuntu Lucid/10.04 fresh-install in a dual-screen desktop+TV install, and were wondering what happened with the olden-times /usr/bin/compiz "shell script" that ubuntu used to use - that script does not exist any more in Lucid. Thanks! That's exactly the kind of information I was looking for yesterday, ie. where to put the --only-current-screen. Anyway, I had to do couple more things to get it work properly: 1) gconf-editor and change key /desktop/gnome/session/required_components/windowmanager=compiz 2) in /usr/share/applications/compiz.desktop also specify --display :0.0 Now I can see that the second display has no WM indeed. What options are there now to get rid of some more stuff on that display, ie. gnome panels/desktop backgrounds etc?
(This post was last modified: 2010-06-17 10:26 by odt_x.)
|
| find quote |
htpcero
Member Posts: 82 Joined: May 2009 Reputation: 0 |
2010-06-17 16:14
Post: #16
odt_x Wrote:Thanks! That's exactly the kind of information I was looking for yesterday, ie. where to put the --only-current-screen. Anyway, I had to do couple more things to get it work properly: In my case, I deleted the bottom panel and moved the application list to the top panel, then I made the top panel auto-hide. I launch xbmc with my own startup script that launches it in windowed mode, then uses wmctrl to maximize it. All this takes a fraction of a second on my desktop (using an ssd drive for the OS and apps) The background image in the second is the same as in the first, this seems to be a gnome limitation (not sure), however since I run xbmc on startup in that screen - maximized, the background does not bother me, since it is not visible. |
| find quote |
fab31
Junior Member Posts: 3 Joined: Jul 2010 Reputation: 0 |
2010-07-12 14:24
Post: #17
Here is my solution for displaying XBMC on secondary monitor without mouse stealing.
My two screens are : - Left: an LCD monitor (1920x1600). - Right: an Sony TV (1360x768). I configured the two monitors in nvidia drivers as twinview. So, the X server has a résolution of 3280x1600. I simply use devilspie to move XBMC windows on the secondary screen and remove windows decorations. Here is the devilspie configuration file (~/.devilspie/xbmc.ds) : Code: (ifThe geometry statement means that the windows is resized to 1360x768 (the secondary monitor resolution) and move to 1920x0 coordinates, just at the right of the primary monitor. Of course, I'll maybe have to customize these values depending on your monitors setup. And here is the XBMC launcher Code: #! /bin/bashIt works like a charm ! ![]() Hope this helps.
(This post was last modified: 2010-07-12 14:27 by fab31.)
|
| find quote |
DoctorDyna
Senior Member Posts: 116 Joined: Oct 2010 Reputation: 4 |
2012-12-23 14:33
Post: #18
Hey guys, gonna have to dig this one up again.
So, I've managed to get this working properly, with one minor caveat that I'd like to fix. It doesn't work with compiz. I'm running Mint 14. If I use the shell script it launches xbmc on the tv and gives me the mouse and keyboard back, however if I change from "Marco" to "Compiz" the script starts complaining about "winclass" and loops over and over. Anyone have any idea? |
| find quote |




Search
Help