[Pkg-haskell-maintainers] Bug#660174: Bug#660174: xmonad: Windows do not fill entire screen using any layout

Ben VB benvb92 at gmail.com
Fri Feb 17 22:17:20 UTC 2012


Hi Joachim,

My xmonad.hs is below. I have two panels: xmobar and trayer. trayer is
started via a script that is called by gdm, using the line:

trayer --edge top --align right --SetDockType true --SetPartialStrut true
--expand true --width 10 --transparent true --alpha 0 --tint 0x000000
--height 17 &

It turns out that killing trayer fixes the problem, and the space is about
as wide as trayer is tall, so maybe it's actually a bug with trayer?

Also, sorry about the "important": this is my first-ever Debian bug report,
and rather than spending an hour agonising over which option to choose, I
just picked one and figured that if it was a bad choice someone would tell
me ... so now I know better :)

Thanks,
Ben

xmonad.hs:

import XMonad
> import XMonad.Layout
> import XMonad.Hooks.DynamicLog
> import XMonad.Hooks.ManageDocks
> import XMonad.Util.Run(spawnPipe)
> import XMonad.Util.EZConfig
> import System.IO
> import XMonad.Hooks.ManageHelpers
> import XMonad.Layout.Grid
> import XMonad.Layout.Magnifier
> import XMonad.Layout.Tabbed
> import Data.Ratio
> import XMonad.Layout.OneBig
>
> main = do
>     xmproc <- spawnPipe "xmobar"
>     xmonad $ defaultConfig
>         { manageHook = manageDocks <+> myManageHook <+> manageHook
> defaultConfig
>         , layoutHook = myLayoutHook
>         , logHook = dynamicLogWithPP xmobarPP
>                         { ppOutput = hPutStrLn xmproc
>                         , ppTitle = xmobarColor "green" "" . shorten 50
>                         }
>         , modMask = mod4Mask     -- Rebind Mod to the Windows key
>         , borderWidth        = 1
>         , normalBorderColor  = "#000000"
>         , focusedBorderColor = "#c0c0c0" -- cd8b00
>         }
>         `additionalKeysP`
>          [ ("M-f", spawn "thunar")
>          , ("M-w", spawn "x-www-browser")
>          , ("M-z", spawn "xscreensaver-command -lock")
>          , ("M-S-<Return>", spawn "terminator")
>          , ("<XF86AudioLowerVolume>", spawn "amixer -c 0 set Master 2dB-")
>          , ("<XF86AudioRaiseVolume>", spawn "amixer -c 0 set Master 2dB+")
>          , ("<XF86AudioMute>", spawn "amixer -c 0 set Master 0")
>          ]
>
> myLayoutHook = avoidStruts (OneBig (3/4) (3/4) ||| tiled ||| Grid |||
> magnify Grid ||| simpleTabbed ||| Full)
>     where
>       tiled = Tall nmaster delta ratio
>       nmaster = 1
>       delta = 3/100
>       ratio = 1/2
>       magnify = magnifiercz (12%10)
>
> myManageHook = composeAll
>     [ className =? "Gimp"      --> doFloat
>     , className =? "Vncviewer" --> doFloat
>     , isFullscreen --> doFullFloat
>     ]
>

On Fri, Feb 17, 2012 at 08:22, Joachim Breitner <nomeata at debian.org> wrote:

> Hi Ben,
>
> could you please post your xmonad configuration? This sounds as if you
> run some program that set STRUTS information, such as a panel. Might
> that be the case?
>
> Also, I don’t think this bug has severity important, but let’s just fix
> this instead of arguing about that :-)
>
> Greetings,
> Joachim
>
> Am Donnerstag, den 16.02.2012, 20:15 -0800 schrieb Ben VB:
> > Package: xmonad
> > Version: 0.10-3
> > Severity: important
> >
> > Dear Maintainer,
> >       On upgrading from squeeze to sid (via replacing occurences of
> >       'squeeze' in sources.list with 'sid'), xmonad fails to draw
> >       windows over the entire screen, instead leaving a ~50px empty
> >       bar on the right side of the screen in which nothing is
> >       displayed. Changing to different layouts does not fix this
> >       problem. Resizing windows (mod+button2) does enable me to fill
> >       the entire screen, but this floats the window and defeats the
> >       purpose of using a tiling wm. Recompiling my config file didn't
> >       change anything.
> >
> > Thanks,
> > Ben
> >
> > -- System Information:
> > Debian Release: wheezy/sid
> >   APT prefers unstable
> >   APT policy: (990, 'unstable')
> > Architecture: amd64 (x86_64)
> >
> > Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
> > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/dash
> >
> > Versions of packages xmonad depends on:
> > ii  libc6         2.13-26
> > ii  libffi5       3.0.10-3
> > ii  libgmp10      2:5.0.4+dfsg-1
> > ii  libx11-6      2:1.4.4-4
> > ii  libxext6      2:1.3.0-3
> > ii  libxinerama1  2:1.1.1-3
> > ii  x11-utils     7.6+4
> >
> > Versions of packages xmonad recommends:
> > ii  libghc-xmonad-dev  0.10-3
> > ii  libghc-xmonad-doc  0.10-3
> > ii  xfonts-base        1:1.0.3
> >
> > Versions of packages xmonad suggests:
> > ii  suckless-tools [dmenu]  38-1
> >
> > -- no debconf information
> >
> >
> >
> > _______________________________________________
> > Pkg-haskell-maintainers mailing list
> > Pkg-haskell-maintainers at lists.alioth.debian.org
> >
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-haskell-maintainers
> >
>
> --
> Joachim "nomeata" Breitner
> Debian Developer
>  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
>  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20120217/e8df6456/attachment.html>


More information about the Pkg-haskell-maintainers mailing list