[xmonad] Raising Amarok

Spencer Janssen sjanssen at cse.unl.edu
Mon Jun 2 00:18:57 EDT 2008


On Sun, Jun 01, 2008 at 06:27:18PM -0400, Gwern Branwen wrote:
> Ho everyone:
> 
> I recently installed Ubuntu, and so could now use Amarok (the Gentoo installation being messed up for me), and all is well. I went to add a keybinding:
> 
> >          , ((m,              xK_a), runOrRaise "amarok" (title =? "Amarok"))
> 
> And it is kind of odd. It is the correct name, and it works correctly when Amarok is not running - but if Amarok is running, it only causes a file dialogue to open up instead of the right thing. (See attached screenshots.)
> 
> Is this Amarok's fault? Any ideas how to work around it?
> 
> 
> --
> gwern
> FSK S511 Zemin Monica PABX NSG mercur text Meade ULF

Try matching on the WM_CLASS (note that it is set to "amarokapp") instead.  If
this works, there might be some problem with the 'title' function.


More information about the xmonad mailing list