bayleeadamoss / zazu-file-finder

A file finder for Zazu.
18 stars 11 forks source link

Switch to ~./local/share/applications for appPath. #9

Closed cecoates closed 7 years ago

cecoates commented 7 years ago

Add ~./local/share/applications to appPath instead of home directory (suddenly I realize why the home directory was left out to begin with). Indexing the home directory in the appPath results in sluggish searches and is probably overkill.

bayleedev commented 7 years ago

The searches shouldn't be overkill. The 'app path' is indexed as a background task in a separate process. It would only effect Zazu if it slowed down your entire box.

@amjith how does this directory look?

amjith commented 7 years ago

Interesting, I didn't know that ~/.local/share/applications was used by Ubuntu to maintain links to apps.

This looks great!

👍

cecoates commented 7 years ago

When I added the entire home directory and typed "transistor" (the name of a game I have installed), the entire Zazu box would freeze as it looked up the hundreds of game files also named transistor. That's why I was thinking the ~/.local/share/applications would be better.

Dropping a .desktop file in ~/.local/share/applications is an easy way to get Gnome to list a program in the applications overview for Debian/Ubuntu. Like when you install a game manually from GoG.