Gentoo Archives: gentoo-user-br

From: Fernando Antunes <fs.antunes@×××××.com>
To: gentoo-user-br@l.g.o, gentoo-user@l.g.o
Subject: [gentoo-user-br] xfce 4.6 dualhead
Date: Thu, 25 Jun 2009 17:39:03
Message-Id: 9065b8fe0906251039x39246d39me5f59e6c1fe0ae77@mail.gmail.com
1 Hi everyone.
2
3 Is there anyone using xfce 4.6 in a notebook, one card with internal LCD and
4 a external VGA connector or whatelse external connector, who had got desktop
5 and display programs in settings menu to work fine ? My desktop program only
6 shows me just one monitor and display shows me just one screen.
7
8 My intention is have two screens where a maximized program fits just in one
9 monitor and the xfce panel appears in just one monitor too. There is another
10 requisit, sometimes my VGA is plugged, sometimes not.
11
12 I don't have xinerama use flag enabled and have no intention to use it. I
13 had read a lot of dualhead configuration at gentoo wiki and other sites, but
14 they didn't work for me.
15 If you are a luck guy with a notebook as I described, please share your
16 xorg.conf and xrand comands with me.
17
18 Here is my xorg.conf :
19
20 Section "ServerLayout"
21 Identifier "padrao"
22 Screen 0 "Screen0" 0 0
23 EndSection
24
25 Section "Files"
26 FontPath "/usr/share/fonts/misc:unscaled"
27 FontPath "/usr/share/fonts/Type1"
28 FontPath "/usr/share/fonts/corefonts"
29 FontPath "/usr/share/fonts/freefonts"
30 FontPath "/usr/share/fonts/terminus"
31 FontPath "/usr/share/fonts/ttf-bitstream-vera"
32 FontPath "/usr/share/fonts/unifont"
33 FontPath "/usr/share/fonts/75dpi:unscaled"
34 FontPath "/usr/share/fonts/100dpi:unscaled"
35 FontPath "/usr/share/fonts/artwiz-aleczapka-en"
36 FontPath "/usr/share/fonts/liberation-fonts"
37 FontPath "/usr/share/fonts/cyrillic"
38 EndSection
39
40 Section "Module"
41 Load "xtrap"
42 EndSection
43
44 Section "Monitor"
45 Identifier "LCD"
46 VendorName "LEN"
47 ModelName "4031"
48 Option "DPMS"
49 EndSection
50
51 Section "Device"
52 Option "Tiling" "False"
53 Option "AccelMethod" "UXA"
54 Option "DRI" "true"
55 Identifier "Card0"
56 Driver "intel"
57 VendorName "Intel Corporation"
58 BoardName "Mobile Integrated Graphics Controller"
59 BusID "PCI:0:2:0"
60 EndSection
61
62 Section "dri"
63 Mode 0666
64 EndSection
65
66 Section "Extensions"
67 Option "Composite" "on"
68 EndSection
69
70 Section "Screen"
71 Identifier "Screen0"
72 Device "Card0"
73 Monitor "LCD"
74 DefaultDepth 24
75 SubSection "Display"
76 Viewport 0 0
77 Depth 24
78 Modes "1280x800" "1024x768" "800x600"
79 Virtual 1280 1568
80 EndSubSection
81 EndSection
82
83 My xranrd output :
84 #xrandr -q
85 Screen 0: minimum 320 x 200, current 1280 x 800, maximum 4096 x 4096
86 VGA connected 1024x768+0+0 (normal left inverted right x axis y axis) 304mm
87 x 228mm
88 1024x768 60.0*+ 75.0 70.1 60.0*
89 832x624 74.6
90 800x600 72.2 75.0 60.3 56.2
91 640x480 75.0 72.8 75.0 66.7 59.9
92 720x400 70.1
93 LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 303mm
94 x 190mm
95 1280x800 60.0*+ 50.0
96 1024x768 85.0 75.0 70.1 60.0
97 832x624 74.6
98 800x600 85.1 72.2 75.0 60.3 56.2
99 640x480 85.0 72.8 75.0 59.9
100 720x400 85.0
101 640x400 85.1
102 640x350 85.1
103 TMDS-1 disconnected (normal left inverted right x axis y axis)
104
105 Nowadays I'm using this command to active the VGA monitor, but the result
106 is a big screen with a lot of programs doesn't work well.
107
108 xrandr --output LVDS --mode 1280x800
109 xrandr --output VGA --mode 1024x768 --above LVDS
110
111 and this to deactive VGA
112
113 xrandr --output LVDS --mode 1280x800
114 xrandr --output VGA --mode 1024x768 --same-as LVDS