unable to set mythfrontend to autorun on secondary display

Bug #217974 reported by Ben Franske
2
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: mythtv

This is a bug in 8.04 see the discussion thread at http://ubuntuforums.org/showthread.php?p=4724373 for more information.

I run my Mythbuntu system with dual monitors (well the second is the PVR-350 framebuffer on a TV). In any event I've configured X so that screen 0 is the PC monitor and screen 1 is the TV. I'd like to have mythfrontend run on system startup but load on screen 1 instead of screen 0. I can do this manually by closing mythfrontend and opening a terminal where I "export DISPLAY=:0.1" and the run mythfrontend but I'd like this to run automatically.

You should be able to edit /etc/mythtv/session-settings and set MYTHFRONTEND_OPTS="-display :0.1"

This does not work, when I try that I get an error about the option being incorrect. There is a bug in the mythfrontend service script that causes the options set in session-settings to be passed as a unit instead of multiple words.

To fix:
edit /usr/share/mythtv/mythfrontend.sh
change:
exec /usr/bin/mythfrontend.real "$@"
to:
exec /usr/bin/mythfrontend.real $@

Once this change is made editing /etc/mythtv/session-settings and setting MYTHFRONTEND_OPTS="-display :0.1" works as it should.

Revision history for this message
laga (laga) wrote :

Thanks for catching this bug! It's also been brought to our attention in ticket #217974. I'll be marking this ticket as a duplicate of #217974.

Have a great day,

Michael

Revision history for this message
laga (laga) wrote :

Of course, I meant to say this is a duplicate of #212604. Oops. :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.