LinHES Forums
http://forums.linhes.org/

XF86config questions.
http://forums.linhes.org/viewtopic.php?f=5&t=6094
Page 1 of 1

Author:  DonLKSAB [ Sun Sep 18, 2005 9:50 am ]
Post subject:  XF86config questions.

Hi all.

Got myself a new LCD TV.
So i have some questions.

I have one projector and one LCD TV.
The projector runs at 600x800 and the LCD TV 1280x768.
The projector is connected to the VGA out and the TV is connected with DVI.
I tryed clone mode with the nvidia drivers but that dident work at all :-)

So.
First i need to fix so that the LCD Tv is promary so myth and Xine runs in fullscreen.
I have been playing around with my XF86config-4 for some days now and there dosent seem to be a way to solve that.
Does anyone know how to do it?

And second.
Im looking for some script or something that can change what settings to use in the XF86config file and restart GDM.
So if i press the "button" it sets res to TV and changes what display should be primary. Then i can choose if i want to look at TV or Projector.
Anyone seen anything like this?

/DonLKSAB

Author:  ille [ Mon Sep 19, 2005 11:58 am ]
Post subject: 

Should not be to hard to make a script that fix your problem. Create two different XF86Config files i.e. XF86Config.lcd XF86Config.proj.

fix so myhttv can make a restart of gdm by editing (as root) /etc/sudoers to
Code:
ALL=NOPASSWD:/sbin/halt,/sbin/reboot,/bin/mount,/bin/umount,/usr/local/bin/mythbackup,/usr/local/bin/mythrestore,/etc/init.d/gdm


- Change XF86Config writeable by mythtv (as root)
Code:
# chmod a+w /etc/X11/XF86Config

Map two buttons in lirc, one with
config = cp /etc/X11/XF86Config.lcd /etc/X11/XF86Config; sudo /etc/init.d/gdm restart
and on more button with
config = cp /etc/X11/XF86Config.proj /etc/X11/XF86Config; sudo /etc/init.d/gdm restart

Ediit> I forgot to say that you should check your GU I width and height settings in myth. Set them to 0 to make myth use the screen size.

Author:  Girkers [ Mon Sep 19, 2005 8:07 pm ]
Post subject: 

DonLKSAB

What I think you are trying to achieve is totally possible, you should let us know which version of the nvidia driver you are using as this may help. From what I have read on this forum it is totally possible, using twinview.

Do a search for this term and you may turn up some more results. Even try nVidia's website as it has some good doco as well.

Author:  DonLKSAB [ Tue Dec 27, 2005 5:12 am ]
Post subject: 

ille wrote:
Should not be to hard to make a script that fix your problem. Create two different XF86Config files i.e. XF86Config.lcd XF86Config.proj.

fix so myhttv can make a restart of gdm by editing (as root) /etc/sudoers to
Code:
ALL=NOPASSWD:/sbin/halt,/sbin/reboot,/bin/mount,/bin/umount,/usr/local/bin/mythbackup,/usr/local/bin/mythrestore,/etc/init.d/gdm


- Change XF86Config writeable by mythtv (as root)
Code:
# chmod a+w /etc/X11/XF86Config

Map two buttons in lirc, one with
config = cp /etc/X11/XF86Config.lcd /etc/X11/XF86Config; sudo /etc/init.d/gdm restart
and on more button with
config = cp /etc/X11/XF86Config.proj /etc/X11/XF86Config; sudo /etc/init.d/gdm restart

Ediit> I forgot to say that you should check your GU I width and height settings in myth. Set them to 0 to make myth use the screen size.

This is what i want to do!!
Anyone know if its possible to do this whit the ATI kernel module?
Were should i put in the button mappings?

/DonLKSAB

Author:  ille [ Tue Dec 27, 2005 7:45 am ]
Post subject: 

/home/mythtv/.lircrc

And it may be better to make the script only use one button to swap between these modes.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/