[xmonad] don't manage windows layout

Alain Bertrand alainbe at free.fr
Wed Jun 14 16:56:01 UTC 2023


Hi,

Thanks for this suggestion. As it turned out, the app I want to use has 
unfriendly behaviour even with

XMonad.Layout.SimplestFloat and I think that I will need to use this solution.

Best regards,

Alain

On 12/06/2023 09:34, Platon Pronko wrote:
> On 2023-06-12 06:19, Alain Bertrand wrote:
>> Hello,
>>
>> I have a program which doesn't work nicely with xmonad because of the 
>> apparition of popup windows, supposed to be small but who take 
>> suddenly half the size of the screen.
>>
>> Is there a layout for xmonad which would (un)manages windows just 
>> like, say Openbox  ?
>
> I use myManageHook for floating or ignoring such popup windows. This 
> way you can keep your usual layout and only add some special cases for 
> misbehaving windows.
>
> Something like this:
>
> myManageHook :: ManageHook
> myManageHook =
>   composeAll
>   [ fmap (isInfixOf "Gnuplot") title --> doFloat
>   , className =? "Xfce4-panel" --> doIgnore
>   , className =? "Yad" --> doFloat
>   , isInProperty "_NET_WM_WINDOW_TYPE" "_NET_WM_WINDOW_TYPE_TOOLBAR" 
> --> doIgnore -- fix for libreoffice dialogs
>   , isInProperty "_NET_WM_WINDOW_TYPE" "_NET_WM_WINDOW_TYPE_SPLASH" 
> --> doIgnore -- splash screens
>   , isFullscreen --> doFullFloat
>   , isDialog --> doFloat
>   , role =? "pop-up" --> doFloat
>   ]
>
> (you can check the window properties using xprop utility)
>



More information about the xmonad mailing list