You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can create the standard categories via the following hack but it would be nice if the app could do this automagically :):
for i in $(~/gnome-catgen.sh -r 2>/dev/null ); do echo $i >> ~/.local/share/applications-categories/$(grep Categories= /usr/share/applications/$i |sed -r 's/Categories=.(AudioVideo|Audio|Video|Development|Education|Game|Graphics|Network|Office|Science|Settings|System|Utility)./\1/').category;done
Note: there's a "*" star after the Categories=. but it looks like this editor isn't showing that. So you might need to put that in. Also gnome-catgen.sh is just gnome-catgen renamed. I like shell scripts to have a .sh suffix.
The text was updated successfully, but these errors were encountered:
Interesting idea! I've actually been hoping to take a look at ways to speed up the process of adding a huge dump to folders, and this sounds like a good direction to go.
Sorry about the wait btw- I'm not sure why, but this only just appeared in my github notifications list.
There are a set of standard categories per the spec at http://standards.freedesktop.org/menu-spec/latest/apa.html
I can create the standard categories via the following hack but it would be nice if the app could do this automagically :):
for i in $(~/gnome-catgen.sh -r 2>/dev/null ); do echo$i >> ~/.local/share/applications-categories/$ (grep Categories= /usr/share/applications/$i |sed -r 's/Categories=.(AudioVideo|Audio|Video|Development|Education|Game|Graphics|Network|Office|Science|Settings|System|Utility)./\1/').category;done
Note: there's a "*" star after the Categories=. but it looks like this editor isn't showing that. So you might need to put that in. Also gnome-catgen.sh is just gnome-catgen renamed. I like shell scripts to have a .sh suffix.
The text was updated successfully, but these errors were encountered: