Created
November 13, 2012 20:58
-
-
Save intarstudents/4068349 to your computer and use it in GitHub Desktop.
Linux Mint 13 & 14 (MATE) - Fix missing application shortcuts in Synapse
This file contains hidden or 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
#!/bin/sh | |
for file in $(grep -il "^OnlyShowIn=MATE;$" /usr/share/applications/*.desktop); do | |
echo "patching $file" | |
sed -e "s/OnlyShowIn=MATE;/#OnlyShowIn=MATE;/ig" $file > /tmp/tempfile.tmp | |
mv -f /tmp/tempfile.tmp $file | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment