Unity does not pick up changes to ~/.local/share/applications if it doesn't exist when Unity starts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-lens-applications |
New
|
Undecided
|
Unassigned | ||
gnome-menus (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
qtubuntu (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On an up to date saucy/touch/mako image on package install, click packages create a desktop file in ~/.local/
Steps to reproduce:
1. mv ~/.local/
2. reboot
3. install a click package (or drop a properly formatted (see bug #1204595) desktop file in ~/.local/
4. search the Dash for the package
The Dash won't find the package in step 4 until restarting Unity. After rebooting, installing click packages or adding desktop files works as expected (ie, you can find them in step 4). I don't know if this worked properly or not in Unity 7.
description: | updated |
description: | updated |
no longer affects: | unity-mir |
tags: | added: appstore |
We use libgnome-menu to build the applications index and watch for changes, so that is where the bug probably resides.
The configuration we use is in /etc/xdg/ menus/unity- lens-applicatio ns.menu and uses the <DefaultAppDirs/> directive to pick applications directories rather than specify them manually.
Perhaps it only checks for these default directories once on startup, rather than watching the parents of missing default dirs?