You are not logged in.
Hi all,
I have following command lines (i use for setup dual-head and it's in .xinitrc that's called by slim):
xrandr --output DVI-0 --mode 1280x1024
xrandr --output VGA-0 --mode 1366x768
xrandr --output VGA-0 --left-of DVI-0
It's setup a dual-head configuration, i can move windows of one monitor to other, use browser in one while watch movie in other, etc...
but i want to do this on xorg.conf, why ?
* I use awesome (work perfect), MATE (working, but setting in mate-control-center, not in .xinitrc), GNOME (problem, problem, and more problem, if i set in gnome-control-center, i'll explain more about this)
* I want to it be system-wide, and Display Manager independent.
More about setting in gnome-control-center:
VGA-0: 1024x768 DVI-0: 1024x768 (so working)
VGA-0: 1366x768 DVI-0: 2048x1024 (terrible, impossible to use, stained yellow)
Then, someone can make or help me to make a xorg.conf ?
PS: i've tried already made by myself, but no success
Last edited by hotvic (2013-04-24 23:39:08)
Offline
https://wiki.archlinux.org/index.php/Du … .conf_file
If you really need help, gives us a bit more to work with than 'no success' (what did you do? what is the (unsatisfactory) result?).
Offline
also xorg.conf is deprecated. Monitor settings usually go into 10-monitor.conf
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I've tried this: http://pastebin.com/c0q8GMyh
and other modes (using two Device sections, or using xinerama), the 'no success' mean X start with VGA-0 in 1024x768 mode (no 1366x768 avaliable), and screens are mirrored.
Offline
For awesome, I just have a key command coded into my rc.lua for when I have an external monitor setup. You could store the command in rc.lua so that you don't have to type it everytime. Of course, you can do this for just about any WM/DE.
It seems that VGA-0 and DVI-0 are on the same card, but having it on different cards, doesn't want to cooperate quite so well.
I also have the keycode set so that I can switch the order the monitors are in relation to each other.
Last edited by nomorewindows (2013-04-24 20:12:04)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Inxsible
i know this, but put all xorg.conf is more simple for test, after working in xorg.conf i'll put it in 10-monitor.conf
nomorewindows
when i using awesome all work perfect, really problem is in GNOME, mate work quite well, then i want to do this in system-wide to work well in all WM/DE
Yes, VGA-0 and DVI-0 are same card, a Radeon 9600
Last edited by hotvic (2013-04-24 20:15:27)
Offline
You can put that all on one line.
xrandr --output VGA-0 --mode 1366x768 --output DVI-0 --mode 1280x1024 --right-of/--left-of VGA-0/DVI-0
And in your xorg.conf line, you just tell one monitor to be to the left/right of the other one. Or I forget which section of xorg.conf it is, but you actually put option left-of/right-of VGA-0/DVI-0
Last edited by nomorewindows (2013-04-24 20:17:11)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
When i put all in one line X crash completly...
Offline
I don't know about those radeons, they work dual monitor in Windows just fine, but to do it in Linux, it doesn't want to do it for some reason. All the graphics are corrupted and such.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I modified my xorg.conf, now i get two monitors working, like i want, except for one thing resolution of VGA-0, VGA-0 alway start in 1024x768, but DVI-0 is correct 2048x1024.
% xrandr
Screen 0: minimum 320 x 200, current 2304 x 1024, maximum 4096 x 4096
VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1024x768 75.1* 72.0 70.1
832x624 74.6
DVI-0 connected 1280x1024+1024+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+ 75.0
1280x960 60.0
1152x864 75.0
1024x768 75.1 70.1
832x624 74.6
S-video disconnected (normal left inverted right x axis y axis)
here is xorg.conf: http://pastebin.com/dM7ZUy0Q
have tried with Modeline also, but it alway start with 1024x768...
Offline
also xorg.conf is deprecated. Monitor settings usually go into 10-monitor.conf
There is no difference if you put the stuff into xorg.conf or 10-monitor.conf. xorg.conf is not deprecated, it was specifically part of the design when they were implementing split config files. It's the equivalent of 99-something.conf in that it is read last.
Also, I consider putting xrandr commands into .xinitrc a hack, xorg.conf (or equivalent in xorg.conf.d/) being a proper solution.
@hotvic: What Raynman linked to is 100% correct, you need two simple Monitor sections and that's it.
Offline
Gusar
like i say in #10 all are working right now, except resolution of VGA-0
Offline
My point was that using the simple proper solution, instead of that crazy file you have now, might fix your problem.
Offline
Gusar and Raynman
Thanks, Thanks, and Thanks!!
Worked! running fine now
This is so simple that it seems that will not work, but works perfectly.
My xorg.conf now: http://pastebin.com/6eMARBpN
Thanks to everyone else who responded also.
Sorry my bad English, I'm Brazilian
Offline