Ronald Lau wrote: > With eaps, I used to be able to have a different icon (everywhere) for > different Eterms, depending on the window title. Is this even possible > now? > > > I made desktop files like the ones below, and on the ibar, the icons are > as listed in the desktop files. But everywhere else, they use > pyrrho.png. > > > > 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 > Hi Ronald,
the Eterm you are starting still has the normal Eterm window name. That is why e can't match it. Either take out the X-Enlightenment-WindowName line, or better start your Eterm with "Eterm -t orthanc -n orthanc". This will start Eterm with the window name set to orthanc and e can actually match it. It is also better than the option of only matching by title, because e uses a scoring system and a matching window name will get a higher score than a title. At least that is how I understood it the last time it was explained to me. Cheers 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 enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users