Eterm does not have an option to set Class, and I added 

StartupWMClass={name}


to all three deskop files, but it still does not use the correct desktop file 
to set the icon in the window border, widow list, or ibox.


*sob*

It worked when e used eaps.

*sob*

I miss eaps....


*sob*






 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of David Seikel
> Sent: Monday, December 18, 2006 8:38 AM
> To: [email protected]
> Subject: Re: [e-users] icon question
> 
> On Mon, 18 Dec 2006 08:21:38 -0600 "Ronald  Lau" <[EMAIL PROTECTED]>
> wrote:
> 
> The icon matching uses a scoring system, the higher the 
> score, the more likely it will match.
> 
> > Here are the contents of Eterm.desktop, pyrrho.desktop and 
> > orthanc.desktop.  pyrrho.png is the image now showing up in 
> all Eterm 
> > window borders, window lists, and iboxes.
> > 
> > What am I doing wrong?
> > 
> > 
> > 
> > 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.
> 
> > pyrrho:~/.e/e/applications/all> cat pyrrho.desktop
> > 
> > [Desktop Entry]
> > Encoding=UTF-8
> > 
> > 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=Run commands in a shell
> > Icon=pyrrho.png
> 
> This one only has a match on exec and window title, the first 
> one is likely to get a higher score.
> 
> > pyrrho:~/.e/e/applications/all> cat orthanc.desktop
> > 
> > [Desktop Entry]
> > Encoding=UTF-8
> > 
> > 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
> 
> Same here.
> 
> Window name and window class are matched together, and get a 
> score of two if they match.  Everything else gets a score of 
> one.  Highest score wins.  So your best bet is to make sure 
> the name and class are different for all three, then set 
> those in the .desktop files.  Eterm has a way of changing 
> these things from the command line, but I can't remember what 
> it is right now.
> 
> --------------------------------------------------------------
> -----------
> 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
> 

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