Am Mittwoch, 5. Februar 2014 um 16:21:44, schrieb Kornel Benko <kor...@lyx.org> > On ubuntu the value of XDG_DATA_DIRS is: > /usr/share/gnome-classic:/usr/share/gnome:/usr/local/share/:/usr/share/ > (I have ATM gnome session) > If given env(XDG_DATA_DIRS) > We could check the lyx installation directory, and compare if it fits > into some path > from XDG_DATA_DIRS ending with /share/. > (In this case /usr/local/ or /usr/) > Use that path to form e.g. > /usr/local/share/icons/hicolor/scalable/apps/lyx2.1.svg > > I try to create a cmake script for it. > else > install as ever >
Sorry, I seem to be unable to grasp the logic behind hicolor/icon.theme, hicolor/scalable/apps/lyx2.1.svg, lyx2.1.desktop. So no input from me. Kornel
signature.asc
Description: This is a digitally signed message part.