- sed -i 's,Encoding=UTF-8,,g' *.desktop
- sed -i "s,.png,,1" `grep -l 'Icon=[^/].*\.png' *.desktop`
- sed -i "s,MimeType=.*,\0;,g" `grep "MimeType.*semicolon" validate |awk '{print $1}' |tr ":" " "`
- sed -i 's,MapNotify=.*,,g' *.desktop
- sed -i '/^$/d' *.desktop
- not all error/warrings validated
Changed files:
xbill.desktop -> 1.7
Comment=Save the world
Comment[pl]=Uchroń świat
Exec=xbill
-Icon=xbill.png
+Icon=xbill
Type=Application
Terminal=false
-Encoding=UTF-8
Categories=Game;ArcadeGame;
# vi: encoding=utf-8