Open RainingComputers opened 3 years ago
Usually we not support icons for web-pages
@RainingComputers I'm curious of what the contents .desktop file of a web app shortcut created with the Web App Manager would look like. (I haven't set up a VM of the latest Linux Mint yet.)
@creepertron95
[Desktop Entry]
Version=1.0
Name=Jira
Comment=Web App
Exec=sh -c 'XAPP_FORCE_GTKWINDOW_ICON=gnome-todo firefox --class WebApp-Jira0162 --profile /home/shnoo/.local/share/ice/firefox/Jira0162 --no-remote http://www.jira.com'
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/home/shnoo/.local/share/ice/icons/jira.svg
Categories=GTK;Network;
MimeType=text/html;text/xml;application/xhtml_xml;
StartupWMClass=WebApp-Jira0162
StartupNotify=true
X-WebApp-URL=http://www.jira.com
X-WebApp-Isolated=true
The web app manager either lets you choose your own icon or downloads the icon from the website or the favicon.
It seems the icons generated by Webapp Manager/ICE are actually hardcoded. Maybe web-jira
?
@creepertron95 It does not always need to be hardcoded. Let's say if you create a shortcut to Instagram, web app manager automatically finds the icons from the current icon theme,
[Desktop Entry]
Version=1.0
Name=instagram
Comment=Web App
Exec=sh -c 'XAPP_FORCE_GTKWINDOW_ICON=instagram firefox --class WebApp-instagram6444 --profile /home/shnoo/.local/share/ice/firefox/instagram6444 --no-remote http://www.instagram.com'
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=instagram
Categories=GTK;Network;
MimeType=text/html;text/xml;application/xhtml_xml;
StartupWMClass=WebApp-instagram6444
StartupNotify=true
X-WebApp-URL=http://www.instagram.com
X-WebApp-Isolated=true
I think it only does that for certain popular websites like YouTube or Facebook.
@creepertron95 No, it does some pattern matching on the URL
Interesting, so I think jira
could actually work as an icon then.
i am also interested in this
Hey, I want to use Linux Mint Web App Manager (https://blog.linuxmint.com/?p=3960) to setup a shortcut to Jira. The icon for Jira is not present.
jira
Original Icon: