diff --git a/CMakeLists.txt b/CMakeLists.txt
index b0fe285db..dc525aa3d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -193,3 +193,16 @@ if(ENABLE_QT)
add_subdirectory(externals/qhexedit)
endif()
add_subdirectory(src)
+
+# Install freedesktop.org metadata files, following those specifications:
+# http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
+# http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
+# http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html
+if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD")
+ install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.desktop"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
+ install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.svg"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps")
+ install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.xml"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages")
+endif()
diff --git a/dist/citra.desktop b/dist/citra.desktop
new file mode 100644
index 000000000..1300d62c2
--- /dev/null
+++ b/dist/citra.desktop
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Citra
+GenericName=3DS Emulator
+GenericName[fr]=Émulateur 3DS
+Comment=Nintendo 3DS video game console emulator
+Comment[fr]=Émulateur de console de jeu Nintendo 3DS
+Icon=citra
+TryExec=citra-qt
+Exec=citra-qt %f
+Categories=Game;Emulator;Qt;
+MimeType=application/x-ctr-3dsx;application/x-ctr-cci;application/x-ctr-cia;application/x-ctr-cxi;
+Keywords=3DS;Nintendo;
diff --git a/dist/citra.svg b/dist/citra.svg
new file mode 100644
index 000000000..7b299cd89
--- /dev/null
+++ b/dist/citra.svg
@@ -0,0 +1,80 @@
+
+
+
diff --git a/dist/citra.xml b/dist/citra.xml
new file mode 100644
index 000000000..bcb9acd87
--- /dev/null
+++ b/dist/citra.xml
@@ -0,0 +1,59 @@
+
+
+
+ 3DS homebrew executable
+ Exécutable 3DS homebrew
+ 3DSX
+
+
+
+
+
+
+ 3DS cartridge image
+ Image de cartouche 3DS
+ CCI
+ CTR Cart Image
+
+
+
+
+
+
+
+ 3DS executable
+ Exécutable 3DS
+ CXI
+ CTR eXecutable Image
+
+
+
+
+
+
+ 3DS importable archive
+ Archive importable 3DS
+ CIA
+ CTR Importable Archive
+
+
+
+
+
+ 3DS icon
+ Icône 3DS
+ SMDH
+ System Menu Data Header
+
+
+
+
+
+ 3DS banner
+ Bannière 3DS
+ CBMD
+ CTR Banner Model Data
+
+
+
+