I currently use KDE with Awesome WM. I got the KDE bar at the bottom hidden, but I can un-hide with with the cursor when I need to use the Plasma Network Manager.

With KWin, they would appear like little drawers from the bottom and where quite usable. With Awesome WM, these get tiled as well, making them pretty hard to use:


Is there some way to fix this? I tried setting floating = true for the class plasma-desktop, but that did not change anything.

This is what I got with sleep 10 && xprop and clicking on the networking widget when it was extended:

                window state: Normal
                icon window: 0x0
_KDE_NET_WM_SHADOW(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
WM_CLIENT_LEADER(WINDOW): window id # 0x1e00004
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x3, 0x0, 0x0, 0x0
WM_NAME(STRING) = "plasma-desktop"
WM_CLASS(STRING) = "plasma-desktop", "Plasma-desktop"
                Client accepts input or input focus: True
                Initial state is Normal State.
                window id # of group leader: 0x1e00004
                user specified location: 1367, 20
                program specified location: 1367, 20
                user specified size: 838 by 1029
                program specified size: 838 by 1029
                program specified minimum size: 316 by 308
                program specified maximum size: 1680 by 1050
                window gravity: Static
WM_COMMAND(STRING) = { "/usr/bin/plasma-desktop" }
  • Are you sure those windows have the class value plasma-desktop? What does the program xprop print out for WM_CLASS for those windows? – ewhac Dec 10 '13 at 0:50
  • I tried a sleep 10 && xprop and clicked on the network manager drawer. So I have no idea how I could check that otherwise. – Martin Ueding Dec 10 '13 at 12:47
  • 2
    And what did it actually print out? Window class names are usually capitalized. (You realize that the "class" of the window is the second string that xprop prints out (the first string being the "instance")...) – ewhac Dec 10 '13 at 20:15
  • Could you make the capitalization as an answer? I changed it to Plasma-desktop and it works now. I'd like to give you the bounty. – Martin Ueding Dec 11 '13 at 18:39

Make sure you've correctly identified the class name of the window you're trying to construct a rule for. By convention, window class names are capitalized. You can use the program xprop to discover the correct class name. As an example, for this terminal program I have open, xprop prints out:

WM_CLASS(STRING) = "x-terminal-emulator", "URxvt"

The first string is the "instance" name (usually the name used to launch the program); the second string is the "class".

This is all discussed at length in Understanding Rules, a page I wrote on Awesome's Wiki a little while back.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.