> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
Georg> Using mimetypes for formats is something that should happen
Georg> anyway. We would simply add the mime type as a format property.
Georg> That would also make the kde-specific code more simple, and I
Georg> guess it couldd be useful fo
Jean-Marc Lasgouttes wrote:
>> "José" == José Matos <[EMAIL PROTECTED]> writes:
>
> José> On Sunday 13 August 2006 21:39, Jean-Marc Lasgouttes wrote:
>>> Of course, what is missing here is the possibility of knowing
>>> whether a format is handled. This is done by xdg-mime (except that
>>> we
> "José" == José Matos <[EMAIL PROTECTED]> writes:
José> Fair enough, I will leave this into yours and George's
José> competent hands. ;-)
So you are at it again :)
JMarc
On Sunday 13 August 2006 22:38, Jean-Marc Lasgouttes wrote:
> Well I'd rather bind to a proper library, but it seems that
> the libray from the xdg people is not yet up to this. Georg had some
> kde specific code, but it means linking against the full KDE shebang.
>
> So I do not propose much for n
> "José" == José Matos <[EMAIL PROTECTED]> writes:
José> On Sunday 13 August 2006 21:39, Jean-Marc Lasgouttes wrote:
>> Of course, what is missing here is the possibility of knowing
>> whether a format is handled. This is done by xdg-mime (except that
>> we do not have mime types for formats (
On Sunday 13 August 2006 21:39, Jean-Marc Lasgouttes wrote:
> Of course, what is missing here is the possibility of knowing whether
> a format is handled. This is done by xdg-mime (except that we do not
> have mime types for formats (but we should).
How do you propose to do this?
> JMarc
--
J
> "José" == José Matos <[EMAIL PROTECTED]> writes:
José> and the package (small)
José> http://portland.freedesktop.org/download/xdg-utils-1.0beta3.tgz
So basically, the script detects desktop environment like this:
detectDE()
{
if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
elif
On Sunday 13 August 2006 20:34, Jean-Marc Lasgouttes wrote:
>
> But not my mandriva 2006. Could you send the xdg-open script, so that
> we can see what it does?
The page http://portland.freedesktop.org/wiki/
and the package (small)
http://portland.freedesktop.org/download/xdg-utils-1.0beta3.tgz
Am Sonntag, 13. August 2006 21:34 schrieb Jean-Marc Lasgouttes:
> But not my mandriva 2006. Could you send the xdg-open script, so that
> we can see what it does?
You can get it from here: http://portland.freedesktop.org/wiki/
Georg
> "José" == José Matos <[EMAIL PROTECTED]> writes:
José> On Friday 11 August 2006 15:07, Per Olofsson wrote:
>> xdg-open is a shell script which you can distribute together with
>> LyX, so it doesn't have to be widespread. You use it like:
>>
>> PATH=$PATH:/usr/share/lyx/xdg-utils xdg-open /s
On Friday 11 August 2006 15:07, Per Olofsson wrote:
> xdg-open is a shell script which you can distribute together with LyX,
> so it doesn't have to be widespread. You use it like:
>
> PATH=$PATH:/usr/share/lyx/xdg-utils
> xdg-open /some/path
>
> So if the distribution already has xdg-open, that on
Jean-Marc Lasgouttes:
> > "Per" == Per Olofsson <[EMAIL PROTECTED]> writes:
>
> Per> Jean-Marc Lasgouttes:
> >> What about that: mkdir /tmp/tempuserdir lyx -userdir
> >> /tmp/tempuserdir -e latex foo.lyx rm -rf /tmp/tempuserdir
>
> Per> Yes, I think that's an acceptable workaround.
>
> Could
> "Per" == Per Olofsson <[EMAIL PROTECTED]> writes:
Per> Jean-Marc Lasgouttes:
>> What about that: mkdir /tmp/tempuserdir lyx -userdir
>> /tmp/tempuserdir -e latex foo.lyx rm -rf /tmp/tempuserdir
Per> Yes, I think that's an acceptable workaround.
Could you confirm that the patch I sent fits
Jean-Marc Lasgouttes:
> What about that:
> mkdir /tmp/tempuserdir
> lyx -userdir /tmp/tempuserdir -e latex foo.lyx
> rm -rf /tmp/tempuserdir
Yes, I think that's an acceptable workaround.
> Per> The best would be if configure.py was removed completely and
> Per> everything was detected at runtime
> "Per" == Per Olofsson <[EMAIL PROTECTED]> writes:
Per> Jean-Marc Lasgouttes:
>> Thanks for the explanations. Could you try to see whether the patch
>> I sent will fix the problem? I believe it should create a .lyx
>> directory in root home directory and work correctly from there.
>>
>> Is i
Jean-Marc Lasgouttes:
> Thanks for the explanations. Could you try to see whether the patch I
> sent will fix the problem? I believe it should create a .lyx directory
> in root home directory and work correctly from there.
>
> Is it an acceptable solution?
It's the correct fix, yes, but I don't
> "Sven" == Sven Hoexter <[EMAIL PROTECTED]> writes:
Sven> On Wed, Aug 09, 2006 at 01:03:43PM +0200, Jean-Marc Lasgouttes
Sven> wrote: Hello Jean-Marc, hello *,
>> There is no reason why we should not reconfigure in batch mode.
>>
>> Comments? I plan to apply soon.
Sven> Ok I'll comment a li
On Wed, Aug 09, 2006 at 01:03:43PM +0200, Jean-Marc Lasgouttes wrote:
Hello Jean-Marc, hello *,
> There is no reason why we should not reconfigure in batch mode.
>
> Comments? I plan to apply soon.
Ok I'll comment a little bit about how this issue was found and what problems
might be related.
S
There is no reason why we should not reconfigure in batch mode.
Comments? I plan to apply soon.
JMarc
Index: src/lyx_main.C
===
--- src/lyx_main.C (revision 14576)
+++ src/lyx_main.C (working copy)
@@ -458,12 +458,12 @@ void LyX::i
19 matches
Mail list logo