telling xmonad that apparently huge screen == 2 screens

Hi everyone, I am wondering if I can tell xmonad that what Xorg reports as a strangely wide 2560x1024 screen is in reality two physical 1280x1024 screens. (I am using a Matrox Dualhead2go, which emulates a very wide screen and then divides that signal onto two separate screens.) Can I tell xmonad what the real screen sizes are, so that maximization and, more generally, screen space management occurs at the correct level (ie, at the level of each 1280x1024 physical screen, rather than maximizing to take over the entire width of my monitor setup!). Can this be done? I used to be able to do this at the Xorg level when I was using a nvidia video card (using an option called "TwinViewXineramaInfoOveride"), but my new machine has Intel graphics and they don't seem to support this kind of magic... Can I solve it within xmonad? Many thanks for any help! ~lara

Hi all! I'm interested in a solution too, as my Sunray reports its two screens also as one large widescreen (3200x1200 in my case). regards, Stephan Lara Michaels wrote:
Hi everyone,
I am wondering if I can tell xmonad that what Xorg reports as a strangely wide 2560x1024 screen is in reality two physical 1280x1024 screens. (I am using a Matrox Dualhead2go, which emulates a very wide screen and then divides that signal onto two separate screens.)
Can I tell xmonad what the real screen sizes are, so that maximization and, more generally, screen space management occurs at the correct level (ie, at the level of each 1280x1024 physical screen, rather than maximizing to take over the entire width of my monitor setup!).
Can this be done? I used to be able to do this at the Xorg level when I was using a nvidia video card (using an option called "TwinViewXineramaInfoOveride"), but my new machine has Intel graphics and they don't seem to support this kind of magic... Can I solve it within xmonad?
Many thanks for any help!
~lara
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Hi. Have a look at:
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-LayoutScreens.htm...
That one should work fine for you, unless you have a third screen that
is detected correctly. For that scenario it i possible to make it work
also, but not so nicely.
It will work for all apps that are managed by xmonad, but some other
may still misbehave. For example if you try to use dmenu with the
xinerama patch, I think it will try to use both screens as one single.
Since it is only xmonad that is aware of your split.
Maybe I should actually start commiting all those changes I made...
Since that is one of them, allowing you to make the split on the
current screen, and not all screens.
Good luck.
On Wed, Mar 3, 2010 at 09:36, Stephan Schulz
Hi all!
I'm interested in a solution too, as my Sunray reports its two screens also as one large widescreen (3200x1200 in my case).
regards, Stephan
Lara Michaels wrote:
Hi everyone,
I am wondering if I can tell xmonad that what Xorg reports as a strangely wide 2560x1024 screen is in reality two physical 1280x1024 screens. (I am using a Matrox Dualhead2go, which emulates a very wide screen and then divides that signal onto two separate screens.)
Can I tell xmonad what the real screen sizes are, so that maximization and, more generally, screen space management occurs at the correct level (ie, at the level of each 1280x1024 physical screen, rather than maximizing to take over the entire width of my monitor setup!).
Can this be done? I used to be able to do this at the Xorg level when I was using a nvidia video card (using an option called "TwinViewXineramaInfoOveride"), but my new machine has Intel graphics and they don't seem to support this kind of magic... Can I solve it within xmonad?
Many thanks for any help!
~lara
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Hi Anders,
Many thanks, will try that out!
l
--- On Wed, 3/3/10, Anders Engström
From: Anders Engström
Subject: Re: [xmonad] telling xmonad that apparently huge screen == 2 screens To: "Stephan Schulz" Cc: xmonad@haskell.org Date: Wednesday, March 3, 2010, 9:56 AM Hi. Have a look at: http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-LayoutScreens.htm... That one should work fine for you, unless you have a third screen that is detected correctly. For that scenario it i possible to make it work also, but not so nicely.
It will work for all apps that are managed by xmonad, but some other may still misbehave. For example if you try to use dmenu with the xinerama patch, I think it will try to use both screens as one single. Since it is only xmonad that is aware of your split.
Maybe I should actually start commiting all those changes I made... Since that is one of them, allowing you to make the split on the current screen, and not all screens.
Good luck.
Hi all!
I'm interested in a solution too, as my Sunray reports its two screens also as one large widescreen (3200x1200 in my case).
regards, Stephan
Lara Michaels wrote:
Hi everyone,
I am wondering if I can tell xmonad that what Xorg reports as a strangely wide 2560x1024 screen is in reality two physical 1280x1024 screens. (I am using a Matrox Dualhead2go, which emulates a very wide screen and then
Can I tell xmonad what the real screen sizes are,
so that maximization and, more generally, screen space management occurs at the correct level (ie, at the level of each 1280x1024 physical screen, rather than maximizing to take over the entire width of my monitor setup!).
Can this be done? I used to be able to do this at
On Wed, Mar 3, 2010 at 09:36, Stephan Schulz
wrote: divides that signal onto two separate screens.) the Xorg level when I was using a nvidia video card (using an option called "TwinViewXineramaInfoOveride"), but my new machine has Intel graphics and they don't seem to support this kind of magic... Can I solve it within xmonad? Many thanks for any help!
~lara
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Hi Anders and Stephan,
Just to report that I got this working in a slightly different way. On a different mailing list I was pointed to
http://ktown.kde.org/~seli/fakexinerama
It is extremely easy to setup:
1- compile it
2- move /usr/lib/libXinerama.so.1.0.0 to /usr/lib/libXinerama.so.1.0.0-orig
3- copy the compiled library to /usr/lib/libXinerama.so.1.0.0
4- edit your ~/.fakexinerama file according to the instructions on the page
5- restart X.
All the best
~l
--- On Wed, 3/3/10, Anders Engström
From: Anders Engström
Subject: Re: [xmonad] telling xmonad that apparently huge screen == 2 screens To: "Stephan Schulz" Cc: xmonad@haskell.org Date: Wednesday, March 3, 2010, 9:56 AM Hi. Have a look at: http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-LayoutScreens.htm... That one should work fine for you, unless you have a third screen that is detected correctly. For that scenario it i possible to make it work also, but not so nicely.
It will work for all apps that are managed by xmonad, but some other may still misbehave. For example if you try to use dmenu with the xinerama patch, I think it will try to use both screens as one single. Since it is only xmonad that is aware of your split.
Maybe I should actually start commiting all those changes I made... Since that is one of them, allowing you to make the split on the current screen, and not all screens.
Good luck.
Hi all!
I'm interested in a solution too, as my Sunray reports its two screens also as one large widescreen (3200x1200 in my case).
regards, Stephan
Lara Michaels wrote:
Hi everyone,
I am wondering if I can tell xmonad that what Xorg reports as a strangely wide 2560x1024 screen is in reality two physical 1280x1024 screens. (I am using a Matrox Dualhead2go, which emulates a very wide screen and then
Can I tell xmonad what the real screen sizes are,
so that maximization and, more generally, screen space management occurs at the correct level (ie, at the level of each 1280x1024 physical screen, rather than maximizing to take over the entire width of my monitor setup!).
Can this be done? I used to be able to do this at
On Wed, Mar 3, 2010 at 09:36, Stephan Schulz
wrote: divides that signal onto two separate screens.) the Xorg level when I was using a nvidia video card (using an option called "TwinViewXineramaInfoOveride"), but my new machine has Intel graphics and they don't seem to support this kind of magic... Can I solve it within xmonad? Many thanks for any help!
~lara
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
participants (3)
-
Anders Engström
-
Lara Michaels
-
Stephan Schulz