I am using Ubuntu 18.04 on Dell Vostro 3546.
Here is my webapp code in /home/$USER/.local/share/applications/sketchboard.png
:
[Desktop Entry]
Version=1.1
Type=Application
Name=Sketchboard
GenericName=Sketchboard
Comment=Sketchboard desktop webapp
Icon=/usr/sketchboard.png
Exec=/opt/google/chrome/google-chrome --app=https://sketchboard.me/
Actions=
MimeType=text/plain;
Categories=Application;Network;Graphics;
Keywords=Sketchboard;webapp;
StartupNotify=true
StartupWMClass=sketchboard.me
Here is my picture:
As you see, I have emphasised the webapp title (or whatever we say it.) Sometimes the link is also displayed there.
I only want to see "Sketchboard" written there.
Thanks in advance.
The title of the window is handled by
<title>
HTML element, after all you're actually opening a website, not a local standalone app. So this is a browser-side thing and I don't think it's possible to modify title from desktop entry.To control the title, you can use
document.title
of JavaScript and override the default title. To test things,If you're satisfied with the result, you can use Tampermonkey and create an userscript in order to override the title whenever you open the webapp or website. The userscript would look like