core-agent-linux/qubes_rpc/qubes.GetAppmenus

2 lines
194 B
Plaintext
Raw Normal View History

find /usr/share/applications/ /usr/local/share/applications/ -name '*.desktop' | xargs awk '/^\[/ { if (tolower($0) != "\[desktop entry\]") nextfile } /=/ {print FILENAME ":" $0 }' 2> /dev/null