Bug 468219

Summary: Application launcher does not look in /usr/local/share/applications/
Product: [I don't know] kde Reporter: Gareth Hulse <gareth-anthony-hulse>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gareth Hulse 2023-04-06 18:52:03 UTC
SUMMARY
***
having programs installed in `/usr/local/` results in desktop files not being found due to the application launcher not looking in  `/usr/local/share/applications/`
***


STEPS TO REPRODUCE
1. Install software that includes .desktop, with prefix `/usr/local/`.
2. Check that .desktop files have been installed in `/usr/local/share/applications/`.
3. Search for program with the application launcher widget. 

OBSERVED RESULT
You will not find the program with the application launcher.

EXPECTED RESULT
Find the program with the .desktop file in `/usr/local/share/applications/`

SOFTWARE/OS VERSIONS
(available in About System)
Linux: 6.2.8-arch1-1
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Specs: https://linux-hardware.org/?probe=a0584206ea
Comment 1 Gareth Hulse 2023-04-06 19:39:54 UTC
Nvm, Running `update-desktop-database` with root privileges fixed the issue.