Am Freitag, 7. Februar 2014 um 16:37:56, schrieb José Matos <jama...@lyx.org> > On Friday 07 February 2014 13:52:52 Kornel Benko wrote: > > 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 > > The icons/hicolor/scalable/apps/ directory will be available if the XDG_* > variables are set? >
That was my hope, but it looks like it were not sufficient. Kornel
signature.asc
Description: This is a digitally signed message part.