Reid Thompson wrote: > I have several defined desktop files that invoke Eterm with various -e > parameters ( i.e. they initiate connections to various hosts ). I'd > like to associate a unique icon to these various desktop files so that > when they are minimized they act as an indicator ( i.e. I create a 48x48 > png's with the various hostnames and associate them with the appropriate > desktop file ). Can I do this? How? My initial attempt failed -- I > created a png file and set it as the Icon= parameter in the .desktop > file. Using the desktop file to start an Eterm creates an Eterm using > the image -- the problem is that ALL Eterms get the Icon, not just those > started from that desktop file. And any Eterms previously started > switch to the new icon upon minimization/maximization. > > Thanks, > reid > I assume you're using e17? The best way of doing this I found is setting the window name. I'm using aterms but IIRC eterm can do this as well, otherwise setting the window class should work too. Here's an example:
[Desktop Entry] Name=ToDo GenericName=todo Comment=ToDo list in Vim Exec=aterm -name todo -e vim +"cd NotesWiki" +"e ToDo.vimki" Icon=/home/jschrod/.e/e/icons/ToDo.edj X-Enlightenment-WindowName=todo StartupWMClass=XTerm ------------------------------------------------------------------------- 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
