Helge Hafting wrote: > Georg Baum wrote: >> Helge Hafting wrote: >>> On linux, we know that very well. The viewer is specified in >>> .lyx/prefences, a file created and maintained by lyx. >>> >> >> This will be changed to use a similar mechanism as on windows and OS X. >> Then we do not know it on linux either. >> > How?
With xdg-utils: http://portland.freedesktop.org/wiki/Portland Since you are using debian unstable IIRC you are already using xdg-utils with LyX. Debin ships with a modified configure script. > Linux doesn't have a "execute the system viewer for this file" > call. Perhaps some of the graphical file managers have that though, > but are LyX going to depend on one particular of those? We are not going to depend on any of these. xdg-utils finds out what to use for us. > Remember - many people don't use a GUI file manager with > linux, because the command line facilities for file management > are so good. (Yes, we use a GUI web browser, and many other > GUI things, but not a file manager for that is a waste of time.) > > And people who use lyx for its speed and smallness > are often the people who avoid gnome/kde too. > > Where in linux do you find a "view this file" call then? See above. Don't panic, we are not going to depend on gnome or kde. People who don't use gnome or kde can configure the preferred applications with xdg-utils instead of LyX in the future, or they can configure them in LyX like it is now. People who use one of the desktop environments know by xdg-utils will not need to configure anything. Georg
