GNOME Bugzilla – Bug 664751
Can't find web apps
Last modified: 2011-11-30 18:21:28 UTC
Hi, Browsing about:applications gives me 3 installed applications, but I could not find them on the applications view, neither with ALT+TAB. Sounds like a bug to me. I've seen this feature working perfectly on other computers. Once saving as a web app, I get a notification "web application ready" (or something like that), but then, the current epiphany windows still the same… What's wrong? Where could I find more log? I am running Fedora 16, epiphany-3.2.1-2 in 64bits.
I can confirm this. I have one application in about:applications, but can't find it in the application view Also running Fedora 16 64bit. Epiphany version: 3.2.1-2
Is there a valid .desktop file link in ~/.local/share/applications for the app(s)? Something like epiphany-<appname>-<hash number>.desktop. That's where the shell looks for the app.
No, ls -A ~/.local/share/applications returns only mimeapps.list
I suppose it will be the case since you can see the app in about:applications, but can you confirm that the .desktop file is in your ~/.gnome2/epiphany/app-epiphany-<appname>-<hash> directory? Anyway, it seems the link was not created properly in the shell applications dir. Not sure what could have happened. Can you try removing the application and creating it again and see if the same thing happens?
Same here, I don't have any epiphany files under ~/.local/share/applications (some others). But yes, I've got ~/.gnome2/epiphany/app-epiphany-[…].desktop files. Containing for example (with the first blank line) <pre> [Desktop Entry] Name=rfid Exec=epiphany --application-mode --profile="/home/shaiton/.gnome2/epiphany/app-epiphany-rfid-a8ef3f5a35edecbcb0ed56f55005b9d525edd8f1" file:///home/shaiton/rfid/controller/doc/html/index.html StartupNotification=true Terminal=false Type=Application Icon=/home/shaiton/.gnome2/epiphany/app-epiphany-rfid-a8ef3f5a35edecbcb0ed56f55005b9d525edd8f1/app-icon.png StartupWMClass=epiphany-rfid-a8ef3f5a35edecbcb0ed56f55005b9d525edd8f1 </pre> Should I create a symlink somewhere, to check?
(In reply to comment #4) Can you try removing the application > and creating it again and see if the same thing happens? Already tried, I've got 4 apps…
(In reply to comment #4) > I suppose it will be the case since you can see the app in about:applications, > but can you confirm that the .desktop file is in your > ~/.gnome2/epiphany/app-epiphany-<appname>-<hash> directory? > > Anyway, it seems the link was not created properly in the shell applications > dir. Not sure what could have happened. Can you try removing the application > and creating it again and see if the same thing happens? I've also got the folder and .desktop file. Removed the the app folder in ~/.gnome2/epiphany/, tried making a new app and it works! I now also have a .desktop file in ~/.local/share/applications/
(In reply to comment #7) > I've also got the folder and .desktop file. > Removed the the app folder in ~/.gnome2/epiphany/, tried making a new app and > it works! I now also have a .desktop file in ~/.local/share/applications/ Doing the same does not work for me :(
I think I found the reason: /* Create a symlink in XDG_DATA_DIR/applications for the Shell to * pick up this application. */ link_path = g_build_filename (g_get_user_data_dir (), "applications", filename, NULL); link = g_file_new_for_path (link_path); g_free (link_path); g_file_make_symbolic_link (link, desktop_file_path, NULL, NULL); g_object_unref (link); g_free (filename); We are not creating the path and it seems that the symbolic link creation fails when there are no locally installed applications. I'll cook a patch.
oh nice, thanks! creating the ~/.local/share/applications works (let the symlink creation). (but the default icon is wrong (i.e. could not find the screenshot)).
Created attachment 202465 [details] [review] webapps: ensure the webapps are shown in the shell Make sure the applications directory in XDG_DATA_HOME exists before creating a symlink for the application desktop file.
Review of attachment 202465 [details] [review]: r=me
Pushed to master and gnome-3-2.