Floating Android Emulator in XMonad

Posted on July 2, 2019
Tags:

Floating the android emaulator in XMonad

Floating the android emulator isn’t as straight forward as it is floating other apps.

Android emulator a bit different in the sense that it doesn’t have a WM_CLASS property. Instead you need to get the _NET_WM_NAME.

To float the android emulator add the following into your manageHooks.

myManageHook = composeAll 
[ ....
, stringProperty "_NET_WM_NAME" =? "Emulator" --> doFloat
]

To get the classname/title or in this case the _NET_WM_NAME value you have use xprop.

Running xprop in the terminal will change the mouse pointer into a cross symbol. Click on the window/application for which you wanat to print the details and it will display the X property for the window you clicked on.