[xmonad] Raising Amarok

Gwern Branwen gwern0 at gmail.com
Mon Jun 2 20:52:43 EDT 2008


On 2008.06.02 19:58:14 -0400, Xiao-Yong Jin <xj2106 at columbia.edu> scribbled 1.0K characters:
> 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

I tried that just now. When Amarok is running, a > /usr/bin/amarok just returns successfully. Perhaps the Ubuntu Heron Amarok is different from yours.

--
gwern
Ma Hindawi WID JTF-6 Gorizont BROMURE Submarine hitword ERR SORT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080602/fadb8ca0/attachment.bin


More information about the xmonad mailing list