Eterm.desktop:
StartupWMClass=Eterm
{name}.desktop:
StartupWMClass={name}
IANAP, but going off of what I read and see on my screen, it doesn't matter
what I try to set the window class to, since all Eterms have a window class of
Eterm (reading from the window properties dialog), and the edit icon dialog
lists Window Class as Eterm.
So it appears that I cannot make an Eterm have a Window Class of anything other
than Eterm.
Therefore, all of my desktop files will have the same 'score' no matter what I
do with the desktop files.
Ergo, e would have to do something special when it finds multiple desktop files
with the same score in order for this to work.
P.s.
Interestingly, I revised pyrrho.desktop to try to lower its score:
Type=Application
Exec=Eterm -t pyrrho -e ssh pyrrho
StartupWMClass=pyrrho
Name=Pyrrho
Comment=Run commands in a shell
Icon=pyrrho.png
But all Eterms still use pyrrho.png
*sob*
> -----Original Message-----
> From: David Seikel [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 18, 2006 9:23 AM
> To: Ronald Lau
> Subject: Re: [e-users] icon question
>
> On Mon, 18 Dec 2006 09:18:47 -0600 "Ronald Lau" <[EMAIL PROTECTED]>
> wrote:
>
> > > > pyrrho:~/.e/e/applications/all> cat Eterm.desktop
> > > >
> > > > [Desktop Entry]
> > > > Encoding=UTF-8
> > > > X-Enlightenment-IconTheme=dlg-etiquette
> > > > X-Enlightenment-WindowName=Eterm
> > > > X-Enlightenment-IconClass=Eterm.png
> > > > X-Enlightenment-IconPath=/users/ral/.e/e/icons/Eterm.png
> > > > X-Enlightenment-WindowTitle=Eterm
> > > > Type=Application
> > > > Exec=Eterm
> > > > StartupWMClass=ETerm
> > > > GenericName=Terminal
> > > > Name=Eterm
> > > > Comment=Run commands in a shell
> > > > Icon=Eterm.png
> > >
> > > In this one the exec, window name, window class, and window title
> > > are all for Eterm. This one is highly likely to match any Eterm.
> > >
> >
> > But it doesn't.
> >
> > Every Eterm uses the pyrrho.png icon.
> >
> > If I delete pyrrho.desktop, then every Eterm uses the saruman.png
> > icon.
> >
> > If I delete saruman.desktop, then every Eterm uses the orthanc.png
> > icon
> >
> > Etc...
>
> You might have got something wrong in that one, is the class
> actually ETerm and not Eterm for instance? I was assuming
> you had it all correct.
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users