diff --git a/CMakeLists.txt b/CMakeLists.txt index e82e3d50..e8619128 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -450,7 +450,7 @@ endif() # if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/rpm ${CMAKE_BINARY_DIR}/rpm) - install(FILES res/synergy.svg DESTINATION share/icons) + install(FILES res/synergy.svg DESTINATION share/icons/hicolor/scalable/apps) if("${VERSION_MAJOR}" STREQUAL "2") install(FILES res/synergy2.desktop DESTINATION share/applications) else() diff --git a/dist/rpm/synergy.spec.in b/dist/rpm/synergy.spec.in index 9edbb283..7f1c1fe4 100644 --- a/dist/rpm/synergy.spec.in +++ b/dist/rpm/synergy.spec.in @@ -20,7 +20,7 @@ Work seamlessly across Windows, macOS and Linux. %{_bindir}/synergys %{_bindir}/syntool %attr(644,-,-) %{_datarootdir}/applications/synergy.desktop -%attr(644,-,-) %{_datarootdir}/icons/synergy.svg +%attr(644,-,-) %{_datarootdir}/icons/hicolor/scalable/apps/synergy.svg %changelog * Wed Apr 26 2017 Symless diff --git a/res/synergy.desktop b/res/synergy.desktop index 35bc376e..fa987bdf 100644 --- a/res/synergy.desktop +++ b/res/synergy.desktop @@ -5,7 +5,7 @@ Name=Synergy Comment=Keyboard and mouse sharing solution Path=/usr/bin Exec=/usr/bin/synergy -Icon=/usr/share/icons/synergy.svg +Icon=synergy Terminal=false Categories=Utility; Keywords=keyboard;mouse;sharing;network;share; diff --git a/res/synergy2.desktop b/res/synergy2.desktop index d2cf474c..1a4c4948 100644 --- a/res/synergy2.desktop +++ b/res/synergy2.desktop @@ -5,7 +5,7 @@ Name=Synergy Comment=Keyboard and mouse sharing solution Path=/usr/bin Exec=/usr/bin/synergy2 -Icon=/usr/share/icons/synergy.svg +Icon=synergy Terminal=false Categories=Utility; Keywords=keyboard;mouse;sharing;network;share;