Commit 0c6a260e authored by Antenore Gatta's avatar Antenore Gatta

Kiosk mode data updates and xsession

parent 28a24ca0
......@@ -114,6 +114,7 @@ message(STATUS "Git Revision: ${REMMINA_GIT_REVISION}")
# REMMINA_APP_ID should follow Gnome Application ID rules
set(REMMINA_APP_ID "org.remmina.Remmina")
set(REMMINA_KIOSK_APP_ID "org.kiosk.remmina.Remmina")
if(NOT REMMINA_DATADIR)
set(REMMINA_DATADIR "${CMAKE_INSTALL_FULL_DATADIR}")
......
......@@ -88,10 +88,14 @@ set(REMMINA_BINARY_PATH ${CMAKE_INSTALL_FULL_BINDIR}/remmina)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${REMMINA_APP_ID}.desktop.in
${CMAKE_CURRENT_BINARY_DIR}/${REMMINA_APP_ID}.desktop @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${REMMINA_KIOSK_APP_ID}.desktop.in
${CMAKE_CURRENT_BINARY_DIR}/${REMMINA_KIOSK_APP_ID}.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_APP_ID}.desktop
DESTINATION "${REMMINA_DATADIR}/applications")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${REMMINA_KIOSK_APP_ID}.desktop
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/xsessions/)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/remmina-file.desktop
DESTINATION "${REMMINA_DATADIR}/applications")
install(FILES ${REMMINA_APP_ID}.appdata.xml
......
......@@ -71,7 +71,7 @@ Icon=@REMMINA_ICON@
Terminal=false
Type=Application
Categories=GTK;GNOME;X-GNOME-NetworkSettings;Network;
Actions=Profile;Tray;Quit;
Actions=Kiosk;Profile;Tray;Quit;
Keywords=remote desktop;rdp;vnc;nx;ssh;spice;xdmcp;
StartupWMClass=remmina
......
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