Skip to content

Instantly share code, notes, and snippets.

@kimmoli
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kimmoli/ad3712c7d625745b5b82 to your computer and use it in GitHub Desktop.
Save kimmoli/ad3712c7d625745b5b82 to your computer and use it in GitHub Desktop.
Pasted from Jolla
dbus-send --session --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames | grep -i coveraction | while read -r line
do
a=`echo $line | cut -d "." -f 4`
b=`echo ${a//pid}`
c=`ps -p $b o ucomm --no-heading`
echo $c
grep -Le "NoDisplay=true" /usr/share/applications/*.desktop | while read file
do
grep -le "Exec.*$c.*" $file
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment