General :  K-Meleon Forum
General discussion about K-Meleon. 
Pages: Previous123
Current Page: 3 of 3
Re: Java Script On/Off button?
Posted by: Fred
Date: May 10, 2010 06:03AM

I tried the wine version of Ubuntu Lucid 10.4 which
was newer than what I usually use, but the effect was,
that mailto does not work either and it does not
even open Firefox for mailto.
The structure of the wine configuration is different,
with a folder /users in .wine/drive_c , which was not
there in my older wine version.
It could be difficult to include wine as a fake windows,
if the structure of wine is changed continuously.
What is the wine version that you use ?
Maybe the mailto command is not working the same way
in different versions.
I sticked to a version that worked satisfactorily at the time
because newer is not always better, but can also
be worse in certain cases.

Fred

Options: ReplyQuote
Re: Java Script On/Off button?
Posted by: JujuLand
Date: May 10, 2010 04:12PM

Quote

Most things work now correctly,

Enfin ...

Quote

... except mailto;
for left click. With all mail-clients :
As long as "Hide the mailto message" is not activated
there is no reaction in all mail clients.
When "Hide the mailto message" is activated, the
default browser Firefox etc opens with a window
to select the mail client, which is then opened.

The mailto error mesage bugs me, and that's why I have introdce this feature.
The way I use to open mail composer on mailto link is now right-click, not left-click.
For me, with left-click, when unchecked, I have the message, and checked, K-Meleon does nothing, and never opens Firefox.
Why would it opens Firefox? I haven't installed Windows Firefox, and in the wine registry, Firefox is unknown. It doesn't open Linux Firefox, there is also no reason.

Quote

I don't know why this does not work for me.

And me, I don't know why your Firefox is called ...

Quote

I have downloaded a fresh copy of KM 1.5.4 .

Me too, on the computer I use know at work, and it works

Quote

For Ubuntu I used Evolution, and I have set the string
user_pref("extensions.tuxhelper.drive.C", "/home/ubuntu/.wine/drive_c");
Does it work for you with Thunderbird ?

The strings like these aren't for mailto purpose, but to help for linux program usage when clicking on a link which must or can open a program, such as doc files, pdf files, .... from within K-Meleon (it uses mimedit feature).

This feature is harder to put in place then the mailto solution I gave. It needs a tool I haven't send. I suppose that you can be interested, and I'll send it. For now it's written with Visual Dialog Script which isn't open, so I want to rewrite it with autoIt3 which is open.

Quote

I tried the wine version of Ubuntu Lucid 10.4 which
was newer than what I usually use, but the effect was,
that mailto does not work either and it does not
even open Firefox for mailto.
The structure of the wine configuration is different,
with a folder /users in .wine/drive_c , which was not
there in my older wine version.
It could be difficult to include wine as a fake windows,
if the structure of wine is changed continuously.
What is the wine version that you use ?

I haven't yet upgrade to Lucid, but I'll do it soon

For wine, the structure is like you find it since a long time.
I'm using 1.2 and I update often without real problems, and I always have improvments.
I'm now using 1.1.43 (which is in fact a 1.2 version) on Ubuntu 9.10 at work and an older 1.1.35 (if I remember) on Ubuntu 8.10 at home (I haven't updated this computer due to a low speed connection).

Quote

Maybe the mailto command is not working the same way
in different versions.

It could perhaps explain why it opens Firefox for you.

Quote

I sticked to a version that worked satisfactorily at the time
because newer is not always better, but can also
be worse in certain cases.

I agree with you, but not this time, because I think this version (1.2) is better than previous, and I notice a better stability of K-Meleon. But it's perhaps also due to Ubuntu, as I don't use the same version on the two computers.

With 9.10, I have less crash due to javascript, and the necessity of the button isn't as obvious as with 8.10 (even, I have had rare crashes under 9.10)

I must say, for wine, that I have had an error message when updating (key problems with launchpad), but it updates correctly.

I don't know for Lucid, I'll see it ...

Quote

I tried also with Icedove, which is the same as
Thunderbird in Debian distros, it is only renamed, and it
did not work for me either.

Yes, there are just small differences between these two mail clients, in fact, icedove is a fork of Thunderbird.

Quote

Besides that, in Kmail the macro for "Send Clipboard content" does not work.

I'm not suprise, due to special syntax ok kmail, and also to possible presence of " characters in the clipboard.

In fact, what it exactly the problem with it ?
Does it works with selected text ?
Can you look for command line (alert).

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:31.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/75.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Re: Java Script On/Off button?
Posted by: Fred
Date: May 11, 2010 04:02AM

@ Jujuland

Send Clipboard, the alert is :

Z:\usr\bin\kmail -s "Clipboard Content" --body "the text in clipboard"

and does not work.

