I just installed Ubuntu 20.04 and tried to get my favorite web applications (i.e.Google Calendar, WhatsApp Web) up and running again. Since Firefox removed this feature years ago, I've been using Chromium for it. On April 18, I could just go to my favorite website, click on the hamburger menu, & # 39; More Tools & # 39 ;, & # 39; Create Shortcut … & # 39 ;, the Tag & # 39; Open as Window & # 39; and bam, the WebApp was ready.
However, in 20.04 on my Chromium Snap system, creating a WebApp sometimes causes Chromium to crash, leaving a .desktop file that doesn't work.
In the .desktop file that is created on the desktop, right click and select "Allow Start". In most cases this works and the web application gets an appropriate icon and can be started.
In other cases (i.e. when creating a shortcut from chrome: // apps or when creating the shortcut that caused Chromium to crash), the icon becomes a "bad" character:
When I double click on WhatsApp, it opens as a "real" app (as seen in the screenshot). However, when I double-click on Google Calendar, a new empty full Chromium window opens. And when I double-click on Trello (from which the shortcut was created from chrome: // apps), a new full Chromium window opens (instead of an & # 39; App & # 39; window), but it goes to trello.com leads.
I tried to find the culprit for the error by looking at the .desktop files of all three apps. So far, however, I have not been able to see what could cause this behavior.
When I wanted to find out why Chromium crashed when I created the shortcut to Google Calendar, I started Chromium from the command line:
To my surprise, Chromium did NOT crash when creating the shortcut. In addition, the .desktop file was now immediately placed in
~/.local/share/applications/, which was not the case in my previous attempts.
So in the end everything seems to be in order, and in retrospect I suspect that an old leftover cruft / bit red is the cause of all of this – I finally installed 20.04 with my unchanged 18.04 / home partition …
Which leaves me with the question of whether I should actually post this – I think I will be hoping to be able to give everyone else who comes across some options to look at.
If this is actually something other people come across, I would like to provide more information so it can be debugged.