
Gwern Branwen
On 2008.06.01 23:36:44 -0500, Spencer Janssen
scribbled 1.2K characters: Very good advice, Spencer. I'd also add that Amarok changes title when music is playing, making it rather likely that this is not an issue with xmonad's 'title' function at all. WM_CLASS should be much more robust here since it is a violation of the ICCCM to change those properties after requesting that the window be mapped.
Yes, className "amarokapp" works fine. I asked because title to me was not failing in a familiar way - usually when I use 'title' and it fails, it is because the title has changed, and so title fails to find the existing app and it then falls through to the run part. It does not usually "sort of work" by bringing up some file dialogue!
If you try to run "amarok" from CLI while an instance of Amarok is running, you will see the open-file dialog. Xiao-Yong -- c/* __o/* <\ * (__ */\ <