Search code examples
linuxwindow-managerstilingawesome-wm

Stop MPlayer from using float in Awesome WM


I understand that MPlayer calls a "configurerequest" and for that reason, completely ignores the rules of my Window Manager in Archlinux, AwesomeWM and instead of being tiled, it floats. Is there anyway to stop this from happening? Thanks!


Solution

  • You want to find the following code block, and change floating = false:

    awful.rules.rules = {
        ...
        { rule = { class = "MPlayer" }, properties = { floating = false } },
        ...
    }
    

    The determine the class part, do the following in a terminal window:

    % xprop | grep WM_CLASS
    

    Then click on the window whose class name you are trying to determine. One of those wonderful UNIX things that you have to experience to believe.