[xmonad] floating problems - vlc and dialogs

Ivan Miljenovic ivan.miljenovic at gmail.com
Sun May 30 20:03:43 EDT 2010


On 31 May 2010 09:30, Nathan Huesken <xmonad at lonely-star.org> wrote:
>
> in my xmonad.hs I have:
> -- manage hook - when new clients appear
> floatAll     = composeAll . map (\s -> className =? s --> doFloat)
> myManageHook = floatAll ["Gimp",
>                         "Wine",
>                         "vlc",
>                         "MPlayer",
>                         "VLC (XVideo output)"]
>               <+> manageDocks
>               <+> (isFullscreen --> doFullFloat)
>
> MPlayer and gimp are floated perfectly. VLC is not.
> Why not?

Several possible reasons:

1) That isn't the correct classname for VLC

2) That isn't the classname that VLC has when it starts (and then
changes its classname once the GUI is created, etc.)

Possible solution: try using the resource (the first value from "xprop
| grep WM_CLASS") instead of the classname.

> Also, is there a way to generally float dialogs?

http://hackage.haskell.org/packages/archive/xmonad-contrib/0.9.1/doc/html/XMonad-Hooks-ManageHelpers.html#v%3AisDialog

isDialog --> doFloat

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the xmonad mailing list