|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Sample Configuration Files Copies of commonly used configuration files in SUSE Linux
(Moderated - Please do not post questions here) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
This is mine xorg.conf with 2 screen support (one crt and one tv) on one Xserver.
So you can easy launch e.g. a movie on the second screen with: Code:
DISPLAY=:0.1 mplayer movie.avi Code:
[Desktop Entry] Actions=PlayOnTV Encoding=UTF-8 ServiceTypes=video/* [Desktop Action PlayOnTV] Exec=DISPLAY=:0.1 mplayer -fs %F Name=Play this movie on TV Icon=yast_tv Code:
# ********************************************************************** # This loads the Type1 and FreeType font modules # ********************************************************************** KNIP # ********************************************************************** # Files section. *This allows default font and rgb paths to be set # ********************************************************************** KNIP # ********************************************************************** # Section ServerFlags # ********************************************************************** Section "ServerFlags" *Option * * * "AllowMouseOpenFail" EndSection # ********************************************************************** # Core keyboard's InputDevice section # ********************************************************************** Section "InputDevice" * *Driver * * * "keyboard" * *Identifier * "Keyboard[0]" * *Option * * * "Protocol" "Standard" * *Option * * * "XkbLayout" "us" * *Option * * * "XkbModel" "pc104" * *Option * * * "XkbRules" "xfree86" EndSection # ********************************************************************** # Core Pointer's InputDevice section # ********************************************************************** # Mouse is a Logitech premium optical wheelmouse Section "InputDevice" * *Driver * * * "mouse" * *Identifier * "Mouse[1]" * *Option * * * "Buttons" "5" * *Option * * * "Device" "/dev/input/mice" * *Option * * * "Name" "Autodetection" * *Option * * * "Protocol" "imps/2" * *Option * * * "Vendor" "Sysp" * *Option * * * "ZAxisMapping" "4 5" EndSection # ********************************************************************** # Monitor section # ********************************************************************** Section "Monitor" * *DisplaySize *320 240 * *HorizSync * *28-85 * *Identifier * "Monitor[0]" * *ModelName * *"V700" * *Option * * * "DPMS" * *VendorName * "COMPAQ" * *VertRefresh *50-160 * *UseModes * * "Modes[0]" EndSection Section "Monitor" * *Identifier "TV" * *HorizSync 60 * *VertRefresh 30-150 EndSection # ********************************************************************** # Graphics device section # ********************************************************************** Section "Device" * *BoardName * * "GeForce4 GTS" * *BusID * * * * "1:0:0" * *Driver * * * *"nvidia" * *Identifier * *"nvidia0" * *VendorName * *"NVidia" * *Screen * * * *0 * *Option * * * *"NvAGP" "2" EndSection Section "Device" * *BoardName * * "GeForce4 GTS" * *BusId * * * * "1:0:0" * *Driver * * * *"nvidia" * *Identifier * *"nvidia1" * *VendorName * *"NVidia" * *Screen * * * *1 * *Option * * * *"NvAGP" "2" * *Option "ConnectedMonitor" "CRT, TV" EndSection # ********************************************************************** # Screen sections # ********************************************************************** Section "Screen" * *Identifier *"Screen0" * *Device * * *"nvidia0" * *Monitor * * "Monitor[0]" * *DefaultDepth 24 * *Subsection "Display" * * * *Depth * * * 24 * * * *Modes * * * "1280x1024" "1152x864" "1024x768" "800x600" "640x480" * *EndSubsection EndSection Section "Screen" * *Identifier *"Screen TV" * *Device * * *"nvidia1" * *Monitor * * "TV" * *Option *"TVStandard" * *"PAL-B" * *Option *"TVOutFormat" * "SVIDEO" * *DefaultDepth 24 * *Subsection "Display" * * * *Depth * * * 24 * * * *Modes * * *"800x600" * * * *ViewPort *0 0 * *EndSubsection EndSection # ********************************************************************** # ServerLayout sections. # ********************************************************************** Section "ServerLayout" * *Identifier * "Simple Layout" * *Screen 0 "Screen0" 0 0 * *Screen 1 "Screen TV" leftof "Screen0" * *InputDevice *"Keyboard[0]" "CoreKeyboard" * *InputDevice *"Mouse[1]" "CorePointer" EndSection # ********************************************************************** # DRI section. # ********************************************************************** Section "DRI" * Group * * *"video" * Mode * * * 0660 EndSection # ********************************************************************** # The End # ********************************************************************** Download a font package (I use in this example the "Arial - Western (ISO 8859-1) (4 sizes)" package)and install it by: tar -jxvf font-arial-iso-8859-1.tar.bz2 cd font-arial-iso-8859-1 cp -r font* /usr/local/share/mplayer/font (as root for system wide) cd ~/.mplayer e.g. (font choice) ln -s /usr/local/share/mplayer/font/font-arial-28-iso-8859-1 font You should now have big :blink: subtitles. |
|
|||
|
This is exactly what I'm looking to do except my configuration needs to be slightly different and I can't seem to get it to work.
1) I'm using XGL which means I need to clone my screen instead of it being "LeftOf" because when my mouse goes to the left of the screen, it goes to the TV instead of the desktop to the left of the current. 2) when using TV-Out on my card, the display on the consoles (Ctrl-Alt-F1-F6) get all garbled and are completely unreadable, I'm not sure what causes this but It'd be really nice to figure it out. So, if someone could give me some suggestions on how to configure the above xorg.conf to clone instead of being LeftOf that'd be great and any advice on keeping the integrity of the consoles would be extra helpful. Thanks Doc here is a photo of what my consoles look like when using TV-Out:
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|