4

I am trying to make gnome-mplayer play a video in fullscreen on my second screen. I am using a Nvidia card with xineramascreen. Below is my ~/.mplayer/config file.

[default]
xineramascreen=1

[gnome-mplayer]
ao=alsa:device=hw=1.0
msglevel=all=5
alang=English,eng,en
slang=English,eng,en
xineramascreen=1

The options have no affect, it plays on my primary screen as usual.

Running mplayer -xineramascreen 1 works perfectly, I just want gnome-mplayer to work since it's nicer to use with GUI and Nautilus integration etc.

Marco Ceppi
  • 47,783
  • 30
  • 172
  • 197
Markus Hedlund
  • 1,253
  • 2
  • 12
  • 15
  • Why are you using xinerama instead of twinview? I say that because I have your desired behaviour working here with twinview. As simple as dragging the window, going fullscreen and then future videos load up on that monitor. – Oli Aug 18 '10 at 18:29
  • I got confused, yes I am using twinview for my screen setup. Could please provide an answer how to automatically select what screen to play on, I'd be most delighted :) – Markus Hedlund Aug 18 '10 at 19:12
  • Sadly, it doesn't remember last position. – Markus Hedlund Aug 18 '10 at 20:54
  • Whoops. I'm using `gmplayer` from `mplayer-gui` not `gnome-mplayer`. Try that (if only to see if it works). – Oli Aug 18 '10 at 22:55
  • gmplayer remembered the position. Does gmplayer take normal mplayer options somehow? I honestly don't like gmplayer much, it always produces error messages, even when everything is working fine. – Markus Hedlund Aug 19 '10 at 07:20
  • Try `smplayer`, also available from the repositories, which supersedes the abandoned GUI in mplayer-gui. – loevborg Aug 19 '10 at 12:56

1 Answers1

2

When starting gnome-mplayer, you can try exporting the display: export DISPLAY=0.0; gnome-mplayer (change 0.0 to the desired display).

aperson
  • 1,038
  • 9
  • 15