Il giorno Mon, 09 May 2005 23:12:30 +0200 Sebastian scrisse:

> > I used xprop to get the window name to set eapp:
> > 
> > [EMAIL PROTECTED]:~$ xprop | grep WM_NAME
> > WM_NAME(STRING) = "Frozen-Bubble"
> 
> This is wrong. Check .xsession-errors. E17 prints name and class when 
> you start an app.

I do not have any .xsession-errors in my home, perhaps because I start
the system in text mode and launch startx.


Il giorno Tue, 10 May 2005 11:43:17 +0900 Carsten scrisse:

> > I used xprop to get the window name to set eapp:
> > 
> > [EMAIL PROTECTED]:~$ xprop | grep WM_NAME
> > WM_NAME(STRING) = "Frozen-Bubble"
> 
> that's not the name. that's the title. do not be be fooled by the
> inappropriate name of the properties. look for WM_CLASS. that's name +
> class. WM_NAME is the title.

[EMAIL PROTECTED]:~$ xprop | grep WM_CLASS
WM_CLASS(STRING) = "SDL_App", "SDL_App"

this is for both frozen-bubble and supertux, looks like both of them
sets the same win class and the same win name (and maybe all other sdl
based apps).

I guess this means I cannot have two different icons (in pager and
title bar) for them :(

it would be possible if we could match even the window title.

-- 
         Massimo Maiurana          mailto:[EMAIL PROTECTED]
         http://massimo.solira.org       GPG keyID #7044D601

Articolo 11 - L'Italia ripudia la guerra come strumento di offesa alla
libertà  degli  altri  popoli   e  come  mezzo  di  risoluzione  delle
controversie internazionali....

Attachment: pgpF9OHUO8hWT.pgp
Description: PGP signature

Reply via email to