gnome-catgen icon indicating copy to clipboard operation
gnome-catgen copied to clipboard

The script does not find the apps in subdirectories

Open TPXP opened this issue 6 years ago • 0 comments

Hello !

First of all, a huge thanks for your script ! It makes my start menu look clean, which is absolutely awesome. 👍

I just noticed that the .desktop files installed in subdirectories of the applications folder, are not taken into account by the script, whereas Gnome takes them ! For example, Windows®️™️ programs, when set up through wine, create shortcuts in the "Start menu", and their shortcuts end up in ~/.local/share/applications/wine/Programs as .desktop files. These desktop files are not noticed by the script, so I can't sort them and they end up outside of the folder, which gives me a weird mix between order and disorder, that I can't fix with the script.

A call to find might enable the script to find the .desktop files also in subdirectories. Or maybe a recursive function ? Sadly, I'm not knowledgeable enough about bash to propose a pull request, could you fix this ?

Many thanks in advance.

TPXP avatar Oct 08 '17 14:10 TPXP