Skip to content

Instantly share code, notes, and snippets.

@kimmoli

kimmoli/pidditesti.sh

Last active Aug 29, 2015
Embed
What would you like to do?
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