[openbox] Application specific rules
Mikael Magnusson
mangosoft at comhem.se
Tue Aug 28 19:47:16 EDT 2007
On Wed, 29 Aug 2007, Josh Glover wrote:
> On 29/10/07, Jehan <jehan at zemarmot.net> wrote:
>
>> Thus following the "manual" or the comment of the default rc.xml, here
>> is the rule I created:
>>
>>
>> <application name="Gecko" class="Firefox-bin">
>> <desktop>1</desktop>
>> <fullscreen>yes</fullscreen>
>> <focus>no</focus>
>> </application>
>
> Unless I misunderstand what you are trying to you, I think you don't
> need: name="Gecko"
>
> Try removing that and seeing if the rule works.
Firefox breaks all possible standards in X in many ways, among them is
setting WM_CLASS properly. When starting, class is set to Firefox-bin and
name to firefox-bin. Some time after the window is shown, name is changed
to Gecko which is not allowed. Just using class="Firefox-bin" should work
as Josh suggests, but name="firefox-bin" should also work :).
(name refers to the first element in WM_CLASS and class to the second.)
--
Mikael Magnusson
More information about the openbox
mailing list