You are not logged in.

#1 2013-06-05 10:16:49

Elderry
Member
Registered: 2012-12-22
Posts: 4

Why my xorg's config doesn't work?

I'm using gnome under Arch Linux in my laptop with a 1920*1080 monitor on the left of it, I set the monitor as my primary display in GNOME and everything works fine after I log in. However, GDM displays my log-in dialogue on my lap-top screen every time, and I noticed that my monitor was set defaultly on the right side of my laptop. I searched and found someone said mouse's position may have effect, which did not work on me. Then I add a new file tring to configure xorg:
Here is the my condition under Gnome:

xrandr -q
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192
VGA1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080      60.0*+
   1680x1050      60.0  
   1280x1024      60.0  
   1280x800       59.8  
   1280x720       60.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
LVDS1 connected 1366x768+1920+146 (normal left inverted right x axis y axis) 0mm x 0mm
   1366x768       60.2*+
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

Here is my conf:

/etc/X11/xorg.conf
Section "ServerLayout"
	Identifier	"Layout0"
	Screen	"Screen0"
	Screen	"Screen1"
EndSection

Section "Monitor"
	Identifier   "VGA1"
	Option  "Primary"   "true"
	Option	"PreferredMode" "1920x1080"
    Option	"Position" "0 0"
EndSection

Section "Monitor"
	Identifier   "LVDS1"
	Option	"PreferredMode" "1366x768"
    Option	"Position" "1920 146"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Monitor	"LVDS1"
EndSection

Section "Screen"
	Identifier	"Screen1"
	Monitor	"VGA1"
EndSection

And this snippet may help:

/var/log/Xorg.0.log
[    15.177] (==) Using config file: "/etc/X11/xorg.conf"
 18 [    15.177] (==) Using config directory: "/etc/X11/xorg.conf.d"
 19 [    15.227] (==) ServerLayout "Layout0"
 20 [    15.227] (**) |-->Screen "Screen0" (0)
 21 [    15.227] (**) |   |-->Monitor "LVDS1"
 22 [    15.256] (**) |-->Screen "Screen1" (1)
 23 [    15.256] (**) |   |-->Monitor "VGA1"
 24 [    15.256] (==) Automatically adding devices
 25 [    15.256] (==) Automatically enabling devices
 26 [    15.256] (==) Automatically adding GPU devices

After all, nothing happened, my laptop is still my primary screen on the wrong side. What should I do for now?

Last edited by Elderry (2013-06-21 12:35:57)

Offline

#2 2013-06-06 02:52:56

oboenerd
Member
From: Right behind you.
Registered: 2012-08-15
Posts: 52

Re: Why my xorg's config doesn't work?

Can I see your /var/log/Xorg.0.log through Pastebin?


"I quoted myself." -oboenerd

Offline

Board footer

Powered by FluxBB