You are not logged in.
My window manager is xmonad. I have a laptop (primary display) with a 1280x800 resolution and a external monitor (secondary display) with a 1280x1024 resolution. I get dual display working great in Windows XP but when I plug in the monitor to the laptop and boot up Arch Linux, I get a 1024x768 screen resolution on both monitors and they are both showing the same thing. How can I set up each monitor with xinerama to run at native resolution and show different workspaces?
Edit: After some research I found you need to multiple graphics cards to get xinerama working. Is there any other method I can use to get a multi-head setup?
Last edited by zowki (2009-11-22 15:10:13)
How's my programming? Call 1-800-DEV-NULL
Offline
I would probably suggest Xrandr. some of the benefits include being able to change your screen configuration on the fly. for my laptop I've written a couple aliases for when I'm using my laptop with a second monitor, alone, or hooked up to a projector for presentations. you can also configure xrandr settings in your .xinitrc or xorg.conf.
here's a link: http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
Hofstadter's Law:
It always takes longer than you expect, even when you take into account Hofstadter's Law.
Offline
Like he said, xrandr is probably best for you on a laptop where you might be disconnecting and reconnecting and doing who knows what. I have no real experience with it though.
I am pretty sure you don't necessarily need multiple cards for Xinerama. Multiple card entries in the xorg.conf for a single card with multiple outputs looks something like this (at least on my nvidia):
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GT"
Option "NoLogo" "True"
BusID "PCI:2:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GT"
Option "NoLogo" "True"
BusID "PCI:2:0:0"
Screen 1
EndSectionxrandr is probably the best way to do what you want though, so I would try it.
To understand recursion, you must understand recursion.
Offline
Edit: After some research I found you need to multiple graphics cards to get xinerama working. Is there any other method I can use to get a multi-head setup?
That is false. All you needed to research was the Wikipedia article on Xinerama. I wrote a small guide for awesome users a while back which covers XRandR, TwinView and Xinerama. Maybe it will help you: Using Multiple Screens.
You need to install an RTFM interface.
Offline
My window manager is xmonad. I have a laptop (primary display) with a 1280x800 resolution and a external monitor (secondary display) with a 1280x1024 resolution. I get dual display working great in Windows XP but when I plug in the monitor to the laptop and boot up Arch Linux, I get a 1024x768 screen resolution on both monitors and they are both showing the same thing. How can I set up each monitor with xinerama to run at native resolution and show different workspaces?
Edit: After some research I found you need to multiple graphics cards to get xinerama working. Is there any other method I can use to get a multi-head setup?
Wich video card do you have? With nvidia i use TwinView because it works nice with XMonad else just use xrandr if the resolution is not your natieve one the card cant rpboaly spawn a bigger one
Offline
I have Intel 915GM graphics. I'm going to try out xrandr and see if it works.
Edit: xrandr did the trick for awesome wm but not for xmonad. In xmonad I can't control the workspace being displayed on the laptop screen, it always shows the last workspace I switched from. xmobar does not extend to the laptop screen either.
Heres what I did:
xrandr --output VGA1 --mode 1280x1024 --left-of LVDS1Last edited by zowki (2009-11-22 17:46:52)
How's my programming? Call 1-800-DEV-NULL
Offline
I decided not to bother with xmonad and use awesome wm instead. So this is kind of solved.
Last edited by zowki (2009-11-23 09:13:15)
How's my programming? Call 1-800-DEV-NULL
Offline