Last active
August 29, 2015 14:22
-
-
Save kimmoli/ad3712c7d625745b5b82 to your computer and use it in GitHub Desktop.
Pasted from Jolla
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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