core-agent-linux/qubes_rpc/qubes.GetAppmenus
Marek Marczykowski 8129032c9e vm: implement qubes.GetAppmenus to reduce code duplication
As one-liner services are now real one-line, just do it.
2012-07-15 02:41:23 +02:00

3 lines
120 B
Plaintext

shopt -s nullglob
/bin/grep -H = /usr/share/applications/*.desktop /usr/local/share/applications/*.desktop 2> /dev/null