[xmonad] screen resolution and xmobar

Brandon Allbery allbery.b at gmail.com
Wed Jun 26 15:13:03 CEST 2013


On Wed, Jun 26, 2013 at 4:14 AM, Dmitry Malikov <malikov.d.y at gmail.com>wrote:

>  On 06/26/2013 10:34 AM, Yakir Gagnon wrote:
>
> I'm using a laptop that I sometimes dock. I then have the laptop screen
> turned off and use instead a much larger separate screen. The resolution
> gets messed up when I login Xmonad (I guess it retained the laptop's
> original resolution). I then run*xrandr --output HDMI3 --mode 1920x1200* to
> change it to the larger screen's full resolution, and everything looks
> nice. But the xmobar doesn't stretch across the full width of the screen
> and the background desktop image is tiled to fill the whole screen...
> I guess what I'm asking is, how can I best set up .xsession and / or
> xmonad.hs (and .xmobarrc) to make this work?
>  Ultimately I'd like it to work when I dock my laptop but also when the
> laptop isn't docked...
>
>  Hi, Yakir.
> It seems to be xmonad issue only, it uses screen resolution retrieved when
> X session started and did not update it dynamically. I wonder what xmonad
> module is responsible for that issue and how it could be fixed.
>

Sounds like https://code.google.com/p/xmonad/issues/detail?id=526 ? Except
that xmobar stretching across the screen is something xmobar should be
doing, not xmonad (an xmonad bug could lead to the result being covered up,
but status bars must do their own positioning).

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130626/e64b0d7f/attachment.htm>


More information about the xmonad mailing list