Commit 6cb31170 authored by Giovanni Panozzo's avatar Giovanni Panozzo

Add desktop MIME type for .remmina files

parent 2a30fa19
......@@ -50,6 +50,7 @@ tags
remmina-plugins/libvncserver/rfb/rfbconfig.h
remmina-plugins/telepathy/org.freedesktop.Telepathy.Client.Remmina.service
remmina/desktop/remmina.desktop
remmina/desktop/remmina-file.desktop
remmina/remmina
remmina/src/remmina
......
......@@ -83,9 +83,15 @@ set(REMMINA_ICON "remmina")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/remmina.desktop.in
${CMAKE_CURRENT_BINARY_DIR}/remmina.desktop @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/remmina-file.desktop.in
${CMAKE_CURRENT_BINARY_DIR}/remmina-file.desktop @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/remmina.desktop
RENAME ${UNIQUE_APPNAME}.desktop
DESTINATION "${REMMINA_DATADIR}/applications")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/remmina-file.desktop
DESTINATION "${REMMINA_DATADIR}/applications")
install(FILES appdata.xml
RENAME ${UNIQUE_APPNAME}.appdata.xml
DESTINATION "${REMMINA_DATADIR}/metainfo")
install(FILES remmina-mime.xml DESTINATION "${REMMINA_DATADIR}/mime/packages")
[Desktop Entry]
Name=Remmina Remote File
Comment=Access remote desktops with Remmina
Exec=@REMMINA_BINARY_PATH@ --connect %U
Icon=@REMMINA_ICON@
Terminal=false
Type=Application
StartupNotify=true
MimeType=application/x-remmina;
NoDisplay=true
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-remmina">
<sub-class-of type="text/plain"/>
<comment>Remote Desktop (Remmina) file</comment>
<glob pattern="*.remmina"/>
</mime-type>
</mime-info>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment