diff --git a/.gitignore b/.gitignore
index ce85a3d..7ddd909 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,6 +44,9 @@ Thumbs.db
# Vim swap files
*.swp
+# png files
+*.png
+
# Virtualenv ignore
bin/
lib/
diff --git a/res/get_sizes.sh b/res/get_sizes.sh
new file mode 100755
index 0000000..2aa4c47
--- /dev/null
+++ b/res/get_sizes.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+SIZES=( 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 )
+
+# If we can't find the svg, cd into res, we're
+# probably being called from the root of
+# the source tree
+if [ ! -e jsoninspector.svg ]; then
+ cd res
+fi
+
+for s in "${SIZES[@]}"; do
+ echo "Creating $s image from svg" ;
+ convert -background none jsoninspector.svg -resize $s jsoninspector$s.png
+done
diff --git a/res/jsoninspector.desktop b/res/jsoninspector.desktop
old mode 100644
new mode 100755
index ccb9a03..e2cd65d
--- a/res/jsoninspector.desktop
+++ b/res/jsoninspector.desktop
@@ -1,8 +1,21 @@
[Desktop Entry]
-Name=JSON Inspector
-Exec=jsoninspector.py
-Terminal=false
+Categories=GTK;Development;
+Comment[en_US]=A tool for examining JSON text easily
+Comment=A tool for examining JSON text easily
+Exec=jsoninspector
+GenericName[en_US]=JSON Inspector
+GenericName=JSON Inspector
Icon=jsoninspector
-Type=Application
-Categories=GNOME;GTK;Development;
-Comment=JSON Inspector
+MimeType=
+Name[en_US]=JSON Inspector
+Name=JSON Inspector
+Path=
+StartupNotify=true
+Terminal=false
+TerminalOptions=
+TryExec=/usr/bin/jsoninspector
+Type=Application
+X-DBUS-ServiceName=
+X-DBUS-StartupType=
+X-KDE-SubstituteUID=false
+X-KDE-Username=
diff --git a/res/jsoninspector.glade b/res/jsoninspector.glade
index 342ee57..c4faca0 100644
--- a/res/jsoninspector.glade
+++ b/res/jsoninspector.glade
@@ -54,7 +54,7 @@
center
200
180
- java-1.7.0
+ jsoninspector
@@ -176,7 +176,7 @@
False
JSON Inspector
center
- java-1.7.0
+ jsoninspector