[xmonad] Raising Amarok

Xiao-Yong Jin xj2106 at columbia.edu
Mon Jun 2 19:58:14 EDT 2008


Gwern Branwen <gwern0 at gmail.com> writes:

> On 2008.06.01 23:36:44 -0500, Spencer Janssen <sjanssen at cse.unl.edu> 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/*
    <\     * (__
    */\      <


More information about the xmonad mailing list