Send Mail for selected text, the alert is :

Z:\usr\bin\kmail -s "Selected text of Title" --body "the selected text"

and does work.
Everything else except left hand click mailto is ok.

Regards

Fred

Options: ReplyQuote
Re: Java Script On/Off button?
Posted by: JujuLand
Date: May 11, 2010 02:13PM

@Fred,

Quote

Everything else except left hand click mailto is ok.

Nice smiling smiley

For left-click, except the Firefox launching with old wine version (and we can consider that it's a 'plus' as it works), the fact that it doesn't work seems normal for me, as I said. Even, I should prefer that it works like it would do.

Quote

Send Clipboard, the alert is :
Z:\usr\bin\kmail -s "Clipboard Content" --body "the text in clipboard"
and does not work.
Send Mail for selected text, the alert is :
Z:\usr\bin\kmail -s "Selected text of Title" --body "the selected text"
and does work.

The only thing which doesn't work seems to be the clipboard send function with kmail.

Can you try again with some different clipboard contents ?
First without LineFeed and " characters to see if it can be the reason.
Secondly try to add, one each time, one of theses characters to fix which can the one who makes the function to fail.

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:31.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/75.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Re: Java Script On/Off button?
Posted by: Fred
Date: May 12, 2010 01:38AM

@ Jujuland

For "Send Clipboard Content" there is a
$separ.
missing.
The line should be :

$_tux==""?open("mailto:?subject="._("Clipboard Content")."&body=".$_body):exec(getpref(STRING,"kmeleon.plugins.macros.mail.mailClient").$compose.$mailto.$subject."\""._("Clipboard Content")."\"".$separ.$body.$separ."\"".$_body."\"");

Fred

Options: ReplyQuote
Re: Java Script On/Off button?
Posted by: Fred
Date: May 12, 2010 02:16AM

P.S.
If you want to test Kmail in a KDE distro, you can use a live iso of Kanotix, which is based on Debian Lenny.
It is the preview Kanotix Excalibur with the size 885 Mb. Download here :

http://debian.tu-bs.de/project/kanotix/preview/kanotix-ooo3-2.6.32.iso

It can be burnt on a DVD (too big for a CD), or put on a USB stick with the following tool (script) for Linux :

http://git.moblin.org/cgit.cgi/moblin-image-creator/plain/image-writer

Fred

Options: ReplyQuote
Re: Java Script On/Off button?
Posted by: JujuLand
Date: May 12, 2010 02:20AM

Quote

For "Send Clipboard Content" there is a $separ missing.

Yes, it was in the alert line and disappeared in the call.

So, can we consider that it's ok ?? Just to do the kml file for translation.

When I have a moment, I'll rewrite the tools with autoIt3

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:31.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/75.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Re: Java Script On/Off button?
Posted by: Fred
Date: May 12, 2010 02:34AM

As far as I see it is OK.
We must have been writing the last post at about the same
time.
It could be useful for you to have a KDE live distro
to use for test purposes for example on a USB stick of
1 Gb. May be you have such a stick which you don't need
anymore, as there are bigger, cheap USB sticks available now.
The preview distro that I mentioned is quite interesting.
Live distros on USB sticks start much faster than from
a CD or DVD.

Fred

Options: ReplyQuote
Re: Java Script On/Off button?
Posted by: JujuLand
Date: May 12, 2010 02:45AM

Thanks,

I'll try it and others when I have a little moment.

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:31.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/75.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Re: Java Script On/Off button?
Posted by: JujuLand
Date: May 12, 2010 03:47AM

I have tried 1.6.0a4 and 1.7.0a, and mailtux works like a charm with the two betas.

Something funny, the two versions are able to keep mailto command into registry.

I had made some tries there is a few time to modify the registry to make mailto registred work, but I fail.

And the version keep the commandline I set. This line was the one I found with Thunderbird Windows under XP:

Z:\usr\bin\thunderbird -osint -compose "%1"

With this line, it doesn't work, and give a message (left-click). After correcting it, it works like with mailux.

As I was looking in registry,

A search for mailto. I found it in 2 places in ROOT

HKCR\CLSID\{3050F3DA-98B5-11CF-BB82-00AA00BDCE0B} and under InProcServer32, I found mshtml.dll

HKCR\Mailto\Shell\open\command I find the command I was talking.

HKCR\PROTOCOLS\Handler\mailto I find {3050F3DA-98B5-11CF-BB82-00AA00BDCE0B}

et la boucle est bouclée ...

I'm not sure, but I now noticed that the parameters are obviously wrong for linux.

- compose ought to be --compose
- osint ought to be --osint (if it exists also in Thunderbird Linux)

I'll try it ...

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:31.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/75.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Pages: Previous123
Current Page: 3 of 3


K-Meleon forum is powered by Phorum.