Browse Source

Added .desktop file. Ubuntu menues should work decently now, although key-bindings are not updated from within juci (Ubuntu bug).

merge-requests/365/head
Ole 10 years ago
parent
commit
d49e6fe040
  1. 5
      CMakeLists.txt
  2. 9
      share/juci.desktop

5
CMakeLists.txt

@ -8,3 +8,8 @@ set(project_name juci)
project (${project_name})
add_subdirectory("src")
find_program(XDG_DESKTOP_MENU_EXECUTABLE xdg-desktop-menu)
if(XDG_DESKTOP_MENU_EXECUTABLE)
install(CODE "execute_process(COMMAND ${XDG_DESKTOP_MENU_EXECUTABLE} install --novendor share/juci.desktop)")
endif()

9
share/juci.desktop

@ -0,0 +1,9 @@
[Desktop Entry]
Name=juci
GenericName=juCi++
Comment=A lightweight IDE
Exec=juci %U
Terminal=false
Type=Application
StartupNotify=true
MimeType=text/plain;
Loading…
Cancel
Save