ok, ich hab mal weiter rumgedocktert und bin auf etwas gestoßen,
http://wiki.unixboard.de/index.php/HowToualHead
ich habe nun meine xorg angepasst und jetzt habe ich zwar eine breite von 1400 auf dem laptop und 1280 auf dem tft, also wie es sein soll aber in der höhe haben beide 1050.... also wird dann im tft unten 26 pixel abgeschnitten
hier nochmal die xorg (wie bekomme ich die eigendlich in ein scrollbares fenster?
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Display 1" LeftOf "Display 2"
Screen "Display 2" 0 0
InputDevice "USBMouse" "CorePointer"
InputDevice "ALPS Touchpad" "AlwaysCore"
InputDevice "Laptop Keyboard" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "StandbyTime" "4"
Option "SuspendTime" "4"
Option "OffTime" "7"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/local/"
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "dri"
Load "glx"
Load "synaptics"
EndSection
Section "InputDevice"
Identifier "Laptop Keyboard"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbModel" "inspiron"
Option "XkbLayout" "de"
EndSection
Section "InputDevice"
Identifier "USBMouse"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons"
Option "ZAxisMapping" "4 5"
Option "CorePointer"
EndSection
Section "InputDevice"
Identifier "ALPS Touchpad"
Driver "synaptics"
Option "Protocol" "Auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "ZAxisMapping" "4 5"
Option "SHMConfig" "on"
Option "LeftEdge" "120"
Option "RightEdge" "910"
Option "TopEdge" "120"
Option "BottomEdge" "120"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxDoubleTapTime" "180"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "0"
Option "MinSpeed" "0.5"
Option "MaxSpeed" "9.5"
Option "AccelFactor" "0.06"
Option "EdgeMotionMinSpeed" "15"
Option "EdgeMotionMaxSpeed" "15"
Option "TouchpadOff" "0"
Option "GuestMouseOff" "1"
Option "RTCornerButton" "0"
Option "RBCornerButton" "2"
Option "LTCornerButton" "0"
Option "LBCornerButton" "0"
Option "PalmDetect" "1"
Option "PalmMinWidth" "10"
Option "PalmMinZ" "25"
EndSection
Section "Monitor"
Identifier "Display 1"
HorizSync 31.5 - 82.2
VertRefresh 40.0 - 160.0
Option "DPMS"
ModeLine "1400x1050" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -HSync +Vsync
EndSection
Section "Monitor"
Identifier "Display 2"
HorizSync 30-83
VertRefresh 56-75
Option "DPMS"
ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection
Section "Device"
Identifier "Card1"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Card2"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Display 2"
Device "Card2"
Monitor "Display 2"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Display 1"
Device "Card1"
Monitor "Display 1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
|
mein zweites problem was ich jetzt habe ist, dass ich, wenn ich das laptop zuklappe kein bild mehr habe....
das wird wohl an nem script liegen was ich mir damals geschrieben habe
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
# /etc/acpi/lidswitch.sh
# Re-activates the screen when the lid is opened again
LID_STATE="/proc/acpi/button/lid/LID/state"
LCD_STATE="/proc/acpi/video/VID/LCD/state"
VT_NR="/tmp/lid_vt"
if [ -e /tmp/acpi_sleep ]; then
rm /tmp/acpi_sleep
exit
fi
grep -q open $LID_STATE
if [ $? -eq 0 ]; then
#open the lid
radeontool light on
else
# closing the lid
# if X is running, we assume vt7.
radeontool light off
fi
|