You are not logged in.
Pages: 1
<scream of frustration>
Is there anyone here who managed to get T42 external display working properly and Fn+F7 working?...
My situation is:
1. Running /etc/acpi/actions/switchdisplay.sh works, but both displays get same resolution, so one of them looks ugly (laptop is 1024x768 and external is 1280x1024).
2. Fn+F7 doesn't work.
3. Is there any way to extend display (dual screen setup), and not only copy output?
4. With compiz external display is not stretched, but with openbox all fine. I guess it's compiz problem, so not critical.
The card is Radeon 7500 Mobile and fglrx doesn't support it.
Thanks!
Section "ServerLayout"
Identifier "Xorg Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
InputDevice "USB Mouse" "CorePointer"
Option "AIGLX" "true"
InputDevice "Touchpad" "SendCoreEvents"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
FontPath "/usr/share/fonts/cyrillic"
# FontPath "/usr/share/lib/X11/fonts/latin2/75dpi"
# FontPath "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/share/fonts/defoma/CID"
FontPath "/usr/share/fonts/defoma/TrueType"
EndSection
Section "Module"
Load "dbe"
Load "ddc" # ddc probing of monitor
Load "dri"
Load "extmod"
Load "glx"
Load "bitmap" # bitmap-fonts
Load "type1"
Load "freetype"
Load "record"
Load "synaptics"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,il,ru"
Option "XkbVariant" ""
Option "XkbOptions" "grp:shifts_toggle"
EndSection
Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "EmulateWheelTimeOut" "200
EndSection
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
Option "VertTwoFingerScroll" "1"
Option "HorizTwoFingerScroll" "1"
EndSection
Section "Device"
Identifier "ATI RADEON 7500"
Driver "radeon"
VendorName "All"
BoardName "All"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "RenderAccel" "on"
Option "MonitorLayout" "LVDS,NONE"
Option "ColorTiling" "on"
Option "AllowGLXWithComposite" "true"
Option "EnablePageFlip" "on"
Option "DRI" "true"
Option "XAANoOffscreenPixmaps" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI RADEON 7500"
Monitor "Monitor0"
DefaultDepth 24
Option "XAANoOffscreenPixmaps" "true"
Option "AddARGBGLXVisuals" "On"
Option "DisableGLXRootClipping" "true"
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group "video"
Mode 0666
EndSection
Offline
I have the same model and use it frequently with an external monitor here's the relevant part of my xorg.conf and a script using xrandr to switch between different modes (laptop display only, laptop hooked to a beamer cloning the image, laptop hooked to a lcd display with 1280x768 extending the display)
Section "Device"
Identifier "ATI_R100"
Driver "ati"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI_R100"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 2305 1792
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default"
Screen "Default Screen"
InputDevice "Keyboard_Laptop" "CoreKeyboard"
InputDevice "Touchpad" "CorePointer"
InputDevice "Stick" "SendCoreEvents"
EndSection
I'm not sure the Virtual line is needed any more but at the time it was I think. IIRC the resolution stated in the Virtual line is the maximum the chipset can output.
#!/bin/sh
case "$1" in
solo)
xrandr --output VGA-0 --off --output LVDS --mode 1024x768
;;
beamer)
xrandr --output VGA-0 --mode 1024x768 --same-as LVDS --output LVDS --mode 1024x768
;;
dual)
xrandr --output VGA-0 --mode 1280x1024 --pos 0x0 --left-of LVDS --output LVDS --mode 1024x768 --right-of VGA-0
;;
*)
echo "Usage ./setdisplay.sh solo|beamer|dual"
exit 1
;;
esac
exit 0
The script above simply uses xrandr to set the correct resolutions and output modes. Sometimes I have to first issue the solo command before it can correctly switch to dual.
Offline
Thanks, that works fine! No need in "Virtual" line.
But did you manage to bind it to Fn+F7? Then it's possible to upgrade the script to loop through the states.
Offline
I never tried but as I can issue any command I want when pressing the keys that should be possible by calling a script that as you said just switches through the states.
Offline
Pages: 1