On Tuesday, 05 December 2006, at 09:04:35 (-0600),
Ronald  Lau wrote:

> With eaps, I used to be able to have a different icon (everywhere) for
> different Eterms
> 
> pyrrho.desktop
> 
> [Desktop Entry]
> Encoding=UTF-8
> X-Enlightenment-WindowName=pyrrho
> X-Enlightenment-IconClass=pyrrho
> X-Enlightenment-IconPath=/users/ral/.e/e/icons/pyrrho.png
> X-Enlightenment-WindowTitle=pyrrho
> Type=Application
> Exec=Eterm -t pyrrho
> Name=pyrrho
> Comment=pyrrho
> Icon=pyrrho.png
>
> orthanc.desktop
> 
> [Desktop Entry]
> Encoding=UTF-8
> X-Enlightenment-WindowName=orthanc
> X-Enlightenment-IconClass=orthanc
> X-Enlightenment-IconPath=/users/ral/.e/e/icons/orthanc.png
> X-Enlightenment-WindowTitle=orthanc
> Type=Application
> Exec=Eterm -t orthanc -e ssh orthanc
> Name=Orthanc
> Comment=Run commands in a shell
> Icon=orthanc.png

Why not just put "icon <filename>" in the imageclasses context of the
pyrrho and orthanc theme.cfg files?  Your icons clearly seem to be
based on Eterm theme, so it seems far more logical than trying to use
E to do title matches.

>From Eterm(1):

    icon filename
         Use filename as the icon image for the Eterm window.
         filename can be an absolute path, relative to the current
         theme, or relative to one of the directories in the path
         attribute listed below.

-I/--icon also works.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "Do not meddle in the affairs of cats, for they are subtle and will
  piss on your computer."                              -- Bruce Graham

-------------------------------------------------------------------------
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
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to