[openbox] Launching applications

Jorge Almeida jjalmeida at gmail.com
Tue Oct 4 13:57:19 EDT 2011


>> > Unless I missed some important context.. use the terminal's name to find
>> > it
>> > instead of the title?
>> >
>>
>> I'm not sure I understand, but if you mean something like "urxvt -name
>> Mutt", how to use wmctrl to raise it? "wmctrl -a <WIN>" works as long as
>> <WIN> contains a string we know of in advance, and the string must be
>> contained in the window title. Any other alternative?
>
> Oh I guess it would have to be the class not the name with wmctrl -x.
>
This is the best I could do from what I understood from the manuals:

urxvt -xrm aaa

This starts an urxvt window, which I suppose belongs to the fake class
aaa (?)

Then "wmctrl -ax aaa" would raise the window. It doesn't.

J.A.


More information about the openbox mailing list