Hi Daniel The Daniel's gang ! It please me My icons are in /usr/share/applications. The original chromium.desktop has this
[Desktop Entry] Version=1.0 Encoding=UTF-8 Name=Chromium Exec=/opt/chromium/chrome %U Terminal=false Icon=/usr/share/pixmaps/product_logo_48.png Type=Application Categories=Application;Network;WebBrowser; MimeType=text/html;text/xml;application/xhtml_xml; By using the xprop command I have found WM_CLASS(STRING) = "chromium-browser" I have moved the chromium.desktop file to chromium-browser.desktop and added the missing line StartupWMClass=Chromium-browser in and now it works as expected. I have discovered that all the icons present in the dock that are not e applications have not the line "StartupWMClass=" (by example: libreoffice, virt-manager....) They have the problem if you launch the application from a terminal.For ephoto that is an e application the line is missing Thanks a lot for your help Best regards Daniel Le ven. 10 nov. 2023 à 00:13, Daniel Kasak <d.j.kasak...@gmail.com> a écrit : > Hi Daniel. Us Daniels need to stick together :P > > Enlightenment utilizes the StartupWMClass in the application's ".desktop" > file to identify what application corresponds to what ".desktop" file. The > ".desktop" file in turn is what ibar uses to display your application > icons. First you should locate the ".desktop" file in question. There can > be multiple. Generally if you have created an icon in Enlightenment, the > ".desktop" file will be in a location like ~/.local/share/applications ... > and for me Chromium's is called "chromium-browser.desktop". If you haven't > created one in Enlightenment, then perhaps yours is a system one, in which > case it might be somewhere like > /usr/share/applications/chromium-browser.desktop > > I generally copy the system one to my user one, so I can edit it and not > have system updates overwrite it. Open it and look for the StartupWMClass > line, eg: > > StartupWMClass=Chromium-browser > > Now open a terminal, and run the "xprop" command ( you might have to > install this app ). When you've run the xprop app, move your mouse over a > Chromium window. The cursor should change. Click the Chromium window. > Return to where you ran "xprop" from. There will be a bunch of lines > printed with various window-manager related bits of information. One will > be the WM_CLASS. For me, Chromium's looks like: > > WM_CLASS(STRING) = "chromium-browser", "Chromium-browser" > > You can use *either* of these strings ( in quotes ) to fill in the value of > StartupWMClass in your ".desktop" file. > > So, in theory, when Enlightenment sees an app running with the WM_CLASS in > a ".desktop" file ( in the StartupWMClass line ), it knows it belongs to > this application, and ibar will behave like you expect. I have seen this > not quite work for some applications. I suspect the application might be > altering its WM_CLASS mid-flight, or maybe something else is going on. > > I hope this helps. > > Dan > > On Fri, Nov 10, 2023 at 3:28 AM daniel antoine <univa...@gmail.com> wrote: > > > Some people have reported having problems with their browser icon in the > > dock bar , the blue bar missing under the icon and no presence of the > > active browser windows when you pass the cursor on the icon. It happened > to > > me randomly and I was not able to reproduce the problem if there was one. > > When you open a browser you have the blue initialisation circle on the > > icon, the browser windows open and if you pass your cursor on the icon, > you > > have a blue window with the active browser session. When chromium is not > > active If you open a terminal (terminology) and write in an url address > you > > can open it as an url, a chromium window opens but you have no blue bar > > under the icon and you have nothing if you pass your cursor on the icon > in > > the dock (you can do the same thing by copying an url in a libreoffice > > file). If you minimize the browser windows it looks like it has > disappeared > > but you see the chromium process in HTOP. I have just discovered that the > > only way to reopen the window is to search in the principal menu and look > > at the windows link where it is present, here you can act on it. > > My question is why there is a different treatment when you open a browser > > and is it normal. > > > > Best regards > > > > Daniel > > > > _______________________________________________ > > enlightenment-users mailing list > > enlightenment-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > > > > _______________________________________________ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users