[STICKY] XBMC :Full Screen Mode dual monitors

[STICKY] XBMC :Full Screen Mode dual monitors

Postby datek1 » Mon Sep 17, 2012 10:28 pm

Real simple to fix this problem below:

First > Open Terminal = Ctrl+Alt+Del > Run the Command Below !!!

Code: Select all
sudo apt-get install wmctrl



Now copy the >Script< below (in blue) and save to a text document. Now name the text document (xbmc.sh) Make the file executiable by checking the permissions box in properties. Now place this file in a folder and call it (Custom) and move to> Home. Now right click on Main Menu/Z-Button > edit > Sound and Video and uncheck the old XBMC Laucher ect. And create a new custom XBMC launcher > Browse to > home > custom > xbmc.sh for Command Shortcut. This will run your XBMC on a second display in fullscreen mode. Don't forget to run in the terminal first before proceediing = sudo apt-get install wmctrl


Code: Select all
#!/bin/bash

move_and_fullscreen(){
  NAME='XBMC Media Center'

  while [ -z "`wmctrl -l | grep \"$NAME\"`" ]
  do
      sleep 1
  done

  wmctrl -r "$NAME" -e '0,1280,-1,-1,-1'
  wmctrl -r "$NAME" -b toggle,fullscreen
}

move_and_fullscreen &
__GL_SYNC_TO_VBLANK=1 __GL_SYNC_DISPLAY_DEVICE=DFP-0 SDL_VIDEO_ALLOW_SCREENSAVER=0 exec xbmc
datek1
 

Re: XBMC :Full Screen Mode dual monitors

Postby Gizmuntu » Fri Jan 24, 2014 9:09 pm

Update to Datek's original thread.
Will work with Zorin OS 8 ! ! ! !
Gizmuntu
 

Re: [STICKY] XBMC :Full Screen Mode dual monitors

Postby Swarfendor437 » Sat Jan 25, 2014 12:17 am

HI Gizmuntu, Thought this deserved to be a [STICKY] so now at top of the list! 60 blue jewels to you sir! :D
https://vimeo.com/user15592214
https://trisquel.info/
https://www.opendesktop.org/member/257685/

Machine: ASUS X470-PRO, AMD Ryzen 7 1700X 8 Core, 16 Gb RAM, ZOTAC Geforce GT1030 (2 Gb)
User avatar
Swarfendor437
 
Posts: 10172
Joined: Wed Sep 18, 2013 5:51 pm

Return to How-tos and Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests