I've just confirmed I could reproduce this with:
click hook remove upstart-app-launch-desktop
rm .local/share/applications/ -rf
click hook install upstart-app-launch-desktop

I get tons of:
** (process:2410): WARNING **: Unable to read directory 
'/home/phablet/.local/share/applications': Error opening directory 
'/home/phablet/.local/share/applications': No such file or directory

** (process:2410): WARNING **: Unable to write out desktop file to
'/home/phablet/.local/share/applications/com.ubuntu.stock-ticker-
mobile_stock-ticker-mobile_0.3.7ubuntu1.desktop': Failed to create file
'/home/phablet/.local/share/applications/com.ubuntu.stock-ticker-
mobile_stock-ticker-mobile_0.3.7ubuntu1.desktop.H1I51W': No such file or
directory

** (process:2413): WARNING **: Unable to read directory
'/home/phablet/.local/share/applications': Error opening directory
'/home/phablet/.local/share/applications': No such file or directory

** (process:2413): WARNING **: Unable to write out desktop file to
'/home/phablet/.local/share/applications/com.ubuntu.stock-ticker-
mobile_stock-ticker-mobile_0.3.7ubuntu1.desktop': Failed to create file
'/home/phablet/.local/share/applications/com.ubuntu.stock-ticker-
mobile_stock-ticker-mobile_0.3.7ubuntu1.desktop.FNVI2W': No such file or
directory


but if I mkdir .local/share/applications/, I don't.

Cheers,

** Summary changed:

- desktophook fails when ~/.local/share/applications doesn't exist
+ upstart-app-launch-desktop hook fails when ~/.local/share/applications 
doesn't exist

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1215478

Title:
  upstart-app-launch-desktop hook fails when ~/.local/share/applications
  doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart-app-launch/+bug/1215478/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to