Michael Jennings wrote:
> 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
> 
Ah I did never noticed that option. However I does not work in e17 I 
just tried it. If I start Eterm with Eterm -I something.png e17 will 
still use the icon specified in the eterm.desktop file.

Jochen

-------------------------------------------------------------------------
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

Reply via email